60 lines
1.6 KiB
RPMSpec
60 lines
1.6 KiB
RPMSpec
Name: nfacct
|
|
Version: 1.0.2
|
|
Release: 1mamba
|
|
Summary: The netfilter command line tool to create/retrieve/delete accounting objects
|
|
Group: Network/Security
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Davide Madrisan <davide.madrisan@gmail.com>
|
|
URL: http://netfilter.org/projects/nfacct/
|
|
Source: http://netfilter.org/projects/nfacct/files/nfacct-%{version}.tar.bz2
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libmnl-devel
|
|
BuildRequires: libnetfilter_acct-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
nfacct is the command line tool to create/retrieve/delete accounting objects.
|
|
It requires kernel that features the nfnetlink_acct subsystem.
|
|
For officially released kernels, this means 3.3.
|
|
Main Features:
|
|
* listing the objects of the nfacct table in plain text/XML
|
|
* atomically get and reset objects of the nfacct table
|
|
* adding new objects to the nfacct table
|
|
* deleting objects from the nfacct table
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%configure
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_sbindir}/nfacct
|
|
%{_mandir}/man8/nfacct.*
|
|
%doc COPYING
|
|
|
|
%changelog
|
|
* Tue Aug 23 2016 Automatic Build System <autodist@mambasoft.it> 1.0.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Apr 25 2013 Automatic Build System <autodist@mambasoft.it> 1.0.1-1mamba
|
|
- update to 1.0.1
|
|
|
|
* Mon Apr 30 2012 Davide Madrisan <davide.madrisan@gmail.com> 1.0.0-1mamba
|
|
- package created by autospec
|