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

radzio radzio at pld-linux.org
Sun May 7 11:57:15 CEST 2006


Author: radzio                       Date: Sun May  7 09:57:15 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial release

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

---- Diffs:

================================================================
Index: SPECS/python-Routes.spec
diff -u /dev/null SPECS/python-Routes.spec:1.1
--- /dev/null	Sun May  7 11:57:15 2006
+++ SPECS/python-Routes.spec	Sun May  7 11:57:09 2006
@@ -0,0 +1,55 @@
+# $Revision$, $Date$
+Summary:	Python package for  mapping URL's to dicts and vice versa
+Name:		python-Routes
+Version:	1.3.2
+Release:	1
+Group:		Development/Languages/Python
+License:	BSD (?)
+Source0:	http://cheeseshop.python.org/packages/source/R/Routes/Routes-%{version}.tar.gz
+# Source0-md5:	967fe418f3afb8fb49d0be99d835b6bc
+URL:		http://wsgiarea.pocoo.org/colubrid/
+BuildRequires:	python-devel
+BuildRequires:	python-setuptools >= 0.6-0.a11.1
+%pyrequires_eq  python-modules
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Routes is a Python re-implementation of the Rails routes system for mapping
+URL's to Controllers/Actions and generating URL's. Routes makes it easy to
+create pretty and concise URL's that are RESTful with little effort.
+
+%prep
+%setup -q -n Routes-%{version}
+
+%build
+python setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+python setup.py install \
+	--single-version-externally-managed \
+	--optimize=2 \
+	--root=$RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT%{py_sitescriptdir} -name \*.py -exec rm -f \{\} \;
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGELOG docs/
+%{py_sitescriptdir}/Routes*
+%{py_sitescriptdir}/routes*
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog -n python-Routes
+* %{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/05/07 09:57:09  radzio
+- initial release
+
+
================================================================


More information about the pld-cvs-commit mailing list