python-beaker-vl.spec 4.4 KB

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