SPECS: libnfnetlink.spec (NEW) - low-level library for netfilter r...

pluto pluto at pld-linux.org
Wed Nov 16 13:07:59 CET 2005


Author: pluto                        Date: Wed Nov 16 12:07:59 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- low-level library for netfilter related kernel/userspace communication.

---- Files affected:
SPECS:
   libnfnetlink.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/libnfnetlink.spec
diff -u /dev/null SPECS/libnfnetlink.spec:1.1
--- /dev/null	Wed Nov 16 13:07:59 2005
+++ SPECS/libnfnetlink.spec	Wed Nov 16 13:07:53 2005
@@ -0,0 +1,87 @@
+# $Revision$, $Date$
+Summary:	libnfnetlink - low-level library for netfilter related kernel/userspace communication
+Name:		libnfnetlink
+Version:	0.0.13
+Release:	1@%{_kernel_ver_str}
+License:	GPL
+Group:		Libraries
+Source0:	ftp://ftp.netfilter.org/pub/libnfnetlink/%{name}-%{version}.tar.bz2
+# Source0-md5:	cc9e6d5f42f5a64dc29da724c9c88908
+URL:		http://www.netfilter.org/projects/libnfnetlink/
+BuildRequires:	autoconf
+BuildRequires:	automake
+BuildRequires:	kernel-headers >= 2.6.14
+Requires:	kernel = %{_kernel_ver}
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+libnfnetlink is the low-level library for netfilter related
+kernel/userspace communication. It provides a generic messaging
+infrastructure for in-kernel netfilter subsystems (such as
+nfnetlink_log, nfnetlink_queue, nfnetlink_conntrack) and their
+respective users and/or management tools in userspace. This library is
+not meant as a public API for application developers. It is only used
+by other netfilter.org projects, such as libnetfilter_log,
+libnetfilter_queue or libnetfilter_conntrack.
+
+%package devel
+Summary:	Header files for libnfnetlink library
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+Header files for libnfnetlink library.
+
+%package static
+Summary:	Static libnfnetlink library
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static libnfnetlink library.
+
+%prep
+%setup -q
+
+%build
+%{__aclocal}
+%{__autoconf}
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
+
+%files devel
+%defattr(644,root,root,755)
+%{_libdir}/lib*.la
+%attr(755,root,root) %{_libdir}/lib*.so
+%dir %{_includedir}/%{name}
+%{_includedir}/%{name}/*.h
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/lib*.a
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2005/11/16 12:07:53  pluto
+- low-level library for netfilter related kernel/userspace communication.
================================================================



More information about the pld-cvs-commit mailing list