python24-vl.spec 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886
  1. # If you want to run test, add "--define '_run_test 1'" to rpm option
  2. # If you want to get document, add "--with doc" to rpm option
  3. %define run_test %{?_run_test:1}%{!?_run_test:0}
  4. %define with_doc %{?_with_doc:1}%{!?_with_doc:0}
  5. %define unicode ucs4
  6. %define tcl_major 8.4
  7. %define tk_major 8.4
  8. %define tix_major 8.4
  9. %define pybasever 2.4
  10. %define python_lib %{_libdir}/python%{pybasever}
  11. Packager: owa
  12. Summary: An interpreted, interactive, object-oriented programming language.
  13. Summary(ja): オブジェクト指向言語 Python2.4 インタプリタ
  14. Name: python24
  15. Version: 2.4.6
  16. Release: 5%{?_dist_release}
  17. License: PSF - see LICENSE
  18. Group: Development/Languages
  19. URL: http://www.python.org/2.4/
  20. Source0: Python-%{version}.tar.bz2
  21. Source1: db46_headers.tar.gz
  22. #Source6: http://gigue.peabody.jhu.edu/~mdboom/omi/source/shm_source/shmmodule.c
  23. Source6: shmmodule.c
  24. # For TEST
  25. Source7: http://people.freebsd.org/~perky/i18n/EUC-CN.TXT
  26. Source8: http://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP936.TXT
  27. Source9: http://people.freebsd.org/~perky/i18n/BIG5HKSCS.TXT
  28. Source10: http://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP932.TXT
  29. Source11: http://people.freebsd.org/~perky/i18n/EUC-JP.TXT
  30. Source12: http://www.unicode.org/Public/MAPPINGS/OBSOLETE/EASTASIA/JIS/SHIFTJIS.TXT
  31. Source13: http://people.freebsd.org/~perky/i18n/EUC-JISX0213.TXT
  32. Source14: http://people.freebsd.org/~perky/i18n/SHIFT_JISX0213.TXT
  33. Source15: http://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP949.TXT
  34. Source16: http://people.freebsd.org/~perky/i18n/EUC-KR.TXT
  35. Source17: http://www.unicode.org/Public/MAPPINGS/OBSOLETE/EASTASIA/KSC/JOHAB.TXT
  36. Source18: http://www.unicode.org/Public/MAPPINGS/OBSOLETE/EASTASIA/OTHER/BIG5.TXT
  37. Source19: http://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP950.TXT
  38. Source20: http://www.unicode.org/Public/3.2-Update/NormalizationTest-3.2.0.txt
  39. #Patch0: python-2.4.6-config.patch
  40. Patch3: Python-2.2.1-pydocnogui.patch
  41. Patch4: Python-2.3.3-nowhatsnew.patch
  42. Patch5: Python-2.3.3-distutilrpm.patch
  43. #Patch8: python-2.4.2-lib64.patch
  44. #Patch9: python-2.4.4c1-setup.lib64.patch
  45. Patch10: python-2.4.6-Setup.patch
  46. Patch11: python-2.4.6-Setup64.patch
  47. Patch12: python-2.4.6-lib64.patch
  48. Patch13: python-2.4.6-bsddb.patch
  49. # Security fixes
  50. Patch100: python-2.4.4_CVE-2007-4965.patch
  51. Patch110: python-2.4.4_CVE-2008-1721.patch
  52. Patch120: python-2.4.4-CVE-2008-1679.patch
  53. Patch130: python-2.4.4_CVE-2008-1887.patch
  54. Patch140: python-2.4.4_CVE-2007-2052.patch
  55. Obsoletes: python2
  56. Obsoletes: Distutils
  57. Obsoletes: python-base
  58. Provides: Distutils
  59. Provides: python2.4
  60. BuildRequires: db4-devel
  61. BuildRequires: readline-devel, libtermcap-devel, openssl-devel, gmp-devel
  62. BuildRequires: ncurses-devel, gdbm-devel, zlib-devel, expat-devel
  63. BuildRequires: tk tix gcc-c++ glibc-devel
  64. BuildRequires: xorg-x11-devel mesa-libGL-devel
  65. BuildRequires: gzip tar /usr/bin/find pkgconfig bzip2-devel
  66. BuildRequires: nkf
  67. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  68. %description
  69. Python is an interpreted, interactive, object-oriented programming
  70. language often compared to Tcl, Perl, Scheme or Java. Python includes
  71. modules, classes, exceptions, very high level dynamic data types and
  72. dynamic typing. Python supports interfaces to many system calls and
  73. libraries, as well as to various windowing systems (X11, Motif, Tk,
  74. Mac and MFC).
  75. Programmers can write new built-in modules for Python in C or C++.
  76. Python can be used as an extension language for applications that need
  77. a programmable interface. This package contains most of the standard
  78. Python modules, as well as modules for interfacing to the Tix widget
  79. set for Tk and RPM.
  80. Note that documentation for Python is provided in the python-docs
  81. package.
  82. %package devel
  83. Summary: The libraries and header files needed for Python development.
  84. Summary(ja): Python での開発に必要なライブラリやヘッダファイル
  85. Group: Development/Libraries
  86. Obsoletes: python2-devel
  87. %description devel
  88. The Python programming language's interpreter can be extended with
  89. dynamically loaded extensions and can be embedded in other programs.
  90. This package contains the header files and libraries needed to do
  91. these types of tasks.
  92. Install python-devel if you want to develop Python extensions. The
  93. python package will also need to be installed. You'll probably also
  94. want to install the python-docs package, which contains Python
  95. documentation.
  96. %package tools
  97. Summary: A collection of development tools included with Python.
  98. Summary(ja): Python に含まれる開発ツール一式
  99. Group: Development/Tools
  100. Requires: %{name} = %{version}
  101. Requires: %{name}-tkinter = %{version}
  102. Obsoletes: python2-tools
  103. %description tools
  104. The Python package includes several development tools that are used
  105. to build python programs.
  106. %if %{with_doc}
  107. %package docs
  108. Summary: Documentation for the Python programming language.
  109. Summary(ja): Python プログラミング言語のドキュメント
  110. Group: Applications/Documentation
  111. BuildArch: noarch
  112. BuildRequires: latex2html
  113. Obsoletes: python2-docs
  114. %description docs
  115. The python-docs package contains documentation on the Python
  116. programming language and interpreter. The documentation is provided
  117. in ASCII text files and in LaTeX source files.
  118. Install the python-docs package if you'd like to use the documentation
  119. for the Python language.
  120. %endif
  121. %package tkinter
  122. Summary: A graphical user interface for the Python scripting language.
  123. Summary(ja): Python スクリプト言語のグラフィカルインターフェイス
  124. Group: Development/Languages
  125. Obsoletes: tkinter2
  126. BuildRequires: tcl, tk
  127. Requires: %{name} = %{version}
  128. Requires: tix
  129. %description tkinter
  130. The Tkinter (Tk interface) program is an graphical user interface for
  131. the Python scripting language.
  132. You should install the tkinter package if you'd like to use a graphical
  133. user interface for Python programming.
  134. %prep
  135. %setup -q -n Python-%{version} -a 1
  136. #%patch0 -p1 -b .Setup
  137. %patch3 -p1 -b .no_gui
  138. %patch4 -p1 -b .nowhatsnew
  139. %patch5 -p1
  140. %if %{_lib} == lib64
  141. %patch11 -p1 -b .Setup64
  142. %patch12 -p1 -b .lib64
  143. %else
  144. %patch10 -p1 -b .Setup
  145. %endif
  146. %patch13 -p1 -b .bsddb
  147. # security fixes
  148. #%patch100 -p1 -b .CVE-2007-4965
  149. #%patch110 -p1 -b .CVE-2008-1721
  150. #%patch120 -p1 -b .CVE-2008-1679
  151. #%patch130 -p0 -b .CVE-2008-1887
  152. %patch140 -p0 -b .CVE-2007-2052
  153. # remove unneeded files
  154. rm -vf Lib/test/test_*.py.CVE*
  155. rm -vf Lib/test/test_*.py.orig
  156. rm -vf Lib/test/test_*.py.org
  157. # Temporary workaround to avoid confusing find-requires: don't ship the tests
  158. # as executable files
  159. chmod 0644 Lib/test/test_*.py
  160. # shm module
  161. cp %{SOURCE6} Modules
  162. cat >> Modules/Setup.dist << EOF
  163. # Shared memory module
  164. shm shmmodule.c
  165. EOF
  166. # Fix library flags
  167. pushd Modules
  168. mv Setup.dist Setup.dist.in
  169. sed "s|-ltcl|-ltcl%{tcl_major}|" < Setup.dist.in |\
  170. sed "s|-ltk|-ltk%{tk_major}|" |\
  171. sed "s|-ltix|-ltix%{tix_major}|" > Setup.dist
  172. rm -f Setup.dist.in
  173. popd
  174. %build
  175. topdir=`pwd`
  176. export CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -fPIC"
  177. export CXXFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -fPIC"
  178. export OPT="$RPM_OPT_FLAGS -D_GNU_SOURCE -fPIC"
  179. export LINKCC="gcc"
  180. if pkg-config openssl ; then
  181. export CFLAGS="$CFLAGS `pkg-config --cflags openssl`"
  182. export LDFLAGS="$LDFLAGS `pkg-config --libs-only-L openssl`"
  183. fi
  184. %configure --enable-ipv6 --enable-unicode=%{unicode} --enable-shared
  185. make OPT="$CFLAGS" %{?_smp_mflags}
  186. LD_LIBRARY_PATH=$topdir $topdir/python Tools/scripts/pathfix.py -i "/usr/bin/env python%{pybasever}" .
  187. make OPT="$CFLAGS" %{?_smp_mflags}
  188. # Doc
  189. %if %{with_doc}
  190. make %{?_smp_mflags} -C Doc
  191. rm Doc/html/index.html.in
  192. %endif
  193. # Test
  194. %if %{run_test}
  195. cp %{SOURCE7} ./
  196. cp %{SOURCE8} ./
  197. cp %{SOURCE9} ./
  198. cp %{SOURCE10} ./
  199. cp %{SOURCE11} ./
  200. cp %{SOURCE12} ./
  201. cp %{SOURCE13} ./
  202. cp %{SOURCE14} ./
  203. cp %{SOURCE15} ./
  204. cp %{SOURCE16} ./
  205. cp %{SOURCE17} ./
  206. cp %{SOURCE18} ./
  207. cp %{SOURCE19} ./
  208. cp %{SOURCE20} ./
  209. # This runs the test set twice (once with no compiled files, once with
  210. # the compiled files left by the previous test run).
  211. export LD_LIBRARY_PATH=$topdir
  212. export PYTHONHOME=$topdir
  213. export PYTHONPATH=$topdir/Lib:$topdir/Lib/test:$topdir/Lib/lib-tk:$topdir/Lib/site-packages:$topdir/Modules:$topdir/build/lib.linux-%{_host_cpu}-%{pybasever}
  214. find ./Lib -name '*.py[co]' -print | xargs rm -f
  215. ./python -tt ./Lib/test/regrtest.py -l
  216. ./python -tt ./Lib/test/regrtest.py -l
  217. #./python -tt ./Lib/test/test_bsddb.py -l
  218. #./python -tt ./Lib/test/test_bsddb.py -l
  219. %endif
  220. %install
  221. rm -fr $RPM_BUILD_ROOT
  222. mkdir -p $RPM_BUILD_ROOT/usr $RPM_BUILD_ROOT%{_mandir}
  223. # Clean up patched .py files that are saved as .lib64
  224. for f in distutils/command/install distutils/sysconfig; do
  225. rm -f Lib/$f.py.lib64
  226. done
  227. make DESTDIR=$RPM_BUILD_ROOT install
  228. # Fix the interpreter path in binaries installed by distutils
  229. # (which changes them by itself)
  230. # Make sure we preserve the file permissions
  231. for fixed in $RPM_BUILD_ROOT/usr/bin/pydoc; do
  232. sed 's,#!.*/python$,#!/usr/bin/env python%{pybasever},' $fixed > $fixed- \
  233. && cat $fixed- > $fixed && rm -f $fixed-
  234. done
  235. # tools
  236. mkdir -p $RPM_BUILD_ROOT%{python_lib}/site-packages
  237. echo "#!/bin/bash
  238. exec %{python_lib}/site-packages/pynche/pynche" \
  239. > $RPM_BUILD_ROOT/usr/bin/pynche
  240. chmod 755 $RPM_BUILD_ROOT/usr/bin/pynche
  241. echo "#!/bin/bash
  242. exec %{python_lib}/site-packages/modulator/modulator.py" \
  243. > $RPM_BUILD_ROOT/usr/bin/modulator
  244. chmod 755 $RPM_BUILD_ROOT/usr/bin/modulator
  245. # idle
  246. mkdir -p $RPM_BUILD_ROOT%{python_lib}/site-packages/idle
  247. install -m 755 ./Lib/idlelib/idle.py $RPM_BUILD_ROOT%{python_lib}/site-packages/idle
  248. mv $RPM_BUILD_ROOT/usr/bin/idle $RPM_BUILD_ROOT/idle
  249. sed "s/python/&%{pybasever}/" $RPM_BUILD_ROOT/idle > $RPM_BUILD_ROOT/usr/bin/idle
  250. chmod 755 $RPM_BUILD_ROOT/usr/bin/idle
  251. rm $RPM_BUILD_ROOT/idle
  252. #modulator
  253. cp -r Tools/modulator ${RPM_BUILD_ROOT}%{python_lib}/site-packages/
  254. #pynche
  255. rm -f Tools/pynche/*.pyw
  256. cp -r Tools/pynche $RPM_BUILD_ROOT%{python_lib}/site-packages/
  257. (mv Tools/modulator/README Tools/modulator/README.modulator)
  258. (mv Tools/pynche/README Tools/pynche/README.pynche)
  259. #gettext
  260. install -m755 Tools/i18n/pygettext.py $RPM_BUILD_ROOT/usr/bin/
  261. install -m755 Tools/i18n/msgfmt.py $RPM_BUILD_ROOT/usr/bin/
  262. # Get rid of crap
  263. find $RPM_BUILD_ROOT/ -name "*~"|xargs rm -f
  264. find $RPM_BUILD_ROOT/ -name ".cvsignore"|xargs rm -f
  265. find . -name "*~"|xargs rm -f
  266. find . -name ".cvsignore"|xargs rm -f
  267. #zero length
  268. rm -f $RPM_BUILD_ROOT%{python_lib}/site-packages/modulator/Templates/copyright
  269. # Clean up the testsuite - we don't need compiled files for it
  270. find $RPM_BUILD_ROOT%{python_lib}/test \
  271. -name "*.pyc" -o -name "*.pyo" | xargs rm -f
  272. rm -f $RPM_BUILD_ROOT%{python_lib}/LICENSE.txt
  273. find $RPM_BUILD_ROOT%{python_lib}/lib-dynload -type f | grep -v _tkinter.so | sed "s|$RPM_BUILD_ROOT||" > dynfiles
  274. chmod 755 $RPM_BUILD_ROOT%{python_lib}/lib-dynload/*.so
  275. chmod 755 $RPM_BUILD_ROOT%{_libdir}/libpython*.so.*
  276. ## move conflict files
  277. mkdir -p $RPM_BUILD_ROOT%{python_lib}/bin
  278. mv $RPM_BUILD_ROOT%{_bindir}/* $RPM_BUILD_ROOT%{python_lib}/bin
  279. mv $RPM_BUILD_ROOT%{python_lib}/bin/python%{pybasever} $RPM_BUILD_ROOT%{_bindir}/
  280. rm -rf $RPM_BUILD_ROOT%{_mandir}
  281. %clean
  282. rm -fr $RPM_BUILD_ROOT
  283. %files -f dynfiles
  284. %defattr(-, root, root)
  285. %doc LICENSE README
  286. %{_bindir}/python%{pybasever}
  287. %{_libdir}/libpython%{pybasever}.so*
  288. %dir %{python_lib}
  289. %dir %{python_lib}/bin
  290. %dir %{python_lib}/lib-dynload
  291. %dir %{python_lib}/site-packages
  292. %{python_lib}/bin/python
  293. %{python_lib}/*.py*
  294. %{python_lib}/*.doc
  295. %{python_lib}/bsddb
  296. %{python_lib}/compiler
  297. %{python_lib}/curses
  298. %{python_lib}/distutils
  299. %{python_lib}/email
  300. %{python_lib}/encodings
  301. %{python_lib}/hotshot
  302. %{python_lib}/idlelib
  303. %{python_lib}/lib-old
  304. %{python_lib}/logging
  305. %{python_lib}/plat-linux2
  306. %{python_lib}/xml
  307. #%{_mandir}/*/*
  308. %files devel
  309. %defattr(-,root,root)
  310. %{_includedir}/*
  311. %{python_lib}/config
  312. %{python_lib}/test
  313. %files tools
  314. %defattr(-,root,root,755)
  315. %doc Tools/modulator/README.modulator
  316. %doc Tools/pynche/README.pynche
  317. %exclude %{python_lib}/bin/python
  318. %{python_lib}/bin/*
  319. %{python_lib}/site-packages
  320. %if %{with_doc}
  321. %files docs
  322. %defattr(-,root,root,755)
  323. %doc Misc/NEWS Misc/README Misc/cheatsheet
  324. %doc Misc/HISTORY Doc/html
  325. %endif
  326. %files tkinter
  327. %defattr(-,root,root,755)
  328. %{python_lib}/lib-tk
  329. %{python_lib}/lib-dynload/_tkinter.so
  330. %changelog
  331. * Tue Oct 05 2010 Shu KONNO <owa@bg.wakwak.com> python2.4-2.4.6-5
  332. - changed %{name}-docs to noarch
  333. * Sun Sep 26 2010 Shu KONNO <owa@bg.wakwak.com> python2.4-2.4.6-4
  334. - rebuilt with rpm-4.8.1 for pkg-config
  335. * Tue Apr 20 2010 Shu KONNO <owa@bg.wakwak.com> python2.4-2.4.6-3
  336. - added db46_headers.tar.gz
  337. - update Setup.dist{32,64}.patch
  338. - changed default to '--without doc'
  339. - s/BuildPreReq/BuildRequires/
  340. * Thu May 07 2009 Shu KONNO <owa@bg.wakwak.com> python2.4-2.4.6-2vl5
  341. - added python-2.4.6-{Setup,Setup64,lib64}.patch
  342. - added _bsddb module
  343. - dropt Patch{0,8,9}
  344. - added python-2.4.6-bsddb.patch
  345. * Sat Dec 20 2008 Shu KONNO <owa@bg.wakwak.com> python2.4-2.4.6-1vl5
  346. - new upstream release
  347. - dropt python-2.4.4_CVE-2007-4965.patch
  348. - dropt python-2.4.4_CVE-2008-1721.patch
  349. - dropt python-2.4.4-CVE-2008-1679.patch
  350. - dropt python-2.4.4_CVE-2008-1887.patch
  351. * Wed Oct 22 2008 Shu KONNO <owa@bg.wakwak.com> python2.4-2.4.5-1vl5
  352. - new package name is %{name}
  353. - new sub-package name is %{name}-*
  354. * Sun Jun 08 2008 Shu KONNO <owa@bg.wakwak.com> 2.4.5-1vl5
  355. - applied new versioning policy and spec in utf-8
  356. - added BuildPrereq: xorg-x11-devel
  357. - imported updates from Vine4.2
  358. * Fri Apr 25 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.4.4-1.4vl4
  359. - add patch120 for fix CVE-2008-1679 (added fix of CVE-2007-4965)
  360. - add patch130 for fix CVE-2008-1887 (PyString_FromStringAndSize)
  361. - add patch140 for fix CVE-2007-2052 (_localemodule.c off-by-one err)
  362. * Mon Apr 21 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.4.4-1.3vl4
  363. - add patch110 CVE-2008-1721 (zlib module)
  364. - add remove unneeded files in Lib/test/
  365. #- new versioning policy
  366. * Wed Mar 12 2008 Shu KONNO <owa@bg.wakwak.com> 2.4.5-0vl1
  367. - updated python to 2.4.5
  368. * Wed Feb 20 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.4.4-0vl7
  369. - rebuild with expat-2.0.1
  370. * Mon Feb 18 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.4.4-0vl6
  371. - fix typo on Patch0 (s/db-4.2/db-4.3/)
  372. * Sun Feb 17 2008 Shu KONNO <owa@bg.wakwak.com> 2.4.4-0vl5
  373. - rebuild with tcl/tk-8.4.18
  374. * Sat Dec 01 2007 Shu KONNO <owa@bg.wakwak.com> 2.4.4-0vl4
  375. - imported updates from Vine4.2 Plus
  376. * Thu Nov 01 2007 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.4.4-0vl1.2
  377. - add BuildPrereq: nkf
  378. * Wed Oct 31 2007 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.4.4-0vl1.1
  379. - add patch100 for fix CVE-2007-4965 (imageop Module integer OF)
  380. * Sat Jun 16 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.4-0vl3
  381. - rebuilt with openssl-0.9.8e and tix-8.4.2
  382. - fixed spec file encoding
  383. * Wed May 09 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.4.4-0vl2
  384. - rebuilt with new toolchain and db4-4.3.x
  385. - modified Patch0 (s/db-4.2/db-4.3/)
  386. * Thu Oct 19 2006 Shu KONNO <owa@bg.wakwak.com> 2.4.4-0vl1
  387. - updated python to 2.4.4 (included security fix PSF-2006-001)
  388. - added japanese summary
  389. - updated patch8 (python-2.4.2-lib64.patch)
  390. - added patch9 (python-2.4.4c1-setup.lib64.patch)
  391. * Wed Sep 13 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.4.3-0vl4
  392. - change docs Group to Applications/Documentation. <BTS:VineLinux:163>
  393. * Fri Aug 18 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.4.3-0vl3
  394. - rebuild with readline-5.1 (x86_64)
  395. * Fri Apr 14 2006 Shu KONNO <owa@bg.wakwak.com> 2.4.3-0vl2
  396. - fixed python-2.4.3-config.patch cause undefined symbol: crypt
  397. * Thu Mar 30 2006 Shu KONNO <owa@bg.wakwak.com> 2.4.3-0vl1
  398. - updated python to 2.4.3
  399. - added python-2.4.3-config.patch instead of python-2.4.1c1-config.patch
  400. * Wed Feb 15 2006 Shu KONNO <owa@bg.wakwak.com> 2.4.2-0vl5
  401. - set permition of lib-dynload/*.so to 755
  402. - added without_doc option
  403. - rebuilt with x86_64
  404. * Thu Nov 17 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.4.2-0vl4
  405. - add run_test option
  406. * Fri Nov 4 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.4.2-0vl3.2
  407. - add BuildPrereq: bzip2-devel
  408. - arrange testing script
  409. * Wed Nov 02 2005 Shu KONNO <owa@bg.wakwak.com> 2.4.2-0vl3.1
  410. - back to %%configure macro
  411. - change testing script
  412. * Mon Oct 31 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.4.2-0vl3
  413. - update Patch8 (VineSeed:10306)
  414. - use ./configure instead of %%configure script
  415. - add forgotten popd
  416. * Fri Oct 28 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.4.2-0vl2
  417. - add --enable-shared to confiugre option
  418. - add %%{_libdir}/libpython2.4.so* to python package
  419. - add LD_LIBRARY_PATH=$topdir to use pathfix.py
  420. - change build method of Doc
  421. - add files for make test
  422. - change install method
  423. * Wed Sep 28 2005 Shu KONNO <owa@bg.wakwak.com> 2.4.2-0vl1
  424. - update python to 2.4.2 (final)
  425. * Wed Mar 30 2005 Shu KONNO <owa@bg.wakwak.com> 2.4.1-0vl1
  426. - update python to 2.4.1 (final)
  427. * Sat Mar 19 2005 Shu KONNO <owa@bg.wakwak.com> 2.4.1-0vl0.c2
  428. - update python to 2.4.1c2
  429. - moved all site-packages files to python-tools package
  430. * Sat Mar 12 2005 Shu KONNO <owa@bg.wakwak.com> 2.4.1-0vl0.c1
  431. - update python to 2.4.1c1
  432. - droped aspython2 macros
  433. - droped japanese-codecs module
  434. - droped Source2 idle, now it's provided from original source
  435. - droped Source3 modulator, now it's generated in a spec file
  436. - droped Source4 pynche, now it's generated in a spec file
  437. - droped Python-2.3.3-buildroot-bytecode.patch
  438. - changed python-2.3.3-config2.patch to python-2.4.1c1-config.patch
  439. * Wed Feb 09 2005 Shu KONNO <owa@bg.wakwak.com> 2.3.5-0vl1
  440. - update python to 2.3.5
  441. * Fri Feb 04 2005 Shu KONNO <owa@bg.wakwak.com> 2.3.4-0vl6
  442. - add PSF-2005-001.patch
  443. * Wed Nov 17 2004 Shu KONNO <owa@bg.wakwak.com> 2.3.4-0vl4
  444. - rebuilt
  445. * Wed Oct 13 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.3.4-0vl3
  446. - modified Patch0 and Patch8 (-ldb-4.0 -> -ldb-4.2)
  447. * Wed Oct 13 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.3.4-0vl2
  448. - rebuilt with db4-4.2.25
  449. * Thu May 27 2004 Shu KONNO <owa@bg.wakwak.com> 2.3.4-0vl1
  450. - updated python to 2.3.4
  451. - fixed patch10, patch11
  452. * Sat Apr 17 2004 Shu KONNO <owa@bg.wakwak.com> 2.3.3-0vl1
  453. - rebuild
  454. * Thu Apr 08 2004 Shu KONNO <owa@bg.wakwak.com> 2.3.3-0vl0.3
  455. - updated python-2.3.3-config2.patch
  456. * Thu Apr 08 2004 Shu KONNO <owa@bg.wakwak.com> 2.3.3-0vl0.2
  457. - added librarys 'logging, bsddb, idlelib' to /usr/lib/python2.3
  458. * Wed Apr 07 2004 Shu KONNO <owa@bg.wakwak.com> 2.3.3-0vl0.1
  459. - updated python to 2.3.3
  460. - changed version code 2.2.3 to 2.3.3 in source{2,3,4}
  461. - updated config2.patch for 2.3.3
  462. - updated nowhatsnew.patch for 2.3.3
  463. - updated distutilrpm.patch in which tabstops have made indent error
  464. - updated buildroot-bytecode.patch for 2.3.3
  465. - deleted buildroot.patch which fixed in 2.3.3
  466. - changed Tools/idle with Lib/idlelib
  467. * Wed Mar 31 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.2.3-3vl3
  468. - rebuild with openssl-0.9.7d
  469. * Wed Mar 03 2004 Shu KONNO <owa@bg.wakwak.com> 2.2.3-3vl2
  470. - updated JapaneseCodecs to 1.4.10
  471. * Wed Jul 09 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 2.2.3-3vl1
  472. - synced with RawHide 2.2.3-3 (substantially source ver up)
  473. * Mon Mar 31 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 2.2.2-26vl1
  474. - rebuild with tcltk-8.4.2
  475. - synced with RawHide 2.2.2-26
  476. * Mon Feb 24 2003 Elliot Lee <sopwith@redhat.com>
  477. - rebuilt
  478. * Mon Feb 24 2003 Mihai Ibanescu <misa@redhat.com> 2.2.2-25
  479. - Fixed bug #84886: pydoc dies when run w/o arguments
  480. - Fixed bug #84205: add python shm module back (used to be shipped with 1.5.2)
  481. - Fixed bug #84966: path in byte-compiled code still wrong
  482. * Thu Feb 20 2003 Jeremy Katz <katzj@redhat.com> 2.2.2-23
  483. - ftp uri's should be able to specify being rooted at the root instead of
  484. where you login via ftp (#84692)
  485. * Mon Feb 10 2003 Mihai Ibanescu <misa@redhat.com> 2.2.2-22
  486. - Using newer Japanese codecs (1.4.9). Thanks to
  487. Peter Bowen <pzb@datastacks.com> for pointing this out.
  488. * Thu Feb 6 2003 Mihai Ibanescu <misa@redhat.com> 2.2.2-21
  489. - Rebuild
  490. * Wed Feb 5 2003 Mihai Ibanescu <misa@redhat.com> 2.2.2-20
  491. - Release number bumped really high: turning on UCS4 (ABI compatibility
  492. breakage)
  493. * Fri Jan 31 2003 Mihai Ibanescu <misa@redhat.com> 2.2.2-13
  494. - Attempt to look both in /usr/lib64 and /usr/lib/python2.2/site-packages/:
  495. some work on python-2.2.2-lib64.patch
  496. * Thu Jan 30 2003 Mihai Ibanescu <misa@redhat.com> 2.2.2-12
  497. - Rebuild to incorporate the removal of .lib64 and - files.
  498. * Thu Jan 30 2003 Mihai Ibanescu <misa@redhat.com> 2.2.2-11.7.3
  499. - Fixed bug #82544: Errata removes most tools
  500. - Fixed bug #82435: Python 2.2.2 errata breaks redhat-config-users
  501. - Removed .lib64 and - files that get installed after we fix the multilib
  502. .py files.
  503. * Wed Jan 22 2003 Tim Powers <timp@redhat.com>
  504. - rebuilt
  505. * Wed Jan 15 2003 Jens Petersen <petersen@redhat.com> 2.2.2-10
  506. - rebuild to update tkinter's tcltk deps
  507. - convert changelog to utf-8
  508. * Wed Jan 15 2003 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.2.2-9vl0
  509. - rebuilt for Vine Linux against db4
  510. - obsolete python-base (which comes with python-2.2.1 of TestPkg)
  511. * Tue Jan 7 2003 Nalin Dahyabhai <nalin@redhat.com> 2.2.2-9
  512. - rebuild
  513. * Fri Jan 3 2003 Nalin Dahyabhai <nalin@redhat.com>
  514. - pick up OpenSSL cflags and ldflags from pkgconfig if available
  515. * Thu Jan 2 2003 Jeremy Katz <katzj@redhat.com> 2.2.2-8
  516. - urllib2 didn't support non-anonymous ftp. add support based on how
  517. urllib did it (#80676, #78168)
  518. * Mon Dec 16 2002 Mihai Ibanescu <misa@redhat.com> 2.2.2-7
  519. - Fix bug #79647 (Rebuild of SRPM fails if python isn't installed)
  520. - Added a bunch of missing BuildRequires found while fixing the
  521. above-mentioned bug
  522. * Tue Dec 10 2002 Tim Powers <timp@redhat.com> 2.2.2-6
  523. - rebuild to fix broken tcltk deps for tkinter
  524. * Fri Nov 22 2002 Mihai Ibanescu <misa@redhat.com>
  525. 2.2.2-3.7.3
  526. - Recompiled for 7.3 (to fix the -lcrypt bug)
  527. - Fix for the spurious error message at the end of the build (build-requires
  528. gets confused by executable files starting with """"): make the tests
  529. non-executable.
  530. * Wed Nov 20 2002 Mihai Ibanescu <misa@redhat.com>
  531. 2.2.2-5
  532. - Fixed configuration patch to add -lcrypt when compiling cryptmodule.c
  533. 2.2.2-4
  534. - Spec file change from Matt Wilson <msw@redhat.com> to disable linking
  535. with the C++ compiler.
  536. * Mon Nov 11 2002 Mihai Ibanescu <misa@redhat.com>
  537. 2.2.2-3.*
  538. - Merged patch from Karsten Hopp <karsten@redhat.de> from 2.2.1-17hammer to
  539. use %%{_libdir}
  540. - Added XFree86-libs as BuildRequires (because of tkinter)
  541. - Fixed duplicate listing of plat-linux2
  542. - Fixed exclusion of lib-dynload/japanese
  543. - Added lib64 patch for the japanese codecs
  544. - Use setup magic instead of using tar directly on JapaneseCodecs
  545. * Tue Nov 5 2002 Mihai Ibanescu <misa@redhat.com>
  546. 2.2.2-2
  547. - Fix #76912 (python-tools contains idle, which uses tkinter, but there is no
  548. requirement of tkinter from python-tools).
  549. - Fix #74013 (rpm is missing the /usr/lib/python2.2/test directory)
  550. * Mon Nov 4 2002 Mihai Ibanescu <misa@redhat.com>
  551. - builds as python2 require a different libdb
  552. - changed the buildroot name of python to match python2 builds
  553. * Fri Nov 1 2002 Mihai Ibanescu <misa@redhat.com>
  554. - updated python to 2.2.2 and adjusted the patches accordingly
  555. * Mon Oct 21 2002 Mihai Ibanescu <misa@redhat.com>
  556. - Fix #53930 (Python-2.2.1-buildroot-bytecode.patch)
  557. - Added BuildPrereq dependency on gcc-c++
  558. * Fri Aug 30 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2.1-17
  559. - security fix for _execvpe
  560. * Tue Aug 13 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2.1-16
  561. - Fix #71011,#71134, #58157
  562. * Wed Aug 7 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2.1-15
  563. - Resurrect tkinter
  564. - Fix for distutils (#67671)
  565. - Fix #69962
  566. * Thu Jul 25 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2.1-14
  567. - Obsolete tkinter/tkinter2 (#69838)
  568. * Tue Jul 23 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2.1-13
  569. - Doc fixes (#53951) - not on alpha at the momemt
  570. * Mon Jul 8 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2.1-12
  571. - fix pydoc (#68082)
  572. * Mon Jul 8 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2.1-11
  573. - Add db4-devel as a BuildPrereq
  574. * Fri Jun 21 2002 Tim Powers <timp@redhat.com> 2.2.1-10
  575. - automated rebuild
  576. * Mon Jun 17 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2.1-9
  577. - Add Japanese codecs (#66352)
  578. * Tue Jun 11 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2.1-8
  579. - No more tkinter...
  580. * Wed May 29 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2.1-7
  581. - Rebuild
  582. * Tue May 21 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2.1-6
  583. - Add the email subcomponent (#65301)
  584. * Fri May 10 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2.1-5
  585. - Rebuild
  586. * Thu May 02 2002 Than Ngo <than@redhat.com> 2.2.1-4
  587. - rebuild i new enviroment
  588. * Tue Apr 23 2002 Trond Eivind Glomsroed <teg@redhat.com>
  589. - Use ucs2, not ucs4, to avoid breaking tkinter (#63965)
  590. * Mon Apr 22 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2.1-2
  591. - Make it use db4
  592. * Fri Apr 12 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2.1-1
  593. - 2.2.1 - a bugfix-only release
  594. * Fri Apr 12 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2-16
  595. - the same, but in builddirs - this will remove them from the
  596. docs package, which doesn't look in the buildroot for files.
  597. * Fri Apr 12 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2-15
  598. - Get rid of temporary files and .cvsignores included
  599. in the tarball and make install
  600. * Fri Apr 5 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2-14
  601. - Don't own lib-tk in main package, only in tkinter (#62753)
  602. * Mon Mar 25 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2-13
  603. - rebuild
  604. * Mon Mar 25 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2-12
  605. - rebuild
  606. * Fri Mar 1 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2-11
  607. - Add a not to the Distutils obsoletes test (doh!)
  608. * Fri Mar 1 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2-10
  609. - Rebuild
  610. * Mon Feb 25 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2-9
  611. - Only obsolete Distutils when built as python
  612. * Thu Feb 21 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2-8
  613. - Make files in /usr/bin install side by side with python 1.5 when
  614. - Drop explicit requirement of db4
  615. built as python2
  616. * Thu Jan 31 2002 Elliot Lee <sopwith@redhat.com> 2.2-7
  617. - Use version and pybasever macros to make updating easy
  618. - Use _smp_mflags macro
  619. * Tue Jan 29 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2-6
  620. - Add db4-devel to BuildPrereq
  621. * Fri Jan 25 2002 Nalin Dahyabhai <nalin@redhat.com> 2.2-5
  622. - disable ndbm support, which is db2 in disguise (really interesting things
  623. can happen when you mix db2 and db4 in a single application)
  624. * Thu Jan 24 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2-4
  625. - Obsolete subpackages if necesarry
  626. - provide versioned python2
  627. - build with db4
  628. * Wed Jan 16 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2-3
  629. - Alpha toolchain broken. Disable build on alpha.
  630. - New openssl
  631. * Wed Dec 26 2001 Trond Eivind Glomsroed <teg@redhat.com> 2.2-1
  632. - 2.2 final
  633. * Fri Dec 14 2001 Trond Eivind Glomsroed <teg@redhat.com> 2.2-0.11c1
  634. - 2.2 RC 1
  635. - Don't include the _tkinter module in the main package - it's
  636. already in the tkiter packace
  637. - Turn off the mpzmodule, something broke in the buildroot
  638. * Wed Nov 28 2001 Trond Eivind Glomsroed <teg@redhat.com> 2.2-0.10b2
  639. - Use -fPIC for OPT as well, in lack of a proper libpython.so
  640. * Mon Nov 26 2001 Matt Wilson <msw@redhat.com> 2.2-0.9b2
  641. - changed DESTDIR to point to / so that distutils will install dynload
  642. modules properly in the installroot
  643. * Fri Nov 16 2001 Matt Wilson <msw@redhat.com> 2.2-0.8b2
  644. - 2.2b2
  645. * Fri Oct 26 2001 Matt Wilson <msw@redhat.com> 2.2-0.7b1
  646. - python2ify
  647. * Fri Oct 19 2001 Trond Eivind Glomsroed <teg@redhat.com> 2.2-0.5b1
  648. - 2.2b1
  649. * Sun Sep 30 2001 Trond Eivind Glomsroed <teg@redhat.com> 2.2-0.4a4
  650. - 2.2a4
  651. - Enable UCS4 support
  652. - Enable IPv6
  653. - Provide distutils
  654. - Include msgfmt.py and pygettext.py
  655. * Fri Sep 14 2001 Trond Eivind Glomsroed <teg@redhat.com> 2.2-0.3a3
  656. - Obsolete Distutils, which is now part of the main package
  657. - Obsolete python2
  658. * Thu Sep 13 2001 Trond Eivind Glomsroed <teg@redhat.com> 2.2-0.2a3
  659. - Add docs, tools and tkinter subpackages, to match the 1.5 layout
  660. * Wed Sep 12 2001 Trond Eivind Glomsroed <teg@redhat.com> 2.2-0.1a3
  661. - 2.2a3
  662. - don't build tix and blt extensions
  663. * Mon Aug 13 2001 Trond Eivind Glomsroed <teg@redhat.com>
  664. - Add tk and tix to build dependencies
  665. * Sat Jul 21 2001 Trond Eivind Glomsroed <teg@redhat.com>
  666. - 2.1.1 bugfix release - with a GPL compatible license
  667. * Fri Jul 20 2001 Trond Eivind Glomsroed <teg@redhat.com>
  668. - Add new build dependencies (#49753)
  669. * Tue Jun 26 2001 Nalin Dahyabhai <nalin@redhat.com>
  670. - build with -fPIC
  671. * Fri Jun 1 2001 Trond Eivind Glomsroed <teg@redhat.com>
  672. - 2.1
  673. - reorganization of file includes
  674. * Wed Dec 20 2000 Trond Eivind Glomsroed <teg@redhat.com>
  675. - fix the "requires" clause, it lacked a space causing problems
  676. - use %%{_tmppath}
  677. - don't define name, version etc
  678. - add the available patches from the Python home page
  679. * Fri Dec 15 2000 Matt Wilson <msw@redhat.com>
  680. - added devel subpackage
  681. * Fri Dec 15 2000 Matt Wilson <msw@redhat.com>
  682. - modify all files to use "python2.0" as the intrepter
  683. - don't build the Expat bindings
  684. - build against db1
  685. * Mon Oct 16 2000 Jeremy Hylton <jeremy@beopen.com>
  686. - updated for 2.0 final
  687. * Mon Oct 9 2000 Jeremy Hylton <jeremy@beopen.com>
  688. - updated for 2.0c1
  689. - build audioop, imageop, and rgbimg extension modules
  690. - include xml.parsers subpackage
  691. - add test.xml.out to files list
  692. * Thu Oct 5 2000 Jeremy Hylton <jeremy@beopen.com>
  693. - added bin/python2.0 to files list (suggested by Martin v. Loewis)
  694. * Tue Sep 26 2000 Jeremy Hylton <jeremy@beopen.com>
  695. - updated for release 1 of 2.0b2
  696. - use .bz2 version of Python source
  697. * Tue Sep 12 2000 Jeremy Hylton <jeremy@beopen.com>
  698. - Version 2 of 2.0b1
  699. - Make the package relocatable. Thanks to Suchandra Thapa.
  700. - Exclude Tkinter from main RPM. If it is in a separate RPM, it is
  701. easier to track Tk releases.