File python-django-paypal.spec of Package python-django-paypal
# norootforbuild
Name: python-django-paypal
Version: 0.1.2
Release: 1
Summary: A pluggable Django application for integrating PayPal Payments
License: BSD License
Group: Development/Libraries/Python
Source: django-paypal-%{version}.tar.gz
URL: http://github.com/johnboxall/django-paypal
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
A pluggable Django application for integrating PayPal Payments Standard or Payments Pro.
Author:
--------
David Cramer <dcramer@gmail.com>
%prep
%setup -q -n django-paypal-%{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)