LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File dba-graylog2-server-096p1.spec of Package dba-graylog2-server-096p1 (Project home:csbuild:DBA)

%define real_name 	graylog2-server
%define version		0.9.6p1
%define vers		096p1
%define prefix		/DBA/%{real_name}/%{version}


Name:           dba-%{real_name}-%{vers}
Summary:        Graylog2 is an log management solution that stores your logs in ElasticSearch.
Version:        %{version}
Release:        1
AutoReqProv:    on
License:        BSD
Group:          Applications/Searchengines
URL:            http://www.graylog2.org
Source:         https://github.com/downloads/Graylog2/graylog2-server/%{real_name}-%{version}.tar.gz
Buildarch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%if 0%{?suse_version} >= 1100
BuildRequires:  -post-build-checks
%endif


%description
Graylog2 is an open source log management solution that stores your logs in ElasticSearch. It consists of a server written in Java that accepts your syslog messages via TCP, UDP or AMQP and stores it in the database. The second part is a web interface that allows you to manage the log messages from your web browser.


%prep
%setup -q -n %{real_name}-%{version}


%build


%install
%{__mkdir_p} %{buildroot}%{prefix}
%{__cp} -av ./* %{buildroot}%{prefix}/


%post
cd %{prefix}/..
%{__ln_s} -f %{version} 0.latest


%clean
%{__rm} -rf %{buildroot}


%files
%defattr(-,root,root)
%dir %{prefix}
%{prefix}


%changelog
* Fri Oct 26 2012 Holger Manthey <holger.manthey@bertelsmann.de>
- inital version