File python-routes.spec of Package python-routes

%define modname Routes
Name:           python-routes
Version:        1.10.3
Release:        1
Summary:        Routing Recognition and Generation Tools
URL:            http://routes.groovie.org/
License:        BSD
Group:          Development/Libraries/Python
Source:         %{modname}-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-buildroot
%{py_requires}
BuildRequires:  python-devel python-setuptools
Requires:       python-setuptools

%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.

Speedy and dynamic URL generation means you get a URL with minimal cruft (no
big dangling query args). Shortcut features like Named Routes cut down on
repetitive typing.

Authors:
--------
    Ben Bangert <ben@groovie.org>

%prep
%setup -q -n %{modname}-%{version}

%build
export CFLAGS="$RPM_OPT_FLAGS"
python setup.py build

%install
python setup.py install --single-version-externally-managed --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES

%clean
rm -rf %{buildroot}

%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc docs CHANGELOG LICENSE README

%changelog
* Fri Mar 06 2009 - Ciaran Farrell <cfarrell1980@gmail.com> - 1.10.3
- Updating to 1.10.3

* Wed Mar 04 2009 - Ciaran Farrell <cfarrell1980@gmail.com> - 1.10.2
- Update to 1.10.2

* Tue Dec 02 2008 - James Oakley <jfunk@funktronics.ca> - 1.10.1-1
- Initial release

openSUSE Build Service is sponsored by