Jan Engelhardt 2012-01-01 00:14:31 +00:00 committed by Git OBS Bridge
parent aff74e0ce7
commit f39aa6d2bd

View File

@ -1,7 +1,7 @@
#
# spec file for package libnetfilter_log
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -23,11 +23,12 @@ Version: 1.0.0
Release: 1
License: GPL-2.0
Group: Productivity/Networking/Security
URL: http://netfilter.org/projects/libnetfilter_log/
Url: http://netfilter.org/projects/libnetfilter_log/
Source: http://netfilter.org/projects/libnetfilter_log/files/%name-%version.tar.bz2
Source2: baselibs.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: libnfnetlink-devel >= 0.0.41 pkgconfig >= 0.19
BuildRequires: autoconf automake >= 1.6 libtool
BuildRequires: pkgconfig >= 0.23 pkgconfig(libnfnetlink) >= 0.0.41
Summary: Userspace library for accessing logged packets
%description
@ -38,7 +39,6 @@ logging. This library has been previously known as libnfnetlink_log.
%package -n %lname
Group: System/Libraries
PreReq: glibc
Summary: Userspace library for accessing logged packets
%description -n %lname
@ -62,12 +62,15 @@ logging. This library has been previously known as libnfnetlink_log.
%setup -q
%build
if [ ! -e configure ]; then
./autogen.sh;
fi;
%configure --disable-static --includedir=%_includedir/%name-%version
make %{?_smp_mflags}
%install
%makeinstall
find %buildroot -name "*.la" -delete
rm -f "%buildroot/%_libdir"/*.la;
%post -n %lname -p /sbin/ldconfig
@ -75,8 +78,8 @@ find %buildroot -name "*.la" -delete
%files -n %lname
%defattr(-,root,root)
%_libdir/libnetfilter_log.so.*
%_libdir/libnetfilter_log_libipulog.so.*
%_libdir/libnetfilter_log.so.1*
%_libdir/libnetfilter_log_libipulog.so.1*
%files devel
%defattr(-,root,root)