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-06-30 19:58:46 +00:00
|
|
|
Url: http://netfilter.org/
|
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
|
2012-01-01 00:20:02 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2012-06-30 19:58:46 +00:00
|
|
|
#git#BuildRequires: autoconf, automake >= 1.6, libtool
|
2012-03-27 14:38:32 +00:00
|
|
|
BuildRequires: pkgconfig >= 0.21
|
2012-06-30 19:58:46 +00:00
|
|
|
%if 0%{?suse_version} >= 1140 || 0%{?fedora_version}
|
|
|
|
BuildRequires: pkgconfig(libmnl) >= 1.0.0
|
2012-03-27 14:38:32 +00:00
|
|
|
BuildRequires: pkgconfig(libnetfilter_acct) >= 1.0.0
|
2012-06-30 19:58:46 +00:00
|
|
|
%else
|
|
|
|
BuildRequires: libmnl-devel >= 1.0.0
|
|
|
|
BuildRequires: libnetfilter_acct-devel >= 1.0.0
|
|
|
|
%endif
|
2012-12-03 22:06:35 +00:00
|
|
|
%if 0%{?suse_version} >= 1230
|
|
|
|
BuildRequires: gpg-offline
|
|
|
|
%endif
|
2012-01-01 00:20:02 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
This utility allows you to manipulate the extended accounting
|
|
|
|
infrastructure.
|
|
|
|
|
|
|
|
%prep
|
2012-12-03 22:06:35 +00:00
|
|
|
%if 0%{?gpg_verify:1}
|
|
|
|
%gpg_verify %{S:2}
|
|
|
|
%endif
|
2012-03-27 14:38:32 +00:00
|
|
|
%setup -q
|
2012-01-01 00:20:02 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
2012-06-30 19:58:46 +00:00
|
|
|
make %{?_smp_mflags};
|
2012-01-01 00:20:02 +00:00
|
|
|
|
|
|
|
%install
|
2012-06-30 19:58:46 +00:00
|
|
|
make install DESTDIR="%buildroot";
|
2012-01-01 00:20:02 +00:00
|
|
|
|
|
|
|
%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
|