File python-fcgi.spec of Package python-fcgi
#
# spec file for package python-fcgi (Version 2000.09.21)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: python-fcgi
BuildRequires: python
Version: 2000.09.21
Release: 343
Group: Development/Libraries/Python
AutoReqProv: on
License: Any permissive
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
* 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.