2012-01-01 00:20:02 +00:00
|
|
|
#
|
|
|
|
# spec file for package nfacct
|
|
|
|
#
|
2012-03-27 14:38:32 +00:00
|
|
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2012-01-01 00:20:02 +00: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/
|
|
|
|
#
|
2012-03-27 14:38:32 +00:00
|
|
|
|
|
|
|
|
2012-01-01 00:20:02 +00:00
|
|
|
Name: nfacct
|
2012-03-14 11:18:57 +00:00
|
|
|
Version: 1.0.0
|
2012-01-01 00:20:02 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: Netfilter Extended Accounting utility
|
2012-03-14 11:18:57 +00:00
|
|
|
License: GPL-2.0+
|
|
|
|
Group: Productivity/Networking/Security
|
2012-01-01 00:20:02 +00:00
|
|
|
|
|
|
|
#Git-Web: http://git.netfilter.org/
|
2012-03-14 11:18:57 +00:00
|
|
|
#Git-Clone: git://git.netfilter.org/nfacct
|
2012-03-27 14:38:32 +00:00
|
|
|
Source: %name-%version.tar.bz2
|
|
|
|
Source2: %name-%version.tar.bz2.sig
|
|
|
|
Url: http://netfilter.org/
|
2012-01-01 00:20:02 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2012-03-27 14:38:32 +00:00
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake >= 1.6
|
|
|
|
BuildRequires: libtool
|
|
|
|
BuildRequires: pkgconfig >= 0.21
|
|
|
|
BuildRequires: pkgconfig(libmnl) >= 1
|
|
|
|
BuildRequires: pkgconfig(libnetfilter_acct) >= 1.0.0
|
2012-01-01 00:20:02 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
This utility allows you to manipulate the extended accounting
|
|
|
|
infrastructure.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%if 0%{?__xz:1}
|
2012-03-27 14:38:32 +00:00
|
|
|
%setup -q
|
2012-01-01 00:20:02 +00:00
|
|
|
%else
|
2012-03-27 14:38:32 +00:00
|
|
|
tar -xf "%{S:0}" --use=bzip2;
|
|
|
|
%setup -DTq
|
2012-01-01 00:20:02 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%build
|
|
|
|
if [ ! -e configure ]; then
|
2012-01-01 01:56:08 +00:00
|
|
|
autoreconf -fi;
|
|
|
|
fi;
|
2012-01-01 00:20:02 +00:00
|
|
|
%configure
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2012-01-01 01:56:08 +00:00
|
|
|
%_sbindir/nfacct
|
|
|
|
%_mandir/man*/nfacct*
|
2012-01-01 00:20:02 +00:00
|
|
|
|
|
|
|
%changelog
|