File python-django-view-shortcuts.spec of Package python-django-view-shortcuts

# norootforbuild

Name:           python-django-view-shortcuts
Version:        1.3.5
Release:        1
Summary:        A set of shortcuts for Django views
License:        LGPL
Group:          Development/Libraries/Python
Source:         django-view-shortcuts-%{version}.tar.gz
URL:            http://bitbucket.org/neithere/django-view-shortcuts
BuildRequires:  python-devel, python-setuptools
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       python-django
%{py_requires}
%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1}
BuildArch: noarch
%endif


%description
Some decorators and filters that the author finds extremely useful when writing non-generic Django views.
The package contains snippets of code that the author had been repeatedly writing with minor
differences for various websites. They were quickly extracted to the single package.

Author:
--------
    Andy Mikhailenko <andy@neithere.net>


%prep
%setup -q -n django-view-shortcuts-%{version}


%build
%{__python} setup.py build


%install
%{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES


%files -f INSTALLED_FILES
%defattr(-,root,root)
openSUSE Build Service is sponsored by