Jan Engelhardt 2012-03-27 14:09:09 +00:00 committed by Git OBS Bridge
parent e2d1f1e622
commit cd572e5025
5 changed files with 34 additions and 16 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c5731e4bdb2cf62e92c1b166ce78f10ade3708124e7679855c9c485bcdf0b90d
size 18064

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:567ede1f54fbf2ffd752203ea3aea6f430244fb29bd943af58d1d0f4b1796dc9
size 282380

Binary file not shown.

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue Mar 27 13:55:31 UTC 2012 - jengelh@medozas.de
- Update to new upstream release 1.0.0
* nfacct: change prototype of nfacct_snprintf() to support output
in XML
* nfacct: check if attribute is set in nfacct_attr_get*
-------------------------------------------------------------------
Thu Dec 29 21:28:40 UTC 2011 - jengelh@medozas.de

View File

@ -1,7 +1,7 @@
#
# spec file for package libnetfilter_acct
#
# 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
@ -15,43 +15,53 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: libnetfilter_acct
%define lname %{name}0
Version: 0.0.0.26
Release: 1
%define lname %{name}1
Version: 1.0.0
Release: 0
Url: http://netfilter.org/projects/libnetfilter_acct/
Source: %name-%version.tar.bz2
Source2: %name-%version.tar.bz2.sig
Source3: baselibs.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: autoconf
BuildRequires: automake >= 1.6
BuildRequires: libtool
BuildRequires: pkgconfig >= 0.21
BuildRequires: pkgconfig(libmnl) >= 1.0.0
Summary: Userspace library for the in-kernel Netfilter counters
License: LGPL-2.1+
Group: Productivity/Networking/Security
URL: http://netfilter.org/projects/libnetfilter_acct/
Source: %name-%version.tar.xz
Source3: baselibs.conf
BuildRoot: %_tmppath/%name-%version-build
BuildRequires: autoconf, automake >= 1.6, libtool
BuildRequires: pkgconfig >= 0.23, pkgconfig(libmnl) >= 1.0.0, xz
Summary: Userspace library for the in-kernel Netfilter counters
%description
This library provides the programming interface (API) to the
Netfilter extended accounting infrastructure.
%package -n %lname
Group: System/Libraries
Summary: Userspace library for the in-kernel Netfilter counters
Group: System/Libraries
%description -n %lname
This library provides the programming interface (API) to the
Netfilter extended accounting infrastructure.
%package devel
Group: Development/Libraries/C and C++
Requires: %lname = %version
Summary: Userspace library for the in-kernel Netfilter counters
Group: Development/Libraries/C and C++
%description devel
This library provides the programming interface (API) to the
Netfilter extended accounting infrastructure.
%prep
%if 0%{?__xz:1}
%setup -q
%else
tar -xf "%{S:0}" --use=bzip2;
%setup -DTq
%endif
%build
if [ ! -e configure ]; then