Jan Engelhardt 2011-12-29 21:26:31 +00:00 committed by Git OBS Bridge
parent 38ab68002b
commit aff74e0ce7
2 changed files with 14 additions and 10 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Dec 29 21:25:32 UTC 2011 - jengelh@medozas.de
- Use SPDX format for License: tag
- Use separate include directory to detect compile errors
-------------------------------------------------------------------
Fri Jul 16 10:51:21 UTC 2010 - jengelh@medozas.de

View File

@ -1,7 +1,7 @@
#
# spec file for package libnetfilter_log (Version 1.0.0)
# spec file for package libnetfilter_log
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2011 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
@ -15,19 +15,19 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: libnetfilter_log
%define lname %{name}1
Version: 1.0.0
Release: 1
License: GNU GPL v2
License: GPL-2.0
Group: Productivity/Networking/Security
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
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: libnfnetlink-devel >= 0.0.41 pkgconfig >= 0.19
Summary: Userspace library for accessing logged packets
%description
@ -36,8 +36,6 @@ 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.
%define debug_package_requires %lname = %version-%release
%package -n %lname
Group: System/Libraries
PreReq: glibc
@ -64,7 +62,7 @@ logging. This library has been previously known as libnfnetlink_log.
%setup -q
%build
%configure --disable-static
%configure --disable-static --includedir=%_includedir/%name-%version
make %{?_smp_mflags}
%install
@ -82,7 +80,7 @@ find %buildroot -name "*.la" -delete
%files devel
%defattr(-,root,root)
%_includedir/libnetfilter_log
%_includedir/libnetfilter_log*
%_libdir/libnetfilter_log.so
%_libdir/libnetfilter_log_libipulog.so
%_libdir/pkgconfig/libnetfilter_log.pc