]> git.pld-linux.org Git - packages/apache-mod_python.git/blame - apache-mod_python.spec
- release 1
[packages/apache-mod_python.git] / apache-mod_python.spec
CommitLineData
9da631b3 1%define mod_name python
2Summary: A Python for the Apache Web server
22317842 3Summary(pl): Python dla serwera WWW Apache
9da631b3 4Name: apache-mod_%{mod_name}
fa1d6a09 5Version: 2.7.6
6Release: 1
9da631b3 7License: distributable
8Group: Networking/Daemons
22317842 9Group(de): Netzwerkwesen/Server
9da631b3 10Group(pl): Sieciowe/Serwery
22317842 11Source0: http://www.modpython.org/dist/mod_%{mod_name}-%{version}.tgz
f7564150
AF
12Patch0: apache-mod_python-shared.patch
13Patch1: apache-mod_python-DESTDIR.patch
9da631b3 14URL: http://www.modpython.org/
15Requires: apache
16Requires: python
22317842 17BuildRequires: autoconf
9da631b3 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
9da631b3 30%description
22317842
JB
31mod_python allows embedding Python within the Apache Web server for a
32considerable boost in performance and added flexibility in designing
33web based applications.
9da631b3 34
22317842
JB
35NOTE: This versions should still be considered Beta.
36
37%description -l pl
38