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