python-beaker-vl.spec 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  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.4
  4. Release: 2%{?_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-%{version}.tar.gz
  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-%{version}
  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. * Wed Sep 29 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.5.4-2
  36. - rebuilt with rpm-4.8.1 for pkg-config
  37. * Sun Jun 20 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.5.4-1
  38. - new upstream release
  39. * Thu Mar 18 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.5.3-1
  40. - initail build for VineSeed
  41. * Fri Jan 22 2010 Luke Macken <lmacken@redhat.com> - 1.5.1-1
  42. - Update to 1.5.1
  43. - Remove beaker-hmac2.4.patch, which made it into 1.4 upstream
  44. - Remove middleware-config.patch which is also upstream
  45. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-6
  46. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  47. * Tue Jul 21 2009 Kyle VanderBeek <kylev@kylev.com> - 1.3.1-5
  48. - Add patch based on upstream hg 403ef7c82d32 for config overwriting that
  49. breaks Pylons unit tests
  50. * Sat Jun 27 2009 Luke Macken <lmacken@redhat.com> - 1.3.1-4
  51. - Add a patch to remove the use of __future__.absolute_import in the google
  52. backend
  53. * Sat Jun 20 2009 Toshio Kuratomi <toshio@fedoraproject.org> - 1.3.1-3
  54. - Different hmac patch suitable for upstream inclusion.
  55. * Tue Jun 02 2009 Luke Macken <lmacken@redhat.com> - 1.3.1-2
  56. - Add a patch to remove Beaker's use of hashlib on Python2.4,
  57. due to incompatiblities with Python's hmac module (#503772)
  58. * Sun May 31 2009 Luke Macken <lmacken@redhat.com> - 1.3.1-1
  59. - Update to 1.3.1
  60. * Tue Apr 07 2009 Felix Schwarz <felix.schwarz@oss.schwarz.eu> - 1.3-1
  61. - Update to 1.3
  62. * Sun Apr 05 2009 Felix Schwarz <felix.schwarz@oss.schwarz.eu> - 1.2.3-1
  63. - Update to 1.2.3
  64. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.3-2
  65. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  66. * Tue Jan 06 2009 Luke Macken <lmacken@redhat.com> - 1.1.3-1
  67. - Update to 1.1.3
  68. * Sat Dec 20 2008 Felix Schwarz <felix.schwarz@oss.schwarz.eu> - 1.1.2-1
  69. - Update to 1.1.2
  70. * Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.0.3-2
  71. - Rebuild for Python 2.6
  72. * Tue Jun 24 2008 Felix Schwarz <felix.schwarz@oss.schwarz.eu> - 1.0.3-1
  73. - Update to 1.0.3.
  74. * Tue Jun 24 2008 Kyle VanderBeek <kylev@kylev.com> - 0.9.5-1
  75. - Update to 0.9.5.
  76. - Remove license patch which is now corrected upstream.
  77. * Mon May 12 2008 Kyle VanderBeek <kylev@kylev.com> - 0.9.4-4
  78. - Fix files to not use wildcard, fixing dir ownership
  79. * Mon May 12 2008 Kyle VanderBeek <kylev@kylev.com> - 0.9.4-3
  80. - Corrected license
  81. * Mon May 12 2008 Kyle VanderBeek <kylev@kylev.com> - 0.9.4-2
  82. - More restrictive file includes for safety
  83. * Sun May 11 2008 Kyle VanderBeek <kylev@kylev.com> - 0.9.4-1
  84. - Update to 0.9.4 (security fix)
  85. - Fix rpmlint complaints, add CHANGELOG and LICENSE
  86. * Wed Apr 9 2008 Kyle VanderBeek <kylev@kylev.com> - 0.9.3-1
  87. - Initial version.