SHA256
1
0
forked from pool/iptables
2011-05-29 23:59:50 +00:00
committed by Git OBS Bridge
parent 7b7c473988
commit 4eb6a28a22
7 changed files with 110 additions and 44 deletions

View File

@@ -1,5 +1,5 @@
#
# spec file for package iptables (Version 1.4.9.1)
# spec file for package iptables (Version 1.4.10)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -21,17 +21,19 @@
Name: iptables
License: GPLv2+
Group: Productivity/Networking/Security
Version: 1.4.10
Version: 1.4.11
Release: 1
Summary: IP Packet Filter Administration
#Git-Web: http://git.netfilter.org/
#Git-Clone: git://git.netfilter.org/iptables
Source: http://netfilter.org/projects/%name/files/%name-%version.tar.bz2
Patch0: iptables-batch.patch
Source: %name-%version.tar.xz
Patch1: iptables-batch.patch
Patch2: 874bd762-owner-restore-invert.diff
Patch3: 71e402b-fix-install-symlinks.diff
Url: http://netfilter.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: pkg-config sgmltool
BuildRequires: pkg-config, sgmltool, xz
%description
Iptables is used to set up, maintain, and inspect the tables of IP
@@ -46,11 +48,13 @@ AutoReqProv: on
Requires: %{name} = %{version}
%description devel
These libraries are needed to compile programs against libipq.
These libraries are needed to compile
- additional third-party extensions
- programs using libipq
%prep
%setup -q
%patch -P 0 -p1
%patch -P 1 -P 2 -P 3 -p1
%build
if [ ! -e configure ]; then
@@ -69,9 +73,6 @@ install -m0755 iptables-apply $RPM_BUILD_ROOT%{_sbindir}/
install -m0644 iptables-apply.8 $RPM_BUILD_ROOT%{_mandir}/man8/
find "$RPM_BUILD_ROOT" -iname "*.la" -delete
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
@@ -83,6 +84,7 @@ rm -rf $RPM_BUILD_ROOT
%{_bindir}/iptables*
%{_sbindir}/iptables*
%{_sbindir}/ip6tables*
%{_sbindir}/xtables*
%dir %{_libexecdir}/xtables
%{_libexecdir}/xtables/*
%{_libdir}/*.so.*