python-django-tagging-vl.spec 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
  2. %define alphatag r154
  3. %define srcname django-tagging
  4. Name: python-%{srcname}
  5. Version: 0.3
  6. Release: 2.20080217svn%{alphatag}%{?_dist_release}
  7. Summary: A generic tagging application for Django projects
  8. Group: Development/Languages
  9. License: MIT
  10. URL: http://code.google.com/p/django-tagging/
  11. # svn export -r154 http://django-tagging.googlecode.com/svn/trunk/ django-tagging-0.3-r154
  12. # tar zcf django-tagging-0.3-r154.tar.gz django-tagging-0.3-r154
  13. Source0: %{srcname}-%{version}-%{alphatag}.tar.gz
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  15. BuildArch: noarch
  16. BuildRequires: python-devel
  17. Requires: python-django
  18. %description
  19. A generic tagging application for Django projects, which allows association
  20. of a number of tags with any Model instance and makes retrieval of tags
  21. simple.
  22. %prep
  23. %setup -q -n %{srcname}-%{version}-%{alphatag}
  24. %build
  25. %{__python} setup.py build
  26. %install
  27. %__rm -rf $RPM_BUILD_ROOT
  28. %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
  29. %clean
  30. %__rm -rf $RPM_BUILD_ROOT
  31. %files
  32. %defattr(-,root,root,-)
  33. %doc CHANGELOG.txt LICENSE.txt README.txt docs/*
  34. %{python_sitelib}/*
  35. %changelog
  36. * Thu Sep 02 2010 Munehiro Yamamoto <munepi@vinelinux.org> - 0.3-2.20080217svnr154
  37. - changed from Django to python-django in Requires: (see changeset r1742)
  38. * Mon Aug 23 2010 Munehiro Yamamoto <munepi@vinelinux.org> - 0.3-1.20080217svnr154
  39. - initial build based on Fedora development
  40. * Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.3-3.20080217svnr154
  41. - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
  42. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3-2.20080217svnr154
  43. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  44. * Mon Mar 02 2009 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> 0.3-1.20080217svnr154
  45. - Add Requires: Django
  46. * Wed Feb 18 2009 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> 0.3-0.20080217svnr154
  47. - Initial RPM release