python-cherrypy-vl.spec 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
  2. Name: python-cherrypy
  3. Version: 3.2.4
  4. Release: 1%{?_dist_release}
  5. Summary: Pythonic, object-oriented web development framework
  6. Group: Development/Libraries
  7. License: BSD
  8. URL: http://www.cherrypy.org/
  9. Source0: http://download.cherrypy.org/cherrypy/%{version}/CherryPy-%{version}.tar.gz
  10. Patch0: python-cherrypy-3.2.4-tutorial-doc.patch
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  12. BuildArch: noarch
  13. BuildRequires: python-devel
  14. BuildRequires: python-setuptools
  15. BuildRequires: tidy
  16. Vendor: Project Vine
  17. Distribution: Vine Linux
  18. %description
  19. CherryPy allows developers to build web applications in much the same way
  20. they would build any other object-oriented Python program. This usually
  21. results in smaller source code developed in less time.
  22. %prep
  23. %setup -q -n CherryPy-%{version}
  24. %patch0 -p1
  25. %{__sed} -i 's/\r//' README.txt cherrypy/tutorial/README.txt cherrypy/tutorial/tutorial.conf
  26. %build
  27. %{__python} setup.py build
  28. %install
  29. %__rm -rf $RPM_BUILD_ROOT
  30. %{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
  31. %clean
  32. %__rm -rf $RPM_BUILD_ROOT
  33. %files
  34. %defattr(-,root,root,-)
  35. %doc README.txt
  36. %doc cherrypy/tutorial
  37. %{_bindir}/cherryd
  38. %{python_sitelib}/*
  39. %changelog
  40. * Sun Jan 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.4-1
  41. - update to 3.2.4
  42. - update Patch0 (python-cherrypy-3.2.4-tutorial-doc.patch)
  43. - remove Patch1 (python-cherrypy-changederrormessage.patch)
  44. * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.2-2
  45. - rebuild with python-2.7.2
  46. * Mon Aug 23 2010 Munehiro Yamamoto <munepi@vinelinux.org> 3.1.2-1
  47. - initial build based on Fedora development
  48. * Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.2-5
  49. - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
  50. * Mon May 31 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 3.1.2-4
  51. - Fix a failing unittest with newer python
  52. * Sat Apr 24 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 3.1.2-3
  53. - Revert a try at 3.2.x-rc1 as the tests won't pass without some work.
  54. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.2-2
  55. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  56. * Tue Jun 16 2009 Toshio Kuratomi <toshio@fedoraproject.org> - 3.1.2-1
  57. - New upstream with python-2.6 fixes.
  58. - BR tidy for tests.
  59. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.1-2
  60. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  61. * Mon Dec 1 2008 Toshio Kuratomi <toshio@fedoraproject.org> - 3.1.1-1
  62. - Update to 3.1.1
  63. - Fix python-2.6 build errors
  64. - Make test code non-interactive via cmdline switch
  65. - Refresh the no test and tutorial patch
  66. * Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 3.0.3-3
  67. - Rebuild for Python 2.6
  68. * Tue Jan 22 2008 Toshio Kuratomi <toshio@fedoraproject.org> 3.0.3-2
  69. - Forgot to upload the tarball.
  70. * Mon Jan 21 2008 Toshio Kuratomi <toshio@fedoraproject.org> 3.0.3-1
  71. - Upgrade to 3.0.3.
  72. * Thu Jan 17 2008 Toshio Kuratomi <toshio@fedoraproject.org> 2.3.0-2
  73. - EINTR Patch needed to be forwarded ported as well as it is only applied to
  74. CP trunk (3.x).
  75. * Thu Jan 17 2008 Toshio Kuratomi <toshio@fedoraproject.org> 2.3.0-1
  76. - Update to new upstream which rolls in the backported security fix.
  77. - Refresh other patches to apply against new version.
  78. - Change to new canonical source URL.
  79. - Reenable tests.
  80. * Sun Jan 6 2008 Toshio Kuratomi <toshio@fedoraproject.org> 2.2.1-8
  81. - Fix a security bug with a backport of http://www.cherrypy.org/changeset/1775
  82. - Include the egginfo files as well as the python files.
  83. * Sat Nov 3 2007 Luke Macken <lmacken@redhat.com> 2.2.1-7
  84. - Apply backported fix from http://www.cherrypy.org/changeset/1766
  85. to improve CherryPy's SIGSTOP/SIGCONT handling (Bug #364911).
  86. Thanks to Nils Philippsen for the patch.
  87. * Mon Feb 19 2007 Luke Macken <lmacken@redhat.com> 2.2.1-6
  88. - Disable regression tests until we can figure out why they
  89. are dying in mock.
  90. * Sun Dec 10 2006 Luke Macken <lmacken@redhat.com> 2.2.1-5
  91. - Add python-devel to BuildRequires
  92. * Sun Dec 10 2006 Luke Macken <lmacken@redhat.com> 2.2.1-4
  93. - Rebuild for python 2.5
  94. * Mon Sep 18 2006 Luke Macken <lmacken@redhat.com> 2.2.1-3
  95. - Rebuild for FC6
  96. - Include pyo files instead of ghosting them
  97. * Thu Jul 13 2006 Luke Macken <lmacken@redhat.com> 2.2.1-2
  98. - Rebuild
  99. * Thu Jul 13 2006 Luke Macken <lmacken@redhat.com> 2.2.1-1
  100. - Update to 2.2.1
  101. - Remove unnecessary python-abi requirement
  102. * Sat Apr 22 2006 Gijs Hollestelle <gijs@gewis.nl> 2.2.0-1
  103. - Update to 2.2.0
  104. * Wed Feb 22 2006 Gijs Hollestelle <gijs@gewis.nl> 2.1.1-1
  105. - Update to 2.1.1 (Security fix)
  106. * Tue Nov 1 2005 Gijs Hollestelle <gijs@gewis.nl> 2.1.0-1
  107. - Updated to 2.1.0
  108. * Sat May 14 2005 Gijs Hollestelle <gijs@gewis.nl> 2.0.0-2
  109. - Added dist tag
  110. * Sun May 8 2005 Gijs Hollestelle <gijs@gewis.nl> 2.0.0-1
  111. - Updated to 2.0.0 final
  112. - Updated python-cherrypy-tutorial-doc.patch to match new version
  113. * Wed Apr 6 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 2.0.0-0.2.b
  114. - Removed CFLAGS
  115. * Wed Mar 23 2005 Gijs Hollestelle <gijs[AT]gewis.nl> 2.0.0-0.1.b
  116. - Initial Fedora Package