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