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

# norootforbuild

Name:           python-django-ticker
Version:        0.2.1
Release:        1
Summary:        A simple Django app for newsticker with a row level permission based workflow
License:        BSD License
Group:          Development/Libraries/Python
Source:         django-ticker-%{version}.tar.gz
URL:            http://github.com/jezdez/django-ticker
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-ticker is a reusable Django application that provides a ticker like news section
including row level permissions. What does this mean?
In django-ticker you have a fine grained permission control what the (administrative)
user can do and what not. Besides the default Django permissions -- add, change, delete
-- there are some extra permissions:
    - change_foreign;
    - publish.

Author:
--------
    Jannis Leidel <jannis@leidel.info>


%prep
%setup -q -n django-ticker-%{version}


%build
find -name .\* -delete
%{__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