Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:csbuild:DBA
dba-nxlog-ce-271191
dba-nxlog-ce-271191.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dba-nxlog-ce-271191.spec of Package dba-nxlog-ce-271191
%define real_name nxlog-ce %define prefix /DBA/%{real_name}/%{version} %define vers 271191 %define maketest 0 %define dba_dbi 1 %define with_dbapcre 0 Name: dba-%{real_name}-%{vers} Summary: nxlog is a modular, multi-threaded, high-performance log management solution Version: 2.7.1191 Release: 1 License: NXLog Public License Group: System Environment/Daemons Source: nxlog-ce-%{version}.tar.gz Vendor: nxsec.com URL: http://nxlog.org BuildRoot: %{_tmppath}/%{name}-root %if 0%{?suse_version} >= 1100 BuildRequires: -post-build-checks %endif BuildRequires: openssl-devel gcc libtool glibc-devel %if %{?suse_version:1}0 BuildRequires: libapr-util1-devel libapr1-devel libpcap-devel libexpat-devel Requires: libapr-util1 libapr1 libexpat %else BuildRequires: apr-util-devel apr-devel expat-devel Requires: apr-util apr expat %endif %if 0%{?rhel_version} == 406 %define with_dbapcre 1 %else BuildRequires: pcre-devel %endif %if %{with_dbapcre} BuildRequires: dba-pcre-833-static %define pcrepath /DBA/pcre/8.33 %endif %if %{dba_dbi} BuildRequires: dba-libdbi-090-static %define dbidir /DBA/libdbi/0.9.0 %else # BuildRequires: libdbi-devel %endif %description NXLOG is a universal log collector and forwarder supporting different platforms, log sources and protocols (Syslog, Windows EventLog, Graylog2 GELF, XML, JSON, CSV and more). %prep %setup -q -n %{real_name}-%{version} %build %if %{dba_dbi} CFLAGS="$CFLAGS -I%{dbidir}/include" LDFLAGS="$LDFLAGS -L%{dbidir}/lib -ldbi" %endif %if %{with_dbapcre} CFLAGS="$CFLAGS -I%{pcrepath}/include" LDFLAGS="$LDFLAGS -L%{pcrepath}/lib -lpcre -lssl -lcrypto" export PCRECONFIG=%{pcrepath}/bin/pcre-config %endif export CFLAGS export LDFLAGS ./configure $(EXTRA_CONFIGURE_OPTIONS) \ --prefix=%{prefix} \ %if %{with_dbapcre} --with-pcre=%{pcrepath} %else --with-pcre %endif %{__make} %{?_smp_mflags} %install %{__make} DESTDIR=$RPM_BUILD_ROOT install find %{buildroot}%{prefix} -name "*.old" -o -name "*.la" -o -name "*.a" |xargs -i rm -vf {} if [ -e %{buildroot}/usr/lib*/perl* ]; then mkdir -p %{buildroot}%{prefix}/perl/Log find %{buildroot}/usr/lib*/perl* -type f -exec %__mv -v {} %{buildroot}%{prefix}/perl/Log/ \; fi %{__mkdir_p} %{buildroot}%{prefix}/etc install -Dm0644 doc/reference-manual/config-examples/common.conf %{buildroot}/%{prefix}/etc/nxlog.conf strip %{buildroot}%{prefix}/bin/* strip %{buildroot}%{prefix}/libexec/nxlog/modules/*/*.so %{__rm} -rfv %{buildroot}/usr %check %if %maketest %{__make} check %endif %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root) %dir %{prefix} %{prefix}/* %changelog * Tue Mar 18 2014 Holger Manthey <holger.manthey@bertelsmann.de> - add require apr libs * Mon Mar 10 2014 Holger Manthey <holger.manthey@bertelsmann.de> - initial package
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor