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