File python-django-batchadmin.spec of Package python-django-batchadmin
%define modname django-batchadmin
Name: python-%{modname}
Version: 0.1
Release: 1
Summary: Batch Actions in the Change List Views of Your Django Admin Site
URL: http://code.google.com/p/django-batchadmin/
License: MIT
Group: Development/Libraries/Python
Source: %{modname}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-buildroot
%{py_requires}
BuildRequires: python-devel python-setuptools
Requires: python-setuptools
%description
This Django app provides a ModelAdmin subclass that will render the model's
change list with selectable items and actions.
One design goal of this project is to do as little as possible. The only action
actually included in the project is a batch delete action. Changes to
ModelAdmin behavior and template structure are minimal.
Authors:
--------
Brian Beck <exogen@gmail.com>
%prep
%setup -q -n %{modname}-%{version}
%build
export CFLAGS="$RPM_OPT_FLAGS"
python setup.py build
%install
python setup.py install --single-version-externally-managed --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES
%clean
rm -rf %{buildroot}
%files -f INSTALLED_FILES
%defattr(-,root,root)
%changelog
* Sun Jan 18 2009 - James Oakley <jfunk@funktronics.ca> - 0.1-1
- Initial release