python-vl.spec 29 KB

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