File python-extdirect_django.spec of Package python-extdirect_django
# norootforbuild
Name: python-extdirect_django
Version: 0.3
Release: 1
Summary: Ext.Direct implementation for Django
License: BSD License
Group: Development/Libraries/Python
Source: extdirect.django-%{version}.tar.gz
URL: http://github.com/gsancho/extdirect.django
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
Ext.Direct implementation for Django.
Author:
--------
Santiago Videla <santiago.videla@gmail.com>
%prep
%setup -q -n extdirect.django-%{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)