diff --git a/README.md b/README.md index ee16013..5964624 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # libnetfilter_log +Libnetfilter_log is a userspace library providing interface to packets that have been logged by the kernel packet filter. +It is is part of a system that deprecates the old syslog/dmesg based packet logging. + diff --git a/libnetfilter_log.spec b/libnetfilter_log.spec new file mode 100644 index 0000000..723f3d9 --- /dev/null +++ b/libnetfilter_log.spec @@ -0,0 +1,77 @@ +Name: libnetfilter_log +Version: 1.0.1 +Release: 1mamba +Summary: Userspace library providing interface to packets logged by the kernel packet filter +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Davide Madrisan +URL: http://www.iptables.org/projects/libnetfilter_log/index.html +Source: http://www.iptables.org/projects/libnetfilter_log/files/libnetfilter_log-%{version}.tar.bz2 +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libnfnetlink-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Libnetfilter_log is a userspace library providing interface to packets that have been logged by the kernel packet filter. +It is is part of a system that deprecates the old syslog/dmesg based packet logging. + +%package devel +Group: Development/Libraries +Summary: Static libraries and headers for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +Libnetfilter_log is a userspace library providing interface to packets that have been logged by the kernel packet filter. +It is is part of a system that deprecates the old syslog/dmesg based packet logging. + +This package contains static libraries and header files need for development. + +%prep + +%setup -q + +%build +%configure --disable-static +%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_log.so.* +%{_libdir}/libnetfilter_log_libipulog.* +%doc COPYING + +%files devel +%defattr(-,root,root) +%{_includedir}/libnetfilter_log/ +%{_libdir}/libnetfilter_log.la +%{_libdir}/libnetfilter_log.so +%{_libdir}/libnetfilter_log_libipulog.la +%{_libdir}/libnetfilter_log_libipulog.so +%{_exec_prefix}/lib/pkgconfig/libnetfilter_log.pc + +%changelog +* Wed Jan 04 2012 Automatic Build System 1.0.1-1mamba +- automatic version update by autodist + +* Wed Oct 13 2010 Davide Madrisan 1.0.0-1mamba +- update to 1.0.0 + +* Wed Feb 17 2010 Davide Madrisan 0.0.16-1mamba +- update to 0.0.16 + +* Fri Dec 28 2007 Aleph0 0.0.13-1mamba +- package created by autospec