File python-django-readonlywidget.spec of Package python-django-readonlywidget
# norootforbuild
Name: python-django-readonlywidget
Version: 0.2
Release: 1
Summary: A ReadOnly Widget for Django
License: BSD License
Group: Development/Libraries/Python
Source: django-readonlywidget-%{version}.tar.gz
URL: http://bitbucket.org/stephrdev/django-readonlywidget
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 ReadOnly Widget for Django.
Author:
--------
Stephan Jaekel <steph@rdev.info>
%prep
%setup -q -n django-readonlywidget-%{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)