File python-django-app-test-runner.spec of Package python-django-app-test-runner
# norootforbuild
Name: python-django-app-test-runner
Version: 0.1
Release: 1
Summary: Run Django app tests standalone
License: BSD License
Group: Development/Libraries/Python
Source: django-app-test-runner-%{version}.tar.gz
URL: http://github.com/brosner/django-app-test-runner
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
Django-app-test-runner is a script that will run Django app tests standalone. This is very
handy if you are developing an app and don't want to setup a Django environment. This will
do it all for you.
Author:
--------
Brian Rosner <brosner@gmail.com>
%prep
%setup -q -n django-app-test-runner-%{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)