File python-django-maintenance.spec of Package python-django-maintenance
# norootforbuild
Name: python-django-maintenance
Version: 0.1
Release: 1
Summary: Schedules planned downtime and shuts down your Django site
License: BSD License
Group: Development/Libraries/Python
Source: django-maintenance-%{version}.tar.gz
URL: http://github.com/steingrd/django-maintenance
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-maintenance lets you define maintenance windows as objects. These maintenance windows are
time slots where your website or parts of it is non-operational. django-maintenance ships with
a middleware that lets you display a friendly message to your users during the downtime.
Author:
--------
Steingrim Dovland <steingrd@ifi.uio.no>
%prep
%setup -q -n django-maintenance-%{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)