File python-django-app-plugins.spec of Package python-django-app-plugins
# norootforbuild
Name: python-django-app-plugins
Version: 0.1.1
Release: 1
Summary: Django app-plugins
License: MIT
Group: Development/Libraries/Python
Source: django-app-plugins-%{version}.tar.gz
URL: http://code.google.com/p/django-app-plugins
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 template extension system for marking points in your django templates as 'plugin-points', and providing
plugins which inject themselves at those points. Multiple applications can be injected at each plugin
point, and 'registered' plugin-points can have the visibility, order and access of the plugins
controlled via DB models. This control can be done on a site wide or per-user basis. Thus you can
allow users to add, remove, and reorder the plugins on their profile page for instance.
Author:
--------
Doug Napoleone <doug.napoleone@gmail.com>
%prep
%setup -q -n django-app-plugins-%{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)