diff --git a/README.md b/README.md index 3724592..53cf891 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libnetfilter_acct +libnetfilter_acct is the userspace library providing interface to extended accounting infrastructure. + diff --git a/libnetfilter_acct.spec b/libnetfilter_acct.spec new file mode 100644 index 0000000..b9af059 --- /dev/null +++ b/libnetfilter_acct.spec @@ -0,0 +1,71 @@ +Name: libnetfilter_acct +Version: 1.0.2 +Release: 1mamba +Summary: The netfilter userspace library providing interface to extended accounting infrastructure +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Davide Madrisan +URL: http://www.netfilter.org/projects/libnetfilter_acct +Source: http://www.netfilter.org/projects/libnetfilter_acct/files/libnetfilter_acct-%{version}.tar.bz2 +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libmnl-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +libnetfilter_acct is the userspace library providing interface to extended accounting infrastructure. + +%package devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: pkg-config + +%description devel +This package contains libraries and header files for developing applications that use %{name}. + +%debug_package + +%prep +%setup -q + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/libnetfilter_acct.so.* +%doc COPYING + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/libnetfilter_acct +%{_includedir}/libnetfilter_acct/libnetfilter_acct.h +%{_libdir}/libnetfilter_acct.la +%{_libdir}/libnetfilter_acct.so +%{_libdir}/pkgconfig/libnetfilter_acct.pc +%doc README + +%changelog +* Thu Apr 25 2013 Automatic Build System 1.0.2-1mamba +- update to 1.0.2 + +* Tue Oct 09 2012 Automatic Build System 1.0.1-1mamba +- automatic version update by autodist + +* Mon Apr 30 2012 Davide Madrisan 1.0.0-1mamba +- package created by autospec