python25-vl.spec 31 KB

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