File libnfnetlink.spec of Package libnfnetlink

Summary: Low-level library for netfilter related kernel/userspace communication
Name: libnfnetlink
Version: 0.0.40
Release: 1
License: GPL
Group: Productivity/Networking/Security 
Packager: Leo Eraly <leo@unstable.be>
URL: http://www.netfilter.org/projects/libnfnetlink/index.html

Source: http://www.netfilter.org/projects/libnfnetlink/files/libnfnetlink-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

Provides: libnfnetlink

%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.

%package -n libnfnetlink0
Summary: Low-level library for netfilter related kernel/userspace communication
Group: Productivity/Networking/Security 

%description -n libnfnetlink0
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.

%package -n libnfnetlink0-devel
Summary: Low-level library for netfilter related kernel/userspace communication
Group: Productivity/Networking/Security 

%description -n libnfnetlink0-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 package contains the development library files for libnfnetlink

%prep
%setup

%build
%configure
%{__make}

%install
%{__make} install DESTDIR="%{buildroot}"

%clean
%{__rm} -rf %{buildroot}

%post -n libnfnetlink0
/sbin/ldconfig

%postun -n libnfnetlink0
/sbin/ldconfig

%files -n libnfnetlink0
%defattr(-, root, root, 0755)
%doc README
%{_libdir}/libnfnetlink.*
%exclude %{_libdir}/pkgconfig/libnfnetlink.pc
%exclude %{_includedir}/libnfnetlink/*.h
%exclude %{_libdir}/*.a
%exclude %{_libdir}/*.la

%files -n libnfnetlink0-devel
%defattr(-, root, root, 0755)
%dir %{_includedir}/libnfnetlink/
%{_libdir}/pkgconfig/libnfnetlink.pc
%{_includedir}/libnfnetlink/*.h

%changelog
* Wed Jan 14 2009 Leo Eraly <leo@unstable.be> - 0.0.40-1
- Updated to release

* Wed Aug 27 2008 Leo Eraly <leo@unstable.be> - 0.0.39-1
- Updated to release

* Sat May 17 2008 Leo Eraly <leo@unstable.be> - 0.0.33-1
- Updated to release

* Fri Aug 24 2007 Leo Eraly <leo@unstable.be> - 0.0.30-1
- Initial package.
openSUSE Build Service is sponsored by