libnetfilter_acct/libnetfilter_acct.spec

72 lines
1.9 KiB
RPMSpec
Raw Normal View History

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 <davide.madrisan@gmail.com>
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 <autodist@mambasoft.it> 1.0.2-1mamba
- update to 1.0.2
* Tue Oct 09 2012 Automatic Build System <autodist@mambasoft.it> 1.0.1-1mamba
- automatic version update by autodist
* Mon Apr 30 2012 Davide Madrisan <davide.madrisan@gmail.com> 1.0.0-1mamba
- package created by autospec