59 lines
1.6 KiB
RPMSpec
59 lines
1.6 KiB
RPMSpec
%define modname setuptools
|
|
Name: python-%{modname}
|
|
URL: http://peak.telecommunity.com/DevCenter/setuptools
|
|
Summary: Download, build, install, upgrade, and uninstall Python packages -- easily!
|
|
Version: 0.6
|
|
%define extraver b3
|
|
Release: 5
|
|
License: PSF or ZPL
|
|
Group: Development/Libraries/Python
|
|
Source: %{modname}-%{version}%{extraver}.tar.bz2
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
%{py_requires}
|
|
Requires: python-devel
|
|
BuildRequires: python-devel
|
|
|
|
%description
|
|
setuptools is a collection of enhancements to the Python distutils (for Python
|
|
2.3 and up) that allow you to more easily build and distribute Python
|
|
packages, especially ones that have dependencies on other packages.
|
|
|
|
Authors:
|
|
--------
|
|
Phillip J. Eby <peak@eby-sarna.com>
|
|
|
|
%prep
|
|
%setup -q -n %{modname}-%{version}%{extraver}
|
|
|
|
%build
|
|
export CFLAGS="$RPM_OPT_FLAGS"
|
|
python setup.py build
|
|
|
|
%install
|
|
rm -rf %{buildroot}
|
|
python setup.py install --prefix=%{_prefix} --root=%{buildroot} --record=INSTALLED_FILES
|
|
|
|
%clean
|
|
rm -rf %{buildroot}
|
|
|
|
%files -f INSTALLED_FILES
|
|
%defattr(-,root,root)
|
|
%doc EasyInstall.txt api_tests.txt pkg_resources.txt setuptools.txt
|
|
|
|
%changelog
|
|
|
|
* Tue Jul 04 2006 - James Oakley <jfunk@funktronics.ca> - 0.6-5
|
|
- Requires python-devel at runtime
|
|
|
|
* Fri Jun 23 2006 - James Oakley <jfunk@funktronics.ca> - 0.6-4
|
|
- No longer need pth kludge
|
|
|
|
* Thu Jun 22 2006 - James Oakley <jfunk@funktronics.ca> - 0.6-3
|
|
- Update
|
|
|
|
* Thu Oct 13 2005 - James Oakley <jfunk@funktronics.ca> - 0.6-ft.2
|
|
- Create a pth file
|
|
|
|
* Thu Oct 13 2005 - James Oakley <jfunk@funktronics.ca> - 0.6-ft.1
|
|
- Initial release
|