102 lines
3.7 KiB
RPMSpec
102 lines
3.7 KiB
RPMSpec
Name: python-beaker
|
|
Version: 1.10.1
|
|
Release: 1mamba
|
|
Summary: A Session and Caching library with WSGI Middleware
|
|
Group: System/Libraries/Python
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: http://beaker.groovie.org
|
|
Source: http://pypi.debian.net/Beaker/Beaker-%{version}.tar.gz
|
|
Patch0: python-beaker-1.5-absimport.patch
|
|
License: BSD
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: libpython-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: python-setuptools-devel
|
|
Requires: python >= %python_version
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
Beaker is a web session and general caching library that includes WSGI middleware for use in web applications.
|
|
As a general caching library, Beaker can handle storing for various times any Python object that can be pickled with optional back-ends on a fine-grained basis.
|
|
Beaker was built largely on the code from MyghtyUtils, then refactored and extended with database support.
|
|
|
|
Beaker includes Cache and Session WSGI middleware to ease integration with WSGI capable frameworks, and is automatically used by Pylons http://pylonshq.com/.
|
|
|
|
Features
|
|
========
|
|
|
|
* Fast, robust performance
|
|
* Multiple reader/single writer lock system to avoid duplicate simultaneous cache creation
|
|
* Cache back-ends include dbm, file, memory, memcached, and database (Using SQLAlchemy for multiple-db vendor support)
|
|
* Signed cookie's to prevent session hijacking/spoofing
|
|
* Cookie-only sessions to remove the need for a db or file backend (ideal for clustered systems)
|
|
* Extensible Container object to support new back-ends
|
|
* Cache's can be divided into namespaces (to represent templates, objects, etc.) then keyed for different copies
|
|
* Create functions for automatic call-backs to create new cache copies after expiration
|
|
* Fine-grained toggling of back-ends, keys, and expiration per Cache object
|
|
|
|
%if 0%{?with_pyver}
|
|
%pyver_package
|
|
%endif
|
|
|
|
%prep
|
|
%setup -q -n Beaker-%{version}
|
|
#%patch0 -p0
|
|
|
|
%build
|
|
%{__python} setup.py build
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%{__python} setup.py install \
|
|
--root="%{buildroot}" \
|
|
--install-headers=%{_includedir}/python \
|
|
--install-lib=%{python_sitearch} \
|
|
--record=%{name}.filelist
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%files %{?pyappend} -f %{name}.filelist
|
|
%defattr(-,root,root)
|
|
#%doc LICENSE CHANGELOG
|
|
|
|
%changelog
|
|
* Sat Feb 23 2019 Automatic Build System <autodist@mambasoft.it> 1.10.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Jun 07 2018 Automatic Build System <autodist@mambasoft.it> 1.10.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Apr 28 2018 Automatic Build System <autodist@mambasoft.it> 1.9.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Nov 16 2017 Automatic Build System <autodist@mambasoft.it> 1.9.0-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Mon Dec 05 2016 Automatic Build System <autodist@mambasoft.it> 1.8.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Aug 12 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.0-2mamba
|
|
- -py3 package support
|
|
|
|
* Fri Jan 29 2016 Automatic Build System <autodist@mambasoft.it> 1.8.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Apr 30 2015 Automatic Build System <autodist@mambasoft.it> 1.7.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri May 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.4-2mamba
|
|
- python 2.7 mass rebuild
|
|
|
|
* Thu Mar 07 2013 Automatic Build System <autodist@mambasoft.it> 1.6.4-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat May 01 2010 gil <puntogil@libero.it> 1.5.3-1mamba
|
|
- update to 1.5.3
|
|
|
|
* Fri Nov 27 2009 gil <puntogil@libero.it> 1.5-1mamba
|
|
- package created by autospec
|