File nfacct.spec of Package nfacct

#
# spec file for package nfacct
#
# Copyright (c) 2013 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.1
Release:        0
Summary:        Netfilter Extended Accounting utility
License:        GPL-2.0+
Group:          Productivity/Networking/Security
Url:            http://netfilter.org/

#Freecode-URL:	http://freecode.com/projects/nfacct/
#Git-Web:	http://git.netfilter.org/
#Git-Clone:	git://git.netfilter.org/nfacct
#DL-URL:	http://netfilter.org/projects/nfacct/files/
Source:         http://netfilter.org/projects/nfacct/files/%name-%version.tar.bz2
Source2:        http://netfilter.org/projects/nfacct/files/%name-%version.tar.bz2.sig
Source3:        %name.keyring
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
#git#BuildRequires:  autoconf, automake >= 1.6, libtool
BuildRequires:  pkgconfig >= 0.21
%if 0%{?suse_version} >= 1140 || 0%{?fedora_version}
BuildRequires:  pkgconfig(libmnl) >= 1.0.0
BuildRequires:  pkgconfig(libnetfilter_acct) >= 1.0.2
%else
BuildRequires:  libmnl-devel >= 1.0.0
BuildRequires:  libnetfilter_acct-devel >= 1.0.2
%endif
%if 0%{?suse_version} >= 1230
BuildRequires:  gpg-offline
%endif

%description
This utility allows you to manipulate the extended accounting
infrastructure.

%prep
%if 0%{?gpg_verify:1}
%gpg_verify %{S:2}
%endif
%setup -q

%build
%configure
make %{?_smp_mflags};

%install
make install DESTDIR="%buildroot";

%files
%defattr(-,root,root)
%_sbindir/nfacct
%_mandir/man*/nfacct*

%changelog
openSUSE Build Service is sponsored by