python-vl.spec 31 KB

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