python-beaker-vl.spec 4.1 KB

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