Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > 61dca9e1a3ae3e1d9344aaad9ec1bcfd > files > 2

python-django-sorting-0.1-2.mga3.src.rpm

%define realname    django-sorting
%define name	    python-%{realname}
%define version 0.1
%define release %mkrel 2

Name: %{name}
Version: %{version}
Release: %{release}
Summary:        A Django application for easy sorting
Group:          Development/Python
License:        BSD
URL:            http://pypi.python.org/pypi/django-sorting
Source:         %{realname}-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
BuildArch:      noarch
BuildRequires:  python-devel python-setuptools
Requires:       python-django

%description
Django-sorting allows for easy sorting, and sorting links generation
without modifying your views.

%prep
%setup -q -n %{realname}-%{version}
find . -name \*._* -exec rm {} +
find . -name \*.buildinfo* -exec rm {} +

%build
%{__python} setup.py build

%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%{py_puresitedir}/*





%changelog

* Sun Jan 13 2013 umeabot <umeabot> 0.1-2.mga3
+ Revision: 378719
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Thu Jan 27 2011 ahmad <ahmad> 0.1-1.mga1
+ Revision: 42411
- imported package python-django-sorting