From 92b5b2a0fa416a41de58a0f5124612bed5ac492d Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 05:10:11 +0100 Subject: [PATCH] automatic version update by autodist [release 1.0.1-1mamba;Tue Oct 09 2012] --- README.md | 3 ++ libnfnetlink.spec | 74 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 77 insertions(+) create mode 100644 libnfnetlink.spec diff --git a/README.md b/README.md index 39477da..e74a17a 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # libnfnetlink +Libnfnetlink is a userspace library that provides some low-level nfnetlink handling functions. +It is used as a foundation for other, netfilter subsystem specific libraries such as libnfnetlink_conntrack, libnfnetlink_log and libnfnetlink_queue. + diff --git a/libnfnetlink.spec b/libnfnetlink.spec new file mode 100644 index 0000000..fd0bccb --- /dev/null +++ b/libnfnetlink.spec @@ -0,0 +1,74 @@ +Name: libnfnetlink +Version: 1.0.1 +Release: 1mamba +Summary: Userspace library for handling of netfilter netlink messages +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Davide Madrisan +URL: http://www.iptables.org/projects/libnfnetlink/index.html +Source: http://www.iptables.org/projects/libnfnetlink/files/libnfnetlink-%{version}.tar.bz2 +License: GPL +BuildRequires: glibc-devel +BuildRequires: ldconfig +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Libnfnetlink is a userspace library that provides some low-level nfnetlink handling functions. +It is used as a foundation for other, netfilter subsystem specific libraries such as libnfnetlink_conntrack, libnfnetlink_log and libnfnetlink_queue. + +%package devel +Group: Development/Libraries +Summary: Static libraries and headers for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +Libnfnetlink is a userspace library that provides some low-level nfnetlink handling functions. +It is used as a foundation for other, netfilter subsystem specific libraries such as libnfnetlink_conntrack, libnfnetlink_log and libnfnetlink_queue. + +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}/libnfnetlink.so.* +%doc README + +%files devel +%defattr(-,root,root) +%{_includedir}/libnfnetlink/ +%{_libdir}/libnfnetlink.la +%{_libdir}/libnfnetlink.so +%{_libdir}/pkgconfig/*.pc + +%changelog +* Tue Oct 09 2012 Automatic Build System 1.0.1-1mamba +- automatic version update by autodist + +* Sun Oct 10 2010 Davide Madrisan 1.0.0-2mamba +- rebuilt + +* Wed Feb 17 2010 Davide Madrisan 1.0.0-1mamba +- update to 1.0.0 + +* Mon Mar 10 2008 Aleph0 0.0.33-1mamba +- update to 0.0.33 + +* Fri Dec 28 2007 Aleph0 0.0.30-1mamba +- package created by autospec