File python-django-simple-cart.spec of Package python-django-simple-cart
# norootforbuild
Name: python-django-simple-cart
Version: 0.1.0
Release: 1
Summary: Simple cart for django based shop
License: BSD License
Group: Development/Libraries/Python
Source: django-simple-cart-%{version}.tar.gz
URL: http://bitbucket.org/lorien/django-simple-cart
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
Simple cart for django based shop.
Author:
--------
Grigoriy Petukhov <lorien@lorien.name>
%prep
%setup -q -n django-simple-cart-%{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)