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

#
# spec file for package python-django-admin_plugins (Version 1.0)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

Summary: Django Admin Plugins
Name:    python-django-admin_plugins
Version: 1.0
Release: 0
License: BSD
Group:   Development/Libraries/Python
URL:     http://gosatchmo.com/plugins/django-admin-plugins/
Source:  admin_plugins-%{version}_source.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: python-devel python-setuptools
%py_requires

%description
This Django application supports "plugin" blocks for the right sidebar of the Django Admin portal page.
Using a simple interface, django code can register sidebar plugins, and add links or custom templates to them.

%prep

%setup -n django-admin-plugins

%build

%install
export CFLAGS="%{optflags}"
%{__python} setup.py install \
	--root="%{buildroot}" \
	--prefix="%{_prefix}" \
        --record-rpm=INSTALLED_FILES

%clean


%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc AUTHORS.rst
%doc INSTALL.rst
%doc LICENSE.rst


%changelog
* Fri Sep 19 2008 - Peter Poeml
- fix filelist permissions, which were hosing the permissions of the
  site-packages directory, making it impossible to non-root users to use
  python.
* Sat Sep 13 2008 - Peter Nixon
- first build
openSUSE Build Service is sponsored by