source: projects/specs/trunk/p/python-setuptools/python-setuptools-vl.spec @ 8896

Revision 8896, 3.7 KB checked in by kudoh, 10 years ago (diff)

new upstream release and rebuilt

Line 
1%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
2
3Name:           python-setuptools
4Version:        5.4.2
5Release:        1%{?_dist_release}
6Summary:        Download, build, install, upgrade, and uninstall Python packages
7Summary(ja):     Python パッケージのダウンロード、ビルド、インストール、アップグレードおよびアンインストール用ツール
8Group:          Development/Tools
9License:        PSFL/ZPL
10URL:            https://pypi.python.org/pypi/setuptools
11Source0:        https://pypi.python.org/packages/source/s/setuptools/setuptools-%{version}.tar.gz
12Source1:        psfl.txt
13Source2:        zpl.txt
14BuildRoot:      %{_tmppath}/%{name}-%{version}-root
15
16BuildArch:      noarch
17BuildRequires:  python-devel
18
19%description
20setuptools is a collection of enhancements to the Python distutils that allow
21you to more easily build and distribute Python packages, especially ones that
22have dependencies on other packages.
23
24%description -l ja
25setuptools は Python distutils の拡張機能を集めたツールです。
26このツールにより Python パッケージの構築や配布が簡単に行えるように
27なります。特に他のパッケージに依存しているパッケージを扱う際に便利
28です。
29
30
31%prep
32%setup -q -n setuptools-%{version}
33#find -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python}|'
34
35
36%build
37CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
38
39
40%install
41rm -rf $RPM_BUILD_ROOT
42%{__python} setup.py install -O1 --skip-build \
43    --root $RPM_BUILD_ROOT \
44    --single-version-externally-managed
45install -p -m 0644 %{SOURCE1} %{SOURCE2} .
46find $RPM_BUILD_ROOT%{python_sitelib} -name '*.exe' | xargs rm -f
47
48
49%clean
50rm -rf $RPM_BUILD_ROOT
51
52
53%files
54%defattr(-,root,root,-)
55%doc *.txt
56%{_bindir}/*
57%{python_sitelib}/*
58
59
60%changelog
61* Fri Aug 08 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> 5.4.2-1
62- new upstream release
63
64* Sat Jul 26 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> 5.4.1-1
65- new upstream release
66
67* Sun Jul 06 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> 5.4-1
68- new upstream release
69
70* Sat Apr 26 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> 3.4.4-1
71- new upstream release
72
73* Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6c11-2
74- rebuild with python-2.7.2
75
76* Tue Feb 02 2010 Shu KONNO <owa@bg.wakwak.com> 0.6c11-1
77- new upstream release
78
79* Tue Feb 02 2010 Shu KONNO <owa@bg.wakwak.com> 0.6c9-2
80- rebuild with python-2.6
81
82* Sun Dec 07 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.6c9-1
83- new upstream release
84- add japanese summary and description
85
86* Mon Jul 21 2008 Shu KONNO <owa@bg.wakwak.com> - 0.6c3-1vl5
87- rebuilt with python-2.5.2
88- applied new versioning policy
89
90* Sat Nov 25 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.6c3-1vl2
91- rebuilt for Vine Linux 4.0
92- changed Group to Development/Tools
93
94* Wed Nov 15 2006 Susumu Tanimura <stanimura-ngs@umin.ac.jp>
95- Refurbished for VineLinux3.2
96
97* Tue Sep 12 2006 Konstantin Ryabitsev <icon@fedoraproject.org> - 0.6c2-1
98- Upstream 0.6c2
99- Ghostbusting
100
101* Mon Jul 31 2006 Konstantin Ryabitsev <icon@fedoraproject.org> - 0.6c1-2
102- Set perms on license files (#200768)
103
104* Sat Jul 22 2006 Konstantin Ryabitsev <icon@fedoraproject.org> - 0.6c1-1
105- Version 0.6c1
106
107* Wed Jun 28 2006 Konstantin Ryabitsev <icon@fedoraproject.org> - 0.6b3-1
108- Taking over from Ignacio
109- Version 0.6b3
110- Ghost .pyo files in sitelib
111- Add license files
112- Remove manual python-abi, since we're building FC4 and up
113- Kill .exe files
114
115* Wed Feb 15 2006 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.6a10-1
116- Upstream update
117
118* Mon Jan 16 2006 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.6a9-1
119- Upstream update
120
121* Sat Dec 24 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.6a8-1
122- Initial RPM release
Note: See TracBrowser for help on using the repository browser.