File python-django-photo-albums.spec of Package python-django-photo-albums

# norootforbuild

Name:           python-django-photo-albums
Version:        0.21.1
Release:        1
Summary:        Pluggable Django image gallery app
License:        MIT
Group:          Development/Libraries/Python
Source:         django-photo-albums-%{version}.tar.gz
URL:            http://bitbucket.org/kmike/django-photo-albums
BuildRequires:  python-devel, python-setuptools
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       python-django, python-django-generic-images, python-django-annoying
%{py_requires}
%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1}
BuildArch:      noarch
%endif


%description
Pluggable Django image gallery app.

Author:
--------
    Mikhail Korobov <kmike84@gmail.com>


%prep
%setup -q -n django-photo-albums-%{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