libnfnetlink-1.0.0-1
This commit is contained in:
parent
db37b0db0a
commit
4347643432
@ -1,16 +1,20 @@
|
|||||||
|
%define rev 7211
|
||||||
|
%define basever 0.0.30
|
||||||
|
|
||||||
Name: libnfnetlink
|
Name: libnfnetlink
|
||||||
Version: 0.0.30
|
Version: 0.0.33
|
||||||
Release: 1%{?dist}
|
Release: 0.1.svn%{rev}%{?dist}
|
||||||
Summary: Netfilter netlink userspace library
|
Summary: Netfilter netlink userspace library
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
License: GPL
|
License: GPL
|
||||||
URL: http://netfilter.org
|
URL: http://netfilter.org
|
||||||
Source0: http://netfilter.org/projects/libnfnetlink/files/%{name}-%{version}.tar.bz2
|
Source0: http://netfilter.org/projects/libnfnetlink/files/%{name}-%{basever}.tar.bz2
|
||||||
Source1: http://www.gnu.org/licenses/gpl.txt
|
Source1: http://www.gnu.org/licenses/gpl.txt
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
Patch0: libnfnetlink-%{version}-svn%{rev}.patch
|
||||||
|
Patch1: libnfnetlink-sysheader.patch
|
||||||
#BuildRequires:
|
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
||||||
#Requires:
|
BuildRequires: kernel-headers
|
||||||
|
BuildRequires: automake autoconf libtool
|
||||||
|
|
||||||
%description
|
%description
|
||||||
libnfnetlink is a userspace library that provides some low-level
|
libnfnetlink is a userspace library that provides some low-level
|
||||||
@ -22,6 +26,7 @@ and libnfnetlink_queue.
|
|||||||
Summary: Netfilter netlink userspace library
|
Summary: Netfilter netlink userspace library
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
Requires: kernel-headers
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
libnfnetlink is a userspace library that provides some low-level
|
libnfnetlink is a userspace library that provides some low-level
|
||||||
@ -30,21 +35,22 @@ subsystem specific libraries such as libnfnetlink_conntrack, libnfnetlink_log
|
|||||||
and libnfnetlink_queue.
|
and libnfnetlink_queue.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q -n %{name}-%{basever}
|
||||||
cp %{SOURCE1} LICENSE
|
cp %{SOURCE1} LICENSE
|
||||||
|
%patch -p1
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
|
autoreconf -i --force
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static
|
%configure --disable-static
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
|
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
|
||||||
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
@ -65,6 +71,13 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_includedir}/libnfnetlink/*.h
|
%{_includedir}/libnfnetlink/*.h
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* 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>
|
||||||
|
|
||||||
|
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.0.30-2
|
||||||
|
- Autorebuild for GCC 4.3
|
||||||
|
|
||||||
* Thu Aug 30 2007 Paul P. Komkoff Jr <i@stingr.net> - 0.0.30-1
|
* Thu Aug 30 2007 Paul P. Komkoff Jr <i@stingr.net> - 0.0.30-1
|
||||||
- new upstream version
|
- new upstream version
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user