python-beaker-vl.spec 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
  2. Name: python-beaker
  3. Version: 1.5.3
  4. Release: 1%{?_dist_release}
  5. Summary: WSGI middleware layer to provide sessions
  6. Summary(ja): セッションを提供するための WSGI ミドルウェアレイヤ
  7. Group: Development/Languages
  8. License: BSD
  9. URL: http://beaker.groovie.org/
  10. Source0: http://pypi.python.org/packages/source/B/Beaker/beaker-v%{version}.tar.bz2
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildArch: noarch
  13. BuildRequires: python-setuptools
  14. #Patch1: %{name}-absimport.patch
  15. %description
  16. Beaker is a caching library that includes Session and Cache objects built on
  17. Myghty's Container API used in MyghtyUtils. WSGI middleware is also included to
  18. manage Session objects and signed cookies.
  19. %prep
  20. %setup -q -n beaker
  21. #%patch1 -p0 -b .absimport
  22. %build
  23. %{__python} setup.py build
  24. %install
  25. rm -rf $RPM_BUILD_ROOT
  26. %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
  27. %clean
  28. rm -rf $RPM_BUILD_ROOT
  29. %files
  30. %defattr(-,root,root,-)
  31. %doc LICENSE CHANGELOG
  32. %{python_sitelib}/beaker/
  33. %{python_sitelib}/Beaker*
  34. %changelog
  35. * Thu Mar 18 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.5.3-1
  36. - initail build for VineSeed
  37. * Fri Jan 22 2010 Luke Macken <lmacken@redhat.com> - 1.5.1-1
  38. - Update to 1.5.1
  39. - Remove beaker-hmac2.4.patch, which made it into 1.4 upstream
  40. - Remove middleware-config.patch which is also upstream
  41. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-6
  42. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  43. * Tue Jul 21 2009 Kyle VanderBeek <kylev@kylev.com> - 1.3.1-5
  44. - Add patch based on upstream hg 403ef7c82d32 for config overwriting that
  45. breaks Pylons unit tests
  46. * Sat Jun 27 2009 Luke Macken <lmacken@redhat.com> - 1.3.1-4
  47. - Add a patch to remove the use of __future__.absolute_import in the google
  48. backend
  49. * Sat Jun 20 2009 Toshio Kuratomi <toshio@fedoraproject.org> - 1.3.1-3
  50. - Different hmac patch suitable for upstream inclusion.
  51. * Tue Jun 02 2009 Luke Macken <lmacken@redhat.com> - 1.3.1-2
  52. - Add a patch to remove Beaker's use of hashlib on Python2.4,
  53. due to incompatiblities with Python's hmac module (#503772)
  54. * Sun May 31 2009 Luke Macken <lmacken@redhat.com> - 1.3.1-1
  55. - Update to 1.3.1
  56. * Tue Apr 07 2009 Felix Schwarz <felix.schwarz@oss.schwarz.eu> - 1.3-1
  57. - Update to 1.3
  58. * Sun Apr 05 2009 Felix Schwarz <felix.schwarz@oss.schwarz.eu> - 1.2.3-1
  59. - Update to 1.2.3
  60. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.3-2
  61. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  62. * Tue Jan 06 2009 Luke Macken <lmacken@redhat.com> - 1.1.3-1
  63. - Update to 1.1.3
  64. * Sat Dec 20 2008 Felix Schwarz <felix.schwarz@oss.schwarz.eu> - 1.1.2-1
  65. - Update to 1.1.2
  66. * Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.0.3-2
  67. - Rebuild for Python 2.6
  68. * Tue Jun 24 2008 Felix Schwarz <felix.schwarz@oss.schwarz.eu> - 1.0.3-1
  69. - Update to 1.0.3.
  70. * Tue Jun 24 2008 Kyle VanderBeek <kylev@kylev.com> - 0.9.5-1
  71. - Update to 0.9.5.
  72. - Remove license patch which is now corrected upstream.
  73. * Mon May 12 2008 Kyle VanderBeek <kylev@kylev.com> - 0.9.4-4
  74. - Fix files to not use wildcard, fixing dir ownership
  75. * Mon May 12 2008 Kyle VanderBeek <kylev@kylev.com> - 0.9.4-3
  76. - Corrected license
  77. * Mon May 12 2008 Kyle VanderBeek <kylev@kylev.com> - 0.9.4-2
  78. - More restrictive file includes for safety
  79. * Sun May 11 2008 Kyle VanderBeek <kylev@kylev.com> - 0.9.4-1
  80. - Update to 0.9.4 (security fix)
  81. - Fix rpmlint complaints, add CHANGELOG and LICENSE
  82. * Wed Apr 9 2008 Kyle VanderBeek <kylev@kylev.com> - 0.9.3-1
  83. - Initial version.