File libnfnetlink.spec of Package libnfnetlink
# norootforbuild
%define soname 0
Name: libnfnetlink0
Version: 0.0.41
Release: 0
Summary: Low-Level Library for netfilter related Kernel/Userspace Communication
Source: http://netfilter.org/projects/libnfnetlink/files/libnfnetlink-%{version}.tar.bz2
URL: http://www.netfilter.org/projects/libnfnetlink/index.html
Group: Productivity/Networking/Security
License: GNU General Public License version 2 (GPL v2)
BuildRoot: %{_tmppath}/build-%{name}-%{version}
BuildRequires: gcc make glibc-devel
BuildRequires: linux-kernel-headers >= 2.6.14
BuildRequires: autoconf automake libtool pkgconfig
Provides: libnfnetlink = %{version}-%{release}
Obsoletes: libnfnetlink < %{version}
%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.
Authors:
--------
Netfilter Core Team <coreteam@netfilter.org>
%package -n libnfnetlink-devel
Summary: Low-Level Library for netfilter related Kernel/Userspace Communication
Group: Development/Languages/C and C++
Requires: %{name} = %{version}-%{release}
%description -n libnfnetlink-devel
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.
Authors:
--------
Netfilter Core Team <coreteam@netfilter.org>
%debug_package
%prep
%setup -q -n "libnfnetlink-%{version}"
%build
%configure
%__make %{?jobs:-j%{jobs}}
%install
%makeinstall
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%clean
%__rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%doc README
%{_libdir}/libnfnetlink.so.%{soname}
%{_libdir}/libnfnetlink.so.%{soname}.*
%files -n libnfnetlink-devel
%defattr(-,root,root)
%{_includedir}/libnfnetlink
%{_libdir}/libnfnetlink.so
%{_libdir}/libnfnetlink.la
%{_libdir}/libnfnetlink.a
%{_libdir}/pkgconfig/libnfnetlink.pc
%changelog
* Sat May 2 2009 Pascal Bleser <pascal.bleser@opensuse.org> 0.0.41
- update to 0.0.41
* Sun Jul 6 2008 Pascal Bleser <guru@unixtech.be> 0.0.39
- fixed Authors
- explicit soname in file list
- openSUSE Shared Library Policy compliance
- moved to openSUSE Build Service
- new upstream version
* Fri Aug 10 2007 Pascal Bleser <guru@unixtech.be> 0.0.30-1
- new package
# Local Variables:
# mode: rpm-spec
# tab-width: 3
# End: