Summary(pl): Python dla serwera WWW Apache
Name: apache-mod_%{mod_name}
Version: 2.7.6
-Release: 1
+Release: 4
License: distributable
Group: Networking/Daemons
Group(de): Netzwerkwesen/Server
Patch0: apache-mod_python-shared.patch
Patch1: apache-mod_python-DESTDIR.patch
URL: http://www.modpython.org/
-Requires: apache
-%requires_eq python
BuildRequires: autoconf
BuildRequires: apache
BuildRequires: apache-devel
-BuildRequires: python-devel
+BuildRequires: python-devel >= 2.2
BuildRequires: rpm-pythonprov
+Requires: apache
+%requires_eq python
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define apache_moddir %(/usr/sbin/apxs -q LIBEXECDIR)
%build
autoconf
-%configure --with-apxs=/usr/sbin/apxs
+
+# new apache needs it
+CFLAGS=-DEAPI
+%configure \
+ --with-apxs=/usr/sbin/apxs
+
%{__make} dso
%install
%files
%defattr(644,root,root,755)
-%doc doc/*
+%doc doc-html/*
%doc {README,COPYRIGHT,NEWS,CREDITS}.gz
%attr(755,root,root) %{apache_moddir}/*
%{py_sitedir}/mod_%{mod_name}