2010-03-15 11:25:02 +01:00
|
|
|
#
|
2011-12-29 22:26:31 +01:00
|
|
|
# spec file for package libnetfilter_log
|
2010-03-15 11:25:02 +01:00
|
|
|
#
|
2012-01-01 01:14:31 +01:00
|
|
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2010-03-15 11:25:02 +01:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2011-12-29 22:26:31 +01:00
|
|
|
|
2010-03-15 11:25:02 +01:00
|
|
|
|
|
|
|
Name: libnetfilter_log
|
2011-08-01 20:52:48 +02:00
|
|
|
%define lname %{name}1
|
2012-01-02 22:18:22 +01:00
|
|
|
Version: 1.0.1
|
2010-03-15 11:25:02 +01:00
|
|
|
Release: 1
|
2011-12-29 22:26:31 +01:00
|
|
|
License: GPL-2.0
|
2010-03-15 11:25:02 +01:00
|
|
|
Group: Productivity/Networking/Security
|
2012-01-01 01:14:31 +01:00
|
|
|
Url: http://netfilter.org/projects/libnetfilter_log/
|
2012-01-02 22:18:22 +01:00
|
|
|
Source: ftp://ftp.netfilter.org/pub/libnetfilter_log/%name-%version.tar.bz2
|
|
|
|
Source2: ftp://ftp.netfilter.org/pub/libnetfilter_log/%name-%version.tar.bz2.sig
|
|
|
|
Source3: baselibs.conf
|
2011-12-29 22:26:31 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2012-01-01 01:14:31 +01:00
|
|
|
BuildRequires: autoconf automake >= 1.6 libtool
|
|
|
|
BuildRequires: pkgconfig >= 0.23 pkgconfig(libnfnetlink) >= 0.0.41
|
2010-03-15 11:25:02 +01:00
|
|
|
Summary: Userspace library for accessing logged packets
|
|
|
|
|
|
|
|
%description
|
|
|
|
libnetfilter_log is a userspace library providing interface to
|
|
|
|
packets that have been logged by the kernel packet filter. It is is
|
|
|
|
part of a system that deprecates the old syslog/dmesg based packet
|
|
|
|
logging. This library has been previously known as libnfnetlink_log.
|
|
|
|
|
2011-08-01 20:52:48 +02:00
|
|
|
%package -n %lname
|
2010-03-15 11:25:02 +01:00
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Userspace library for accessing logged packets
|
|
|
|
|
2011-08-01 20:52:48 +02:00
|
|
|
%description -n %lname
|
2010-03-15 11:25:02 +01:00
|
|
|
libnetfilter_log is a userspace library providing interface to
|
|
|
|
packets that have been logged by the kernel packet filter. It is is
|
|
|
|
part of a system that deprecates the old syslog/dmesg based packet
|
|
|
|
logging. This library has been previously known as libnfnetlink_log.
|
|
|
|
|
2011-08-01 20:52:48 +02:00
|
|
|
%package devel
|
2010-03-15 11:25:02 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2011-08-01 20:52:57 +02:00
|
|
|
Requires: %lname = %version, libnfnetlink-devel
|
2010-03-15 11:25:02 +01:00
|
|
|
Summary: Userspace library for accessing logged packets
|
|
|
|
|
2011-08-01 20:52:48 +02:00
|
|
|
%description devel
|
2010-03-15 11:25:02 +01:00
|
|
|
libnetfilter_log is a userspace library providing interface to
|
|
|
|
packets that have been logged by the kernel packet filter. It is is
|
|
|
|
part of a system that deprecates the old syslog/dmesg based packet
|
|
|
|
logging. This library has been previously known as libnfnetlink_log.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2012-01-01 01:14:31 +01:00
|
|
|
if [ ! -e configure ]; then
|
|
|
|
./autogen.sh;
|
|
|
|
fi;
|
2011-12-29 22:26:31 +01:00
|
|
|
%configure --disable-static --includedir=%_includedir/%name-%version
|
2011-08-01 20:52:48 +02:00
|
|
|
make %{?_smp_mflags}
|
2010-03-15 11:25:02 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
%makeinstall
|
2012-01-01 01:14:31 +01:00
|
|
|
rm -f "%buildroot/%_libdir"/*.la;
|
2010-03-15 11:25:02 +01:00
|
|
|
|
2011-08-01 20:52:48 +02:00
|
|
|
%post -n %lname -p /sbin/ldconfig
|
2010-03-15 11:25:02 +01:00
|
|
|
|
2011-08-01 20:52:48 +02:00
|
|
|
%postun -n %lname -p /sbin/ldconfig
|
2010-03-15 11:25:02 +01:00
|
|
|
|
2011-08-01 20:52:48 +02:00
|
|
|
%files -n %lname
|
2010-03-15 11:25:02 +01:00
|
|
|
%defattr(-,root,root)
|
2012-01-01 01:14:31 +01:00
|
|
|
%_libdir/libnetfilter_log.so.1*
|
|
|
|
%_libdir/libnetfilter_log_libipulog.so.1*
|
2010-03-15 11:25:02 +01:00
|
|
|
|
2011-08-01 20:52:48 +02:00
|
|
|
%files devel
|
2010-03-15 11:25:02 +01:00
|
|
|
%defattr(-,root,root)
|
2011-12-29 22:26:31 +01:00
|
|
|
%_includedir/libnetfilter_log*
|
2011-08-01 20:52:57 +02:00
|
|
|
%_libdir/libnetfilter_log.so
|
|
|
|
%_libdir/libnetfilter_log_libipulog.so
|
|
|
|
%_libdir/pkgconfig/libnetfilter_log.pc
|
2010-03-15 11:25:02 +01:00
|
|
|
|
|
|
|
%changelog
|