%define realname django-profile %define name python-%{realname} %define version 0.6 %define release %mkrel 2 %define vcsdate 20090813 %define vcstag r420 Name: %{name} Version: %{version} Release: %{release} Summary: Django pluggable user profile zone Group: Development/Python License: BSD URL: http://code.google.com/p/django-profile/ Source: %{realname}-%{version}-%{vcstag}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildArch: noarch BuildRequires: python-devel python-setuptools Requires: python-django python-imaging %description This is a user private zone/profile management application, allowing the user to take control of his account and insert information about him in his profile. Inside this package you will find a demo application which will show you what can be accomplished with the rest of the utilities included in the package. %prep %setup -q -n %{realname}-%{version}-%{vcstag} %build %{__python} setup.py build %install rm -rf $RPM_BUILD_ROOT %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT # delete unpackaged files rm -rf %{buildroot}%{py_puresitedir}/demo %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc INSTALL.txt CHANGELOG.txt LICENSE.txt README.txt TODO.txt demo/ %{py_puresitedir}/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 0.6-2.mga3 + Revision: 378699 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Thu Jan 27 2011 ahmad <ahmad> 0.6-1.mga1 + Revision: 42401 - imported package python-django-profile