Enable builds for RHEL/SLES

OBS-URL: https://build.opensuse.org/package/show/security:netfilter/libnetfilter_log?expand=0&rev=17
This commit is contained in:
Jan Engelhardt 2012-06-30 00:04:30 +00:00 committed by Git OBS Bridge
parent 7264cdcec6
commit ba22fb0f7e

View File

@ -16,21 +16,28 @@
#
Name: libnetfilter_log
%define lname %{name}1
Version: 1.0.1
Release: 1
Release: 0
Summary: Userspace library for accessing logged packets
License: GPL-2.0
Group: Productivity/Networking/Security
Url: http://netfilter.org/projects/libnetfilter_log/
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
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: autoconf automake >= 1.6 libtool
BuildRequires: pkgconfig >= 0.23 pkgconfig(libnfnetlink) >= 0.0.41
Summary: Userspace library for accessing logged packets
BuildRequires: autoconf
BuildRequires: automake >= 1.6
BuildRequires: libtool
BuildRequires: pkgconfig >= 0.21
%if 0%{?suse_version} >= 1210
BuildRequires: pkgconfig(libnfnetlink) >= 0.0.41
%else
BuildRequires: libnfnetlink-devel >= 0.0.41
%endif
%description
libnetfilter_log is a userspace library providing interface to
@ -39,8 +46,8 @@ part of a system that deprecates the old syslog/dmesg based packet
logging. This library has been previously known as libnfnetlink_log.
%package -n %lname
Group: System/Libraries
Summary: Userspace library for accessing logged packets
Group: System/Libraries
%description -n %lname
libnetfilter_log is a userspace library providing interface to
@ -49,9 +56,10 @@ part of a system that deprecates the old syslog/dmesg based packet
logging. This library has been previously known as libnfnetlink_log.
%package devel
Group: Development/Libraries/C and C++
Requires: %lname = %version, libnfnetlink-devel
Requires: %lname = %version
Requires: libnfnetlink-devel
Summary: Userspace library for accessing logged packets
Group: Development/Libraries/C and C++
%description devel
libnetfilter_log is a userspace library providing interface to