SPECS: xtables-addons.spec - added URL and updated Source0 - lt/ac/am (with...

charles charles at pld-linux.org
Sun Sep 28 01:21:30 CEST 2008


Author: charles                      Date: Sat Sep 27 23:21:30 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added URL and updated Source0
- lt/ac/am (with BRs)
- fixed post{un}; rel. 1

---- Files affected:
SPECS:
   xtables-addons.spec (1.9 -> 1.10) 

---- Diffs:

================================================================
Index: SPECS/xtables-addons.spec
diff -u SPECS/xtables-addons.spec:1.9 SPECS/xtables-addons.spec:1.10
--- SPECS/xtables-addons.spec:1.9	Sun Sep 21 20:34:28 2008
+++ SPECS/xtables-addons.spec	Sun Sep 28 01:21:25 2008
@@ -9,7 +9,7 @@
 %bcond_without	kernel
 %bcond_without	userspace
 #
-%define		rel 0.1
+%define		rel 1
 Summary:	Extensible packet filtering system && extensible NAT system
 Summary(pl.UTF-8):	System filtrowania pakietów oraz system translacji adresów (NAT)
 Summary(pt_BR.UTF-8):	Ferramenta para controlar a filtragem de pacotes no kernel-2.6.x
@@ -21,15 +21,18 @@
 Release:	%{rel}@%{_kernel_ver_str}
 License:	GPL
 Group:		Networking/Daemons
-Source0:	http://dev.computergmbh.de/files/xtables/%{name}-%{version}.tar.bz2
+Source0:	http://dev.medozas.de/files/xtables/%{name}-%{version}.tar.bz2
 # Source0-md5:	cfd0a0997efd4084d0505f93ff28c4cf
+URL:		http://jengelh.medozas.de/projects/xtables/
 Source1:	ipset.init
 Patch0:		%{name}-libs.patch
 Patch1:		%{name}-geoip-dbpath.patch
 Patch2:		%{name}-help.patch
-#BuildRequires:	xtables-devel >= 1.5.2
+BuildRequires:	autoconf
+BuildRequires:	automake
 BuildRequires:	iptables-devel >= 1.4.1
 %{?with_dist_kernel:BuildRequires:	kernel%{_alt_kernel}-module-build >= 3:2.6.25}
+BuildRequires:	libtool
 BuildRequires:	rpmbuild(macros) >= 1.379
 %{?with_dist_kernel:%requires_releq_kernel}
 Requires(post,postun):	/sbin/depmod
@@ -69,6 +72,10 @@
 %patch2 -p1
 
 %build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
 %configure \
 	--with-kbuild=%{_kernelsrcdir} \
 	--with-ksource=%{_kernelsrcdir}
@@ -116,13 +123,17 @@
 
 %post
 %depmod %{_kernel_ver}
+%if %{with userspace}
 /sbin/chkconfig --add ipset
+%endif
 
 %postun
 %depmod %{_kernel_ver}
+%if %{with userspace}
 if [ "$1" = "0" ]; then
 	/sbin/chkconfig --del ipset
 fi
+%endif
 
 %files
 %defattr(644,root,root,755)
@@ -207,6 +218,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.10  2008/09/27 23:21:25  charles
+- added URL and updated Source0
+- lt/ac/am (with BRs)
+- fixed post{un}; rel. 1
+
 Revision 1.9  2008/09/21 18:34:28  pluto
 - O: ipset-init.
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/xtables-addons.spec?r1=1.9&r2=1.10&f=u



More information about the pld-cvs-commit mailing list