File python-fcgi.spec of Package python-fcgi
#
# spec file for package python-fcgi (Version 2000.09.21)
#
# Copyright (c) 2005 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://www.suse.de/feedback/
#
# norootforbuild
Name: python-fcgi
BuildRequires: python
Version: 2000.09.21
Release: 149
Group: Development/Libraries/Python
Autoreqprov: on
License: FSR, Other License(s), see package
Summary: Python FastCGI Module
URL: http://alldunn.com/python/
Source0: http://alldunn.com/python/fcgi.py
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{py_requires}
%description
The fcgi.py Python module handles communication with the FastCGI module
from the Apache or Stronghold web server without using the FastCGI
developers kit. It will also work in a non-FastCGI environment,
(straight CGI).
Authors:
--------
Robin Dunn <robin@alldunn.com>
and others
%prep
%build
%install
rm -rf $RPM_BUILD_ROOT
install -m755 -d $RPM_BUILD_ROOT/%{py_sitedir}
install -m644 %{S:0} $RPM_BUILD_ROOT/%{py_sitedir}
python /usr/%_lib/python/compileall.py -d %{py_site}/ $RPM_BUILD_ROOT/%{py_sitedir}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%{py_sitedir}/fcgi.py*
%changelog -n python-fcgi
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Nov 02 2005 - dmueller@suse.de
- don't build as root
* Wed Nov 24 2004 - mcihar@suse.cz
- use rather rpm macros than our own
* Thu Sep 04 2003 - mcihar@suse.cz
- require same python version as it was built with
- added clean
* Wed Sep 03 2003 - mt@suse.de
- initial checkin. since no version provided,
we use the modification date of the file.