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

Revision 8158, 3.6 KB checked in by Takemikaduchi, 10 years ago (diff)

new upstream release or rebuild

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