nfacct/nfacct.spec

67 lines
1.7 KiB
RPMSpec
Raw Normal View History

#
# spec file for package nfacct
#
# 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
# 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/
#
Name: nfacct
Version: 1.0.0
Release: 0
Summary: Netfilter Extended Accounting utility
License: GPL-2.0+
Group: Productivity/Networking/Security
#Git-Web: http://git.netfilter.org/
#Git-Clone: git://git.netfilter.org/nfacct
Source: %name-%version.tar.bz2
Source2: %name-%version.tar.bz2.sig
Url: http://netfilter.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: autoconf
BuildRequires: automake >= 1.6
BuildRequires: libtool
BuildRequires: pkgconfig >= 0.21
BuildRequires: pkgconfig(libmnl) >= 1
BuildRequires: pkgconfig(libnetfilter_acct) >= 1.0.0
%description
This utility allows you to manipulate the 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
autoreconf -fi;
fi;
%configure
make %{?_smp_mflags}
%install
%makeinstall
%files
%defattr(-,root,root)
%_sbindir/nfacct
%_mandir/man*/nfacct*
%changelog