]> git.pld-linux.org Git - packages/apache-mod_python.git/blobdiff - apache-mod_python.spec
- cleanups.
[packages/apache-mod_python.git] / apache-mod_python.spec
index bf59fa2a3cc82884d203a6268cb292b3069ec366..809ea872f8385d850ba69fdc85953b71408a05c0 100644 (file)
@@ -1,3 +1,4 @@
+%include       /usr/lib/rpm/macros.python
 %define                mod_name        python
 Summary:       A Python for the Apache Web server
 Summary(pl):   Python dla serwera WWW Apache
 %define                mod_name        python
 Summary:       A Python for the Apache Web server
 Summary(pl):   Python dla serwera WWW Apache
@@ -7,7 +8,10 @@ Release:       4
 License:       distributable
 Group:         Networking/Daemons
 Group(de):     Netzwerkwesen/Server
 License:       distributable
 Group:         Networking/Daemons
 Group(de):     Netzwerkwesen/Server
+Group(es):     Red/Servidores
+Group(fr):     RĂ©seau/Serveurs
 Group(pl):     Sieciowe/Serwery
 Group(pl):     Sieciowe/Serwery
+Group(pt):     Rede/Server
 Source0:       http://www.modpython.org/dist/mod_%{mod_name}-%{version}.tgz
 Patch0:                apache-mod_python-shared.patch
 Patch1:                apache-mod_python-DESTDIR.patch
 Source0:       http://www.modpython.org/dist/mod_%{mod_name}-%{version}.tgz
 Patch0:                apache-mod_python-shared.patch
 Patch1:                apache-mod_python-DESTDIR.patch
@@ -21,9 +25,7 @@ Requires:     apache
 %requires_eq   python
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %requires_eq   python
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define        apache_moddir  %(/usr/sbin/apxs -q LIBEXECDIR)
-
-%include /usr/lib/rpm/macros.python
+%define                apache_moddir   %(/usr/sbin/apxs -q LIBEXECDIR)
 
 %description
 mod_python allows embedding Python within the Apache Web server for a
 
 %description
 mod_python allows embedding Python within the Apache Web server for a
@@ -48,7 +50,7 @@ Uwaga: ta wersja nadal powinna by
 autoconf
 
 # new apache needs it
 autoconf
 
 # new apache needs it
-CFLAGS=-DEAPI
+CFLAGS="-DEAPI %{rpmcflags}"
 %configure \
        --with-apxs=/usr/sbin/apxs
  
 %configure \
        --with-apxs=/usr/sbin/apxs
  
This page took 0.05994 seconds and 4 git commands to generate.