File dba-graylog2-server-110.spec of Package dba-graylog2-server-110

%define real_name 	graylog2-server
%define version		1.1.0
%define vers		110
%define prefix		/DBA/%{real_name}/%{version}
%define _binaries_in_noarch_packages_terminate_build 0

Name:           dba-%{real_name}-%{vers}
Summary:        Graylog2 log management solution version 1.1.0
Version:        %{version}
Release:        1
AutoReqProv:    on
License:        BSD
Group:          Applications/Searchengines
Source2:        graylog2-rpmlintrc
Buildarch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

# needed for brp-check-bytecode-version (jar, fastjar would do as well)
BuildRequires:          unzip

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

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.

%setup -q -n graylog-%{version}


# suppress bytecode version error
%if 0%{?suse_version} >= 1100

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

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

%{__rm} -rf %{buildroot}

%dir %{prefix}

* Fri Jun  5 2015 Holger Manthey <>
- inital version