]> git.pld-linux.org Git - packages/python-setuptools.git/blame - python-setuptools.spec
- update to setuptools-dev06, needed for net-snmp build (setuptools is broken on th)
[packages/python-setuptools.git] / python-setuptools.spec
CommitLineData
cb552c1a
ER
1%define module setuptools
2%define subver r60636
3%define rel 1
b79e62bc 4Summary: A collection of enhancements to the Python distutils
e4a6c4e2 5Summary(pl.UTF-8): Zestaw rozszerzeń dla pythonowych distutils
b79e62bc 6Name: python-setuptools
67093d8e 7Version: 0.6
cb552c1a 8Release: 0.%{subver}.%{rel}
67093d8e 9Epoch: 1
b79e62bc
AM
10License: GPL
11Group: Development/Languages/Python
cb552c1a
ER
12#Source0: http://cheeseshop.python.org/packages/source/s/setuptools/setuptools-%{version}%{sub}.tar.gz
13Source0: setuptools-0.6r60636.tar.bz2
0c58bff5 14# Source0-md5: dedbf6a4f71cd6deaf13ee885054f16b
b79e62bc 15URL: http://peak.telecommunity.com/DevCenter/setuptools
991fba2b 16BuildRequires: findutils
b79e62bc
AM
17%pyrequires_eq python
18BuildRequires: python-devel
8fd6c362 19Requires: python-devel
b79e62bc
AM
20BuildArch: noarch
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24setuptools is a collection of enhancements to the Python distutils
25(for Python 2.3.5 and up on most platforms; 64-bit platforms require a
26minimum of Python 2.4) that allow you to more easily build and
27distribute Python packages, especially ones that have dependencies on
28other packages.
29
1c17442b
JR
30%description -l pl.UTF-8
31setuptools to zestaw rozszerzeń do pythonowych distutils (dla Pythona
322.3.5 i nowszego na większości platform; platformy 64-bitowe wymagają
33co najmniej Pythona 2.4) umożliwiający łatwiejsze budowanie i
34rozprowadzanie pakietów Pythona, szczególnie tych mających zależności
35od innych pakietów.
eadb908c 36
b79e62bc 37%prep
cb552c1a 38%setup -q -n %{module}-%{version}
b79e62bc
AM
39
40%build
41python ./setup.py build
42
43%install
44rm -rf $RPM_BUILD_ROOT
45
46python ./setup.py install \
191919b9 47 --single-version-externally-managed \
b79e62bc
AM
48 --optimize 2 \
49 --root=$RPM_BUILD_ROOT
991fba2b 50
191919b9 51rm -f $RPM_BUILD_ROOT%{py_sitescriptdir}/*/*.exe
991fba2b
AM
52
53%py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
54%py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
b79e62bc 55%py_postclean
c2e9082a 56install site.py $RPM_BUILD_ROOT%{py_sitescriptdir}
b79e62bc
AM
57
58%clean
59rm -rf $RPM_BUILD_ROOT
60
61%files
62%defattr(644,root,root,755)
63%doc *.txt
64%attr(755,root,root) %{_bindir}/*
65%{py_sitescriptdir}/%{module}*
191919b9 66%{py_sitescriptdir}/*.py[co]
c2e9082a 67%{py_sitescriptdir}/site.py
This page took 0.061376 seconds and 4 git commands to generate.