]> git.pld-linux.org Git - packages/apache1-mod_antihak.git/commitdiff
- added %{apxs} local macro to avoid adapter problems
authorankry <ankry@pld-linux.org>
Sun, 17 Feb 2002 18:52:19 +0000 (18:52 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- fix use of %{apxs} and %{_sbindir}/apxs
- added BR %{apxs} & Prereq %{_sbindir}/apxs (if necessary); removed BR apache
- adapterized

Changed files:
    apache1-mod_antihak.spec -> 1.6

apache1-mod_antihak.spec

index 705ebda920852a7900ff6ea54a5de2c21f574528..188e14c5372e3249285669ac7de60bd7fbb912d1 100644 (file)
@@ -1,3 +1,4 @@
+%define        apxs    /usr/sbin/apxs
 Summary:       Antihak module for Apache
 Summary(pl):   Modu³ antihak dla Apache
 Name:          apache-mod_antihak
@@ -5,8 +6,20 @@ Version:       0.3.1beta
 Release:       2
 License:       GPL
 Group:         Networking/Daemons
+Group(cs):     Sí»ové/Démoni
+Group(da):     Netværks/Dæmoner
 Group(de):     Netzwerkwesen/Server
+Group(es):     Red/Servidores
+Group(fr):     Réseau/Serveurs
+Group(is):     Net/Púkar
+Group(it):     Rete/Demoni
+Group(no):     Nettverks/Daemoner
 Group(pl):     Sieciowe/Serwery
+Group(pt):     Rede/Servidores
+Group(ru):     óÅÔØ/äÅÍÏÎÙ
+Group(sl):     Omre¾ni/Stre¾niki
+Group(sv):     Nätverk/Demoner
+Group(uk):     íÅÒÅÖÁ/äÅÍÏÎÉ
 Source0:       ftp://ftp.sourceforge.net/pub/sourceforge/apantihak/mod_antihak-0.3.1-beta.tar.gz
 Patch0:                mod_antihak-iptables.patch
 Patch1:                mod_antihak-am.patch
@@ -15,9 +28,11 @@ BuildRequires:       autoconf
 BuildRequires: apache(EAPI)-devel
 BuildRequires: libtool
 BuildRequires: mysql-devel
+BuildRequires: %{apxs}
 Requires:      apache(EAPI) >= 1.3.1
 Requires:      iptables
 Requires:      sudo
+Prereq:                %{_sbindir}/apxs
 Prereq:                grep
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -52,7 +67,7 @@ automake -a -c
 %configure \
        CC=%{__cc} \
        CFLAGS="%{rpmcflags} -I/usr/include/mysql" \
-       APACHE_APXS=/usr/sbin/apxs \
+       APACHE_APXS=%{apxs} \
        --with-mysql
 
 %{__make}
This page took 0.05866 seconds and 4 git commands to generate.