8c4d75
Name:           libnfnetlink
8c4d75
Version:        1.0.1
8c4d75
Release:        4%{?dist}
8c4d75
Summary:        Netfilter netlink userspace library
8c4d75
Group:          System Environment/Libraries
8c4d75
License:        GPLv2+
8c4d75
URL:            http://netfilter.org
8c4d75
Source0:        http://netfilter.org/projects/libnfnetlink/files/%{name}-%{version}.tar.bz2
8c4d75
BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
8c4d75
BuildRequires:	kernel-headers
8c4d75
BuildRequires:  automake autoconf libtool pkgconfig
8c4d75
8c4d75
%description
8c4d75
libnfnetlink is a userspace library that provides some low-level
8c4d75
nfnetlink handling functions.  It is used as a foundation for other, netfilter
8c4d75
subsystem specific libraries such as libnfnetlink_conntrack, libnfnetlink_log
8c4d75
and libnfnetlink_queue.
8c4d75
8c4d75
%package        devel
8c4d75
Summary:        Netfilter netlink userspace library
8c4d75
Group:          Development/Libraries
8c4d75
Requires:       %{name} = %{version}-%{release}
8c4d75
Requires:	kernel-headers
8c4d75
8c4d75
%description    devel
8c4d75
libnfnetlink is a userspace library that provides some low-level
8c4d75
nfnetlink handling functions.  It is used as a foundation for other, netfilter
8c4d75
subsystem specific libraries such as libnfnetlink_conntrack, libnfnetlink_log
8c4d75
and libnfnetlink_queue.
8c4d75
8c4d75
%prep
8c4d75
%setup -q
8c4d75
8c4d75
%build
8c4d75
%configure --disable-static
8c4d75
make %{?_smp_mflags}
8c4d75
8c4d75
%install
8c4d75
rm -rf $RPM_BUILD_ROOT
8c4d75
make install DESTDIR=$RPM_BUILD_ROOT
8c4d75
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
8c4d75
8c4d75
%clean
8c4d75
rm -rf $RPM_BUILD_ROOT
8c4d75
8c4d75
%post -p /sbin/ldconfig
8c4d75
%postun -p /sbin/ldconfig
8c4d75
8c4d75
%files
8c4d75
%defattr(-,root,root,-)
8c4d75
%doc README COPYING
8c4d75
%{_libdir}/*.so.*
8c4d75
8c4d75
8c4d75
%files devel
8c4d75
%defattr(-,root,root,-)
8c4d75
%{_libdir}/*.so
8c4d75
%{_libdir}/pkgconfig/*.pc
8c4d75
%dir %{_includedir}/libnfnetlink
8c4d75
%{_includedir}/libnfnetlink/*.h
8c4d75
8c4d75
%changelog
8c4d75
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 1.0.1-4
8c4d75
- Mass rebuild 2014-01-24
8c4d75
8c4d75
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.0.1-3
8c4d75
- Mass rebuild 2013-12-27
8c4d75
8c4d75
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-2
8c4d75
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
8c4d75
8c4d75
* Fri Nov 30 2012 Paul Komkoff <i@stingr.net> - 1.0.1-1
8c4d75
- new upstream version
8c4d75
8c4d75
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-5
8c4d75
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
8c4d75
8c4d75
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-4
8c4d75
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
8c4d75
8c4d75
* Mon Nov 28 2011 Paul P. Komkoff Jr <i@stingr.net> - 1.0.0-3
8c4d75
- post-1.0 build fixes
8c4d75
- switch to gplv2+
8c4d75
- use packaged COPYING for license
8c4d75
8c4d75
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-2
8c4d75
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
8c4d75
8c4d75
* Mon Sep 28 2009 Paul P. Komkoff Jr <i@stingr.net> - 1.0.0-1
8c4d75
- upstream release
8c4d75
8c4d75
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.41-2
8c4d75
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
8c4d75
8c4d75
* Fri Mar  6 2009 Paul P. Komkoff Jr <i@stingr.net> - 0.0.41-1
8c4d75
- upstream release
8c4d75
8c4d75
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.40-2
8c4d75
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
8c4d75
8c4d75
* Mon Jan 19 2009 Paul P. Komkoff Jr <i@stingr.net> - 0.0.40-1
8c4d75
- upstream release
8c4d75
8c4d75
* Tue Jan 13 2009 Caolán McNamara <caolanm@redhat.com> - 0.0.39-4
8c4d75
- rebuild to get provides pkgconfig(libnfnetlink)
8c4d75
8c4d75
* Sun Sep 21 2008 Ville Skyttä <ville.skytta at iki.fi> - 0.0.39-3
8c4d75
- Fix Patch0:/%%patch mismatch.
8c4d75
8c4d75
* Thu Aug  7 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.0.39-2
8c4d75
- fix license tag
8c4d75
8c4d75
* Fri Jul  4 2008 Paul P. Komkoff Jr <i@stingr.net> - 0.0.39
8c4d75
- grab latest upstream release
8c4d75
8c4d75
* Fri Feb 22 2008 Paul P. Komkoff Jr <i@stingr.net> - 0.0.33-0.1.svn7211
8c4d75
- grab latest upstream changes and fixes, along with new version number
8c4d75
- do not mess with bundled nfnetlink.h, use <linux/netfilter/nfnetlink.h>
8c4d75
8c4d75
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.0.30-2
8c4d75
- Autorebuild for GCC 4.3
8c4d75
8c4d75
* Thu Aug 30 2007 Paul P. Komkoff Jr <i@stingr.net> - 0.0.30-1
8c4d75
- new upstream version
8c4d75
8c4d75
* Sun Mar 25 2007 Paul P. Komkoff Jr <i@stingr.net> - 0.0.25-2
8c4d75
- grab ownership of some directories
8c4d75
8c4d75
* Fri Feb  9 2007 Paul P. Komkoff Jr <i@stingr.net> - 0.0.25-1
8c4d75
- upstream version 0.0.25
8c4d75
8c4d75
* Sun Sep 10 2006 Paul P. Komkoff Jr <i@stingr.net>
8c4d75
- rebuilt
8c4d75
8c4d75
* Wed Jul 12 2006 Felipe Kellermann <stdfk@terra.com.br> - 0.0.16-1
8c4d75
- Adds pkgconfig to devel files.
8c4d75
- Version 0.0.16.
8c4d75
8c4d75
* Mon May  8 2006 Paul P Komkoff Jr <i@stingr.net> - 0.0.14-3
8c4d75
- Include borrowed gpl.txt as LICENSE in %doc
8c4d75
8c4d75
* Sun Mar 26 2006 Paul P Komkoff Jr <i@stingr.net> - 0.0.14-1
8c4d75
- Preparing for submission to fedora extras
8c4d75