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