]> git.pld-linux.org Git - packages/apache-mod_python.git/blame_incremental - apache-mod_python.spec
- release 1
[packages/apache-mod_python.git] / apache-mod_python.spec
... / ...
CommitLineData
1%define mod_name python
2Summary: A Python for the Apache Web server
3Summary(pl): Python dla serwera WWW Apache
4Name: apache-mod_%{mod_name}
5Version: 2.7.6
6Release: 1
7License: distributable
8Group: Networking/Daemons
9Group(de): Netzwerkwesen/Server
10Group(pl): Sieciowe/Serwery
11Source0: http://www.modpython.org/dist/mod_%{mod_name}-%{version}.tgz
12Patch0: apache-mod_python-shared.patch
13Patch1: apache-mod_python-DESTDIR.patch
14URL: http://www.modpython.org/
15Requires: apache
16Requires: python
17BuildRequires: autoconf
18BuildRequires: apache
19BuildRequires: apache-devel
20BuildRequires: python-devel
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%define apache_moddir %(/usr/sbin/apxs -q LIBEXECDIR)
24%define python_prefix %(echo `python -c "import sys; print sys.prefix"`)
25%define python_version %(echo `python -c "import sys; print sys.version[:3]"`)
26%define python_libdir %{python_prefix}/lib/python%{python_version}
27%define python_includedir %{python_prefix}/include/python%{python_version}
28%define python_sitedir %{python_libdir}/site-packages
29
30%description
31mod_python allows embedding Python within the Apache Web server for a
32considerable boost in performance and added flexibility in designing
33web based applications.
34
35NOTE: This versions should still be considered Beta.
36
37%description -l pl
38