python-distutils-extra-vl.spec 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
  2. Name: python-distutils-extra
  3. Version: 2.28
  4. Release: 1%{?_dist_release}
  5. Summary: Integrate more support into Python's distutils
  6. Group: Development/Languages
  7. License: GPLv2+
  8. URL: https://launchpad.net/python-distutils-extra
  9. Source0: http://launchpad.net/%{name}/trunk/%{version}/+download/%{name}-%{version}.tar.gz
  10. # Support use of distutils-extra on systems without DISPLAY
  11. # https://bugs.launchpad.net/python-distutils-extra/+bug/735408
  12. Patch0: dont_import_gtk.patch
  13. BuildArch: noarch
  14. BuildRequires: python-devel
  15. BuildRequires: python-setuptools
  16. %description
  17. Enables you to easily integrate gettext support, themed icons and
  18. scrollkeeper based documentation into Python's distutils.
  19. %prep
  20. %setup -q
  21. %patch0 -p1 -b .dont_import_gtk
  22. %build
  23. %{__python} setup.py build
  24. %install
  25. %{__python} setup.py install --root=%{buildroot}
  26. chmod a+x %{buildroot}%{python_sitelib}/DistUtilsExtra/command/build_extra.py
  27. %files
  28. %defattr(-,root,root,-)
  29. %doc LICENSE doc/*
  30. %{python_sitelib}/DistUtilsExtra/
  31. %{python_sitelib}/python_distutils_extra*.egg-info
  32. %changelog
  33. * Sat Jul 23 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.28-1
  34. - initial build for Vine Linux
  35. * Thu Jun 02 2011 Fabian Affolter <fabian@bernewireless.net> - 2.27-1
  36. - Updated to new upstream version 2.27
  37. * Wed Mar 16 2011 Fabian Affolter <fabian@bernewireless.net> - 2.26-1
  38. - Added patch for DISPLAY support
  39. - Updated to new upstream version 2.26
  40. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.22-2
  41. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  42. * Fri Nov 12 2010 Fabian Affolter <fabian@bernewireless.net> - 2.22-1
  43. - Remove archive_name from 2010-06-04, this was useless and wrong
  44. - Updated to new upstream version 2.22
  45. * Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 2.19-2
  46. - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
  47. * Fri Jun 04 2010 Rahul Sundaram <sundaram@fedoraproject.org> - 2.19-1
  48. - Update to new upstream version 2.19. Resolves rhbz#600307
  49. - Update spec to match latest guidelines
  50. * Thu Feb 04 2010 Fabian Affolter <fabian@bernewireless.net> - 2.15-1
  51. - Updated to new upstream version 2.15
  52. * Sun Dec 20 2009 Fabian Affolter <fabian@bernewireless.net> - 2.12-2
  53. - Bumped release
  54. * Mon Dec 14 2009 Fabian Affolter <fabian@bernewireless.net> - 2.12-1
  55. - Updated to new upstream version 2.12
  56. * Sat Aug 01 2009 Fabian Affolter <fabian@bernewireless.net> - 2.6-2
  57. - Bump release
  58. * Sat Aug 01 2009 Fabian Affolter <fabian@bernewireless.net> - 2.6-1
  59. - Minor spec file changes
  60. - Changed source to launchpad
  61. - Updated to new upstream version 2.6
  62. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.91.2-4
  63. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  64. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.91.2-3
  65. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  66. * Sat Jan 24 2009 Fabian Affolter <fabian@bernewireless.net> - 1.91.2-2
  67. - Changed license to GPLv2+
  68. * Sat Nov 18 2008 Fabian Affolter <fabian@bernewireless.net> - 1.91.2-1
  69. - Initial package for Fedora