]> git.pld-linux.org Git - packages/firewall-init.git/blobdiff - firewall-init.spec
- up to 2.99.6; nfy
[packages/firewall-init.git] / firewall-init.spec
index 573aceac612b25e07d3be1ba0d846ebefcbba7cb..134eb1ac682e9ee133befcff75d762194516f673 100644 (file)
@@ -1,21 +1,17 @@
 Summary:       Firewall SysV-init style start-up script
 Summary(pl):   Skrypt startowy firewalla
 Name:          firewall-init
-Version:       2.99.5
-Release:       2@2.4
+Version:       2.99.6
+Release:       1
 License:       GPL
 Group:         Networking/Admin
-Group(de):     Netzwerkwesen/Administration
-Group(pl):     Sieciowe/Administacyjne
-# Source0:     ftp://ftp.pld.org.pl/software/firewall-init/%{name}-%{version}.tar.gz
-# Source0-md5: e336e02377ef26c258d8ccabeaefcf8c
-Source0:        http://aramin.one.pl/~undefine/%{name}-%{version}.tar.gz
-Patch0:                %{name}-pre.patch
+Source0:       http://ep09.pld-linux.org/~mmazur/%{name}/%{name}-%{version}.tar.bz2
+# Source0-md5: 2d2714634b48e79cccfe95e5163b4cde
+PreReq:                rc-scripts
+Requires(post,preun):  /sbin/chkconfig
 Requires:      iptables >= 1.2.2-2
-Conflicts:     kernel < 2.3.0
-Prereq:                rc-scripts
-Prereq:                /sbin/chkconfig
-Buildarch:     noarch
+Obsoletes:     iptables-init
+BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -28,12 +24,15 @@ stopowania filtr
 
 %prep
 %setup -q
-%patch0 -p1
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
 
 %post
 /sbin/chkconfig --add firewall
@@ -45,9 +44,6 @@ if [ "$1" = "0" ]; then
        /sbin/chkconfig --del firewall-pre
 fi
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
 %defattr(644,root,root,755)
 %doc README
This page took 0.085369 seconds and 4 git commands to generate.