]> git.pld-linux.org Git - packages/python3-setuptools.git/blame - python-setuptools.spec
- release 2
[packages/python3-setuptools.git] / python-setuptools.spec
CommitLineData
cb552c1a 1%define module setuptools
4ee766c4 2%define subver c11
33591704 3%define rel 2
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
026e3ba9 8Release: 2.%{subver}.%{rel}
67093d8e 9Epoch: 1
b79e62bc
AM
10License: GPL
11Group: Development/Languages/Python
f4841952 12Source0: http://cheeseshop.python.org/packages/source/s/setuptools/setuptools-%{version}%{subver}.tar.gz
4ee766c4 13# Source0-md5: 7df2a529a074f613b509fb44feefe74e
b79e62bc 14URL: http://peak.telecommunity.com/DevCenter/setuptools
b79e62bc 15BuildRequires: python-devel
b79e62bc
AM
16BuildArch: noarch
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
20setuptools is a collection of enhancements to the Python distutils
f4841952
ER
21that allow you to more easily build and distribute Python packages,
22especially ones that have dependencies on other packages.
23
24This package contains the runtime components of setuptools, necessary
25to execute the software that requires pkg_resources.py.
b79e62bc 26
1c17442b 27%description -l pl.UTF-8
d539774b
JB
28setuptools to zestaw rozszerzeń do pythonowych distutils umożliwiający
29łatwiejsze budowanie i rozprowadzanie pakietów Pythona, szczególnie
30tych mających zależności od innych pakietów.
31
32Ten pakiet zawiera składniki uruchomieniowe setuptools, potrzebne do
33uruchamiania kodu wymagającego pkg_resources.py.
eadb908c 34
f4841952
ER
35%package devel
36Summary: Download, install, upgrade, and uninstall Python packages
d539774b 37Summary(pl.UTF-8): Ściąganie, instalacja, uaktualnianie i usuwanie pakietów Pythona
f4841952 38Group: Development/Languages
469ff65d 39Requires: %{name} = %{epoch}:%{version}-%{release}
f4841952
ER
40Requires: python-devel
41
42%description devel
43setuptools is a collection of enhancements to the Python distutils
44that allow you to more easily build and distribute Python packages,
45especially ones that have dependencies on other packages.
46
47This package contains the components necessary to build and install
48software requiring setuptools.
49
d539774b
JB
50%description devel -l pl.UTF-8
51setuptools to zestaw rozszerzeń do pythonowych distutils umożliwiający
52łatwiejsze budowanie i rozprowadzanie pakietów Pythona, szczególnie
53tych mających zależności od innych pakietów.
54
55Ten pakiet zawiera składniki potrzebne do budowania i instalacji
56oprogramowania wymagającego setuptools.
57
b79e62bc 58%prep
f4841952 59%setup -q -n %{module}-%{version}%{subver}
b79e62bc
AM
60
61%build
f4841952 62%{__python} ./setup.py build
b79e62bc
AM
63
64%install
65rm -rf $RPM_BUILD_ROOT
66
d539774b 67%{__python} ./setup.py install \
191919b9 68 --single-version-externally-managed \
b79e62bc
AM
69 --optimize 2 \
70 --root=$RPM_BUILD_ROOT
991fba2b 71
191919b9 72rm -f $RPM_BUILD_ROOT%{py_sitescriptdir}/*/*.exe
991fba2b
AM
73
74%py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
75%py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
b79e62bc 76%py_postclean
c2e9082a 77install site.py $RPM_BUILD_ROOT%{py_sitescriptdir}
b79e62bc
AM
78
79%clean
80rm -rf $RPM_BUILD_ROOT
81
82%files
83%defattr(644,root,root,755)
f4841952 84%doc pkg_resources.txt setuptools.txt
b79e62bc 85%{py_sitescriptdir}/%{module}*
f4841952
ER
86%{py_sitescriptdir}/pkg_resources.py[co]
87%{py_sitescriptdir}/site.py[co]
c2e9082a 88%{py_sitescriptdir}/site.py
f4841952
ER
89
90%files devel
91%defattr(644,root,root,755)
92%doc EasyInstall.txt README.txt api_tests.txt
93%attr(755,root,root) %{_bindir}/easy_install*
94%{py_sitescriptdir}/easy_install.py[co]
This page took 0.075591 seconds and 4 git commands to generate.