SPECS: python-Beaker.spec (NEW) - initial release

emes emes at pld-linux.org
Sun Nov 19 03:58:21 CET 2006


Author: emes                         Date: Sun Nov 19 02:58:21 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial release

---- Files affected:
SPECS:
   python-Beaker.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/python-Beaker.spec
diff -u /dev/null SPECS/python-Beaker.spec:1.1
--- /dev/null	Sun Nov 19 03:58:21 2006
+++ SPECS/python-Beaker.spec	Sun Nov 19 03:58:16 2006
@@ -0,0 +1,58 @@
+# $Revision$, $Date$
+%define 	module	        beaker
+%define     fname           Beaker
+%define     python_version  2.4
+Summary:	Session (and caching soon) WSGI Middleware
+Name:		python-%{fname}
+Version:	0.6.1
+Release:	0.1
+License:	MIT
+Group:		Libraries/Python
+Source0:    http://cheeseshop.python.org/packages/source/B/%{fname}/%{fname}-%{version}.tar.gz
+# Source0-md5:   58683737c7ebf54d9903ff849247cc3b
+URL:		http://beaker.groovie.org/
+BuildRequires:  python-setuptools
+Requires:	python >= %{python_version}
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Beaker is a simple WSGI middleware to use the Myghty Container API
+
+MyghtyUtils contains a very robust Container API for storing data using
+various backend. Beakeruses those APIs to implement common web application
+wrappers, like sessions and caching, in WSGI middleware. Currently the only
+middleware implemented is that for sessions but more is coming soon.
+
+%prep
+%setup -qn %{fname}-%{version}
+
+%build
+python setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+python setup.py install \
+	--root=$RPM_BUILD_ROOT \
+	--optimize=2
+
+find $RPM_BUILD_ROOT%{py_sitescriptdir} -name \*.py -exec rm {} \;
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{py_sitescriptdir}/%{module}
+%{py_sitescriptdir}/%{fname}-%{version}-py%{python_version}.egg-info
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2006/11/19 02:58:16  emes
+- initial release
+
================================================================


More information about the pld-cvs-commit mailing list