7ecea40
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
7ecea40
7ecea40
Name:           python-cherrypy
51ab428
Version:        2.2.1
ab8ae76
Release:        7%{?dist}
7ecea40
Summary:        A pythonic, object-oriented web development framework
7ecea40
Group:          Development/Libraries
7ecea40
License:        BSD
7ecea40
URL:            http://www.cherrypy.org/
51ab428
Source0:        http://dl.sf.net/cherrypy/CherryPy-%{version}.tar.gz
7ecea40
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
ab8ae76
Patch0:         %{name}-tutorial-doc.patch
ab8ae76
Patch1:         %{name}-regression-test.patch
ab8ae76
Patch2:         %{name}-%{version}-EINTR.patch
7ecea40
7ecea40
BuildArch:      noarch
7ecea40
d023a63
BuildRequires:  python-devel
d023a63
7ecea40
%description
7ecea40
CherryPy allows developers to build web applications in much the same way 
7ecea40
they would build any other object-oriented Python program. This usually 
7ecea40
results in smaller source code developed in less time.
7ecea40
7ecea40
%prep
51ab428
%setup -q -n CherryPy-%{version}
51ab428
%patch0
51ab428
%patch1
ab8ae76
%patch2
7ecea40
7ecea40
7ecea40
%build
696d48f
%{__python} setup.py build
7ecea40
7ecea40
%install
7ecea40
rm -rf $RPM_BUILD_ROOT
7ecea40
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT --prefix=%{_prefix}
7ecea40
7b6e263
#%check
7b6e263
#cd cherrypy/test
7b6e263
#%{__python} test.py
7ecea40
7ecea40
%clean
7ecea40
rm -rf $RPM_BUILD_ROOT
7ecea40
7ecea40
%files
7ecea40
%defattr(-,root,root,-)
7ecea40
%doc CHANGELOG.txt CHERRYPYTEAM.txt README.txt
7ecea40
%doc cherrypy/tutorial
7ecea40
%dir %{python_sitelib}/cherrypy
7ecea40
%dir %{python_sitelib}/cherrypy/lib
7ecea40
%dir %{python_sitelib}/cherrypy/lib/filter
gijs 3f6a5bb
%{python_sitelib}/cherrypy/favicon.ico
dcc8b10
%{python_sitelib}/cherrypy/*.py*
dcc8b10
%{python_sitelib}/cherrypy/lib/*.py*
dcc8b10
%{python_sitelib}/cherrypy/lib/filter/*.py*
dcc8b10
%{python_sitelib}/cherrypy/filters/*.py*
7ecea40
7ecea40
%changelog
ab8ae76
* Sat Nov  3 2007 Luke Macken <lmacken@redhat.com> 2.2.1-7
ab8ae76
- Apply backported fix from http://www.cherrypy.org/changeset/1766
ab8ae76
  to improve CherryPy's SIGSTOP/SIGCONT handling (Bug #364911).
ab8ae76
  Thanks to Nils Philippsen for the patch.
ab8ae76
7b6e263
* Mon Feb 19 2007 Luke Macken <lmacken@redhat.com> 2.2.1-6
7b6e263
- Disable regression tests until we can figure out why they
7b6e263
  are dying in mock.
7b6e263
d023a63
* Sun Dec 10 2006 Luke Macken <lmacken@redhat.com> 2.2.1-5
d023a63
- Add python-devel to BuildRequires
d023a63
2d503de
* Sun Dec 10 2006 Luke Macken <lmacken@redhat.com> 2.2.1-4
2d503de
- Rebuild for python 2.5
2d503de
dcc8b10
* Mon Sep 18 2006 Luke Macken <lmacken@redhat.com> 2.2.1-3
dcc8b10
- Rebuild for FC6
dcc8b10
- Include pyo files instead of ghosting them
dcc8b10
cdbe452
* Thu Jul 13 2006 Luke Macken <lmacken@redhat.com> 2.2.1-2
cdbe452
- Rebuild
cdbe452
51ab428
* Thu Jul 13 2006 Luke Macken <lmacken@redhat.com> 2.2.1-1
51ab428
- Update to 2.2.1
51ab428
- Remove unnecessary python-abi requirement
51ab428
gijs 5804793
* Sat Apr 22 2006 Gijs Hollestelle <gijs@gewis.nl> 2.2.0-1
gijs 5804793
- Update to 2.2.0
gijs 5804793
gijs 46ca0a3
* Wed Feb 22 2006 Gijs Hollestelle <gijs@gewis.nl> 2.1.1-1
gijs 46ca0a3
- Update to 2.1.1 (Security fix)
gijs 46ca0a3
gijs 3f6a5bb
* Tue Nov  1 2005 Gijs Hollestelle <gijs@gewis.nl> 2.1.0-1
gijs 3f6a5bb
- Updated to 2.1.0
gijs 3f6a5bb
gijs 03c3ce1
* Sat May 14 2005 Gijs Hollestelle <gijs@gewis.nl> 2.0.0-2
gijs 03c3ce1
- Added dist tag
gijs 03c3ce1
gijs 494eb7a
* Sun May  8 2005 Gijs Hollestelle <gijs@gewis.nl> 2.0.0-1
gijs 494eb7a
- Updated to 2.0.0 final
gijs 494eb7a
- Updated python-cherrypy-tutorial-doc.patch to match new version
gijs 494eb7a
696d48f
* Wed Apr  6 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 2.0.0-0.2.b
696d48f
- Removed CFLAGS
696d48f
7ecea40
* Wed Mar 23 2005 Gijs Hollestelle <gijs[AT]gewis.nl> 2.0.0-0.1.b
7ecea40
- Initial Fedora Package