python-beaker-vl.spec 4.0 KB

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