2008-10-26 16:32:14 +00:00
|
|
|
# %define rev 7211
|
|
|
|
# %define basever 0.0.30
|
2008-02-22 23:46:36 +00:00
|
|
|
|
2006-05-10 20:55:17 +00:00
|
|
|
Name: libnfnetlink
|
2009-05-01 17:52:32 +00:00
|
|
|
Version: 0.0.41
|
|
|
|
Release: 1%{?dist}
|
2006-05-10 20:55:17 +00:00
|
|
|
Summary: Netfilter netlink userspace library
|
|
|
|
Group: System Environment/Libraries
|
2008-10-26 16:32:14 +00:00
|
|
|
License: GPLv2
|
2006-05-10 20:55:17 +00:00
|
|
|
URL: http://netfilter.org
|
2008-10-26 16:32:14 +00:00
|
|
|
Source0: http://netfilter.org/projects/libnfnetlink/files/%{name}-%{version}.tar.bz2
|
2006-05-10 20:55:17 +00:00
|
|
|
Source1: http://www.gnu.org/licenses/gpl.txt
|
2008-10-26 16:32:14 +00:00
|
|
|
Patch0: libnfnetlink-sysheader.patch
|
2008-02-22 23:46:36 +00:00
|
|
|
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
|
|
|
BuildRequires: kernel-headers
|
2009-05-01 17:52:32 +00:00
|
|
|
BuildRequires: automake autoconf libtool pkgconfig
|
2006-05-10 20:55:17 +00:00
|
|
|
|
|
|
|
%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
|
|
|
|
Summary: Netfilter netlink userspace library
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
2008-02-22 23:46:36 +00:00
|
|
|
Requires: kernel-headers
|
2006-05-10 20:55:17 +00:00
|
|
|
|
|
|
|
%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.
|
|
|
|
|
|
|
|
%prep
|
2008-10-26 16:32:14 +00:00
|
|
|
%setup -q
|
2006-05-10 20:55:17 +00:00
|
|
|
cp %{SOURCE1} LICENSE
|
2008-10-26 16:32:14 +00:00
|
|
|
%patch0 -p1
|
2006-05-10 20:55:17 +00:00
|
|
|
|
2008-02-22 23:46:36 +00:00
|
|
|
autoreconf -i --force
|
2006-05-10 20:55:17 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --disable-static
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc README LICENSE
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_libdir}/*.so
|
2006-07-12 19:12:35 +00:00
|
|
|
%{_libdir}/pkgconfig/*.pc
|
2007-03-25 17:23:29 +00:00
|
|
|
%dir %{_includedir}/libnfnetlink
|
2006-05-10 20:55:17 +00:00
|
|
|
%{_includedir}/libnfnetlink/*.h
|
|
|
|
|
|
|
|
%changelog
|
2009-05-01 17:52:32 +00:00
|
|
|
* Fri Mar 6 2009 Paul P. Komkoff Jr <i@stingr.net> - 0.0.41-1
|
|
|
|
- upstream release
|
|
|
|
|
|
|
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.40-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
|
|
|
* Mon Jan 19 2009 Paul P. Komkoff Jr <i@stingr.net> - 0.0.40-1
|
|
|
|
- upstream release
|
|
|
|
|
|
|
|
* Tue Jan 13 2009 Caolán McNamara <caolanm@redhat.com> - 0.0.39-4
|
|
|
|
- rebuild to get provides pkgconfig(libnfnetlink)
|
|
|
|
|
2008-10-26 16:32:14 +00:00
|
|
|
* Sun Sep 21 2008 Ville Skyttä <ville.skytta at iki.fi> - 0.0.39-3
|
|
|
|
- Fix Patch0:/%%patch mismatch.
|
|
|
|
|
|
|
|
* Thu Aug 7 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.0.39-2
|
|
|
|
- fix license tag
|
|
|
|
|
|
|
|
* Fri Jul 4 2008 Paul P. Komkoff Jr <i@stingr.net> - 0.0.39
|
|
|
|
- grab latest upstream release
|
|
|
|
|
2008-02-22 23:46:36 +00:00
|
|
|
* Fri Feb 22 2008 Paul P. Komkoff Jr <i@stingr.net> - 0.0.33-0.1.svn7211
|
|
|
|
- grab latest upstream changes and fixes, along with new version number
|
|
|
|
- do not mess with bundled nfnetlink.h, use <linux/netfilter/nfnetlink.h>
|
|
|
|
|
2008-02-20 03:25:15 +00:00
|
|
|
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.0.30-2
|
|
|
|
- Autorebuild for GCC 4.3
|
|
|
|
|
2007-08-30 18:24:01 +00:00
|
|
|
* Thu Aug 30 2007 Paul P. Komkoff Jr <i@stingr.net> - 0.0.30-1
|
|
|
|
- new upstream version
|
|
|
|
|
2007-03-25 17:23:29 +00:00
|
|
|
* Sun Mar 25 2007 Paul P. Komkoff Jr <i@stingr.net> - 0.0.25-2
|
|
|
|
- grab ownership of some directories
|
|
|
|
|
2007-02-08 22:00:17 +00:00
|
|
|
* Fri Feb 9 2007 Paul P. Komkoff Jr <i@stingr.net> - 0.0.25-1
|
|
|
|
- upstream version 0.0.25
|
|
|
|
|
2006-09-10 09:35:11 +00:00
|
|
|
* Sun Sep 10 2006 Paul P. Komkoff Jr <i@stingr.net>
|
|
|
|
- rebuilt
|
|
|
|
|
2006-07-12 19:12:35 +00:00
|
|
|
* Wed Jul 12 2006 Felipe Kellermann <stdfk@terra.com.br> - 0.0.16-1
|
|
|
|
- Adds pkgconfig to devel files.
|
|
|
|
- Version 0.0.16.
|
|
|
|
|
2006-05-10 20:55:17 +00:00
|
|
|
* Mon May 8 2006 Paul P Komkoff Jr <i@stingr.net> - 0.0.14-3
|
|
|
|
- Include borrowed gpl.txt as LICENSE in %doc
|
|
|
|
|
|
|
|
* Sun Mar 26 2006 Paul P Komkoff Jr <i@stingr.net> - 0.0.14-1
|
|
|
|
- Preparing for submission to fedora extras
|
|
|
|
|