From e319ccd25dc4f3782cff55d849be849401817cf0 Mon Sep 17 00:00:00 2001 From: Kyle VanderBeek Date: May 31 2008 21:19:09 +0000 Subject: here comes routes, toward pylons! --- diff --git a/.cvsignore b/.cvsignore index e69de29..e47d92c 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Routes-1.8.tar.gz diff --git a/python-routes.spec b/python-routes.spec new file mode 100644 index 0000000..b0fe0e1 --- /dev/null +++ b/python-routes.spec @@ -0,0 +1,53 @@ +%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} + +Name: python-routes +Version: 1.8 +Release: 2%{?dist} +Summary: Rails-like routes for Python + +Group: Development/Languages +License: BSD +URL: http://routes.groovie.org/ +Source0: http://pypi.python.org/packages/source/R/Routes/Routes-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +BuildRequires: python-setuptools-devel + + +%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 -O1 --skip-build --root $RPM_BUILD_ROOT + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc INSTALL LICENSE README docs +%{python_sitelib}/* + + +%changelog +* Sun May 11 2008 Kyle VanderBeek - 1.8-2 +- Fix rpmlint warning. +- Add documentation files. + +* Wed Apr 9 2008 Kyle VanderBeek - 1.8-1 +- Initial version. + diff --git a/sources b/sources index e69de29..3d7e6d9 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +56b2425abe4c585fa5043122d1e75eca Routes-1.8.tar.gz