File python-django-lock.spec of Package python-django-lock

# norootforbuild

Name:           python-django-lock
Version:        1.1
Release:        1
Summary:        A protection method for Django views or complete sites
License:        MIT
Group:          Development/Libraries/Python
Source:         django-lock-%{version}.tar.gz
URL:            http://code.google.com/p/django-lock
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 Lock allows you to lock down either individual views or your whole site.
You have the option of an administrative preview password and the options to
lock down until a date is reached and/or only start locking down some time in
the future.

Author:
--------
    Chris Beaven <smileychris@gmail.com>


%prep
%setup -q -n django-lock-%{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)
openSUSE Build Service is sponsored by