|
@@ -0,0 +1,99 @@
|
|
|
+%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
|
+
|
|
|
+Name: python-distutils-extra
|
|
|
+Version: 2.28
|
|
|
+Release: 1%{?_dist_release}
|
|
|
+Summary: Integrate more support into Python's distutils
|
|
|
+
|
|
|
+Group: Development/Languages
|
|
|
+License: GPLv2+
|
|
|
+URL: https://launchpad.net/python-distutils-extra
|
|
|
+Source0: http://launchpad.net/%{name}/trunk/%{version}/+download/%{name}-%{version}.tar.gz
|
|
|
+# Support use of distutils-extra on systems without DISPLAY
|
|
|
+# https://bugs.launchpad.net/python-distutils-extra/+bug/735408
|
|
|
+Patch0: dont_import_gtk.patch
|
|
|
+BuildArch: noarch
|
|
|
+
|
|
|
+BuildRequires: python-devel
|
|
|
+BuildRequires: python-setuptools
|
|
|
+
|
|
|
+%description
|
|
|
+Enables you to easily integrate gettext support, themed icons and
|
|
|
+scrollkeeper based documentation into Python's distutils.
|
|
|
+
|
|
|
+
|
|
|
+%prep
|
|
|
+%setup -q
|
|
|
+%patch0 -p1 -b .dont_import_gtk
|
|
|
+
|
|
|
+
|
|
|
+%build
|
|
|
+%{__python} setup.py build
|
|
|
+
|
|
|
+
|
|
|
+%install
|
|
|
+%{__python} setup.py install --root=%{buildroot}
|
|
|
+chmod a+x %{buildroot}%{python_sitelib}/DistUtilsExtra/command/build_extra.py
|
|
|
+
|
|
|
+
|
|
|
+%files
|
|
|
+%defattr(-,root,root,-)
|
|
|
+%doc LICENSE doc/*
|
|
|
+%{python_sitelib}/DistUtilsExtra/
|
|
|
+%{python_sitelib}/python_distutils_extra*.egg-info
|
|
|
+
|
|
|
+
|
|
|
+%changelog
|
|
|
+* Sat Jul 23 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.28-1
|
|
|
+- initial build for Vine Linux
|
|
|
+
|
|
|
+* Thu Jun 02 2011 Fabian Affolter <fabian@bernewireless.net> - 2.27-1
|
|
|
+- Updated to new upstream version 2.27
|
|
|
+
|
|
|
+* Wed Mar 16 2011 Fabian Affolter <fabian@bernewireless.net> - 2.26-1
|
|
|
+- Added patch for DISPLAY support
|
|
|
+- Updated to new upstream version 2.26
|
|
|
+
|
|
|
+* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.22-2
|
|
|
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
+
|
|
|
+* Fri Nov 12 2010 Fabian Affolter <fabian@bernewireless.net> - 2.22-1
|
|
|
+- Remove archive_name from 2010-06-04, this was useless and wrong
|
|
|
+- Updated to new upstream version 2.22
|
|
|
+
|
|
|
+* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 2.19-2
|
|
|
+- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
|
|
+
|
|
|
+* Fri Jun 04 2010 Rahul Sundaram <sundaram@fedoraproject.org> - 2.19-1
|
|
|
+- Update to new upstream version 2.19. Resolves rhbz#600307
|
|
|
+- Update spec to match latest guidelines
|
|
|
+
|
|
|
+* Thu Feb 04 2010 Fabian Affolter <fabian@bernewireless.net> - 2.15-1
|
|
|
+- Updated to new upstream version 2.15
|
|
|
+
|
|
|
+* Sun Dec 20 2009 Fabian Affolter <fabian@bernewireless.net> - 2.12-2
|
|
|
+- Bumped release
|
|
|
+
|
|
|
+* Mon Dec 14 2009 Fabian Affolter <fabian@bernewireless.net> - 2.12-1
|
|
|
+- Updated to new upstream version 2.12
|
|
|
+
|
|
|
+* Sat Aug 01 2009 Fabian Affolter <fabian@bernewireless.net> - 2.6-2
|
|
|
+- Bump release
|
|
|
+
|
|
|
+* Sat Aug 01 2009 Fabian Affolter <fabian@bernewireless.net> - 2.6-1
|
|
|
+- Minor spec file changes
|
|
|
+- Changed source to launchpad
|
|
|
+- Updated to new upstream version 2.6
|
|
|
+
|
|
|
+* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.91.2-4
|
|
|
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
+
|
|
|
+* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.91.2-3
|
|
|
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
+
|
|
|
+* Sat Jan 24 2009 Fabian Affolter <fabian@bernewireless.net> - 1.91.2-2
|
|
|
+- Changed license to GPLv2+
|
|
|
+
|
|
|
+* Sat Nov 18 2008 Fabian Affolter <fabian@bernewireless.net> - 1.91.2-1
|
|
|
+- Initial package for Fedora
|
|
|
+
|