tk-vl.spec 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274
  1. %define majorver 8.4
  2. %define minorver 19
  3. Summary: A Tcl/Tk development environment: tk
  4. Summary(ja): Tcl/Tk 開発環境: tk
  5. Name: tk
  6. Version: %{majorver}.%{minorver}
  7. Release: 3%{?_dist_release}
  8. Group: Development/Languages
  9. License: BSD
  10. URL: http://tcl.sourceforge.net/
  11. Source0: http://prdownloads.sourceforge.net/tcl/%{name}%{version}-src.tar.gz
  12. Patch2: tk-8.4.12-lib-perm.patch
  13. Patch3: tk-8.4-lastevent.patch
  14. Patch4: tk-8.4.18-tkBind.patch
  15. Buildroot: %{_tmppath}/%{name}-%{version}-root
  16. BuildRequires: tcl = %{version}, autoconf
  17. BuildRequires: libX11-devel
  18. Requires: tcl >= %{majorver}
  19. Provides: libtk%{majorver}.so
  20. Vendor: Project Vine
  21. Distribution: Vine Linux
  22. %description
  23. Tk is a X Windows widget set designed to work closely with the tcl
  24. scripting language. It allows you to write simple programs with full
  25. featured GUI's in only a little more time then it takes to write a
  26. text based interface. Tcl/Tk applications can also be run on Windows
  27. and Macintosh platforms.
  28. %description -l ja
  29. Tk tcl スクリプト言語と密接に動作するようにデザインされた X Window
  30. System のウィジェットセットです。 テキストベースのインターフェースを
  31. 採用してるので、あらゆる特徴をもった GUI を少ない時間で、簡単なプログラ
  32. ムで書くことができます。Tcl/Tk アプリケーションは Windows Macintosh
  33. のプラットフォームで実行することもできます。
  34. %prep
  35. %setup -n %{name}%{version} -q
  36. %patch2 -p1 -b .rolib
  37. %patch3 -p0 -b .lastevent
  38. #%%patch4 -p1 -b .tkbind
  39. cd unix
  40. autoconf
  41. %build
  42. cd unix
  43. %configure \
  44. --with-tcl=%{_libdir} --enable-shared \
  45. --enable-threads --enable-64bit --with-x
  46. make %{?_smp_mflags} TK_LIBRARY=%{_datadir}/tk%{majorver}
  47. %install
  48. rm -rf $RPM_BUILD_ROOT
  49. make install -C unix INSTALL_ROOT=%{buildroot} TK_LIBRARY=%{_datadir}/tk%{majorver}
  50. ln -s wish%{majorver} %{buildroot}%{_bindir}/wish
  51. # for linking with -ltk
  52. ln -s libtk%{majorver}.so %{buildroot}%{_libdir}/libtk.so
  53. mkdirhier %buildroot/%{_includedir}/tk-private/{generic,unix}
  54. cp -p generic/{default,tkInt,tkIntDecls,tkPort}.h %buildroot/%{_includedir}/tk-private/generic
  55. cp -p unix/tkUnix{Default,Port}.h %buildroot/%{_includedir}/tk-private/unix
  56. # Fix up the include files.
  57. cp generic/*.h $RPM_BUILD_ROOT%{_includedir}/tk-private/generic
  58. cp unix/*.h $RPM_BUILD_ROOT%{_includedir}/tk-private/unix
  59. # remove buildroot traces
  60. perl -pi -e "s|$PWD/unix|%{_libdir}|; s|$PWD|%{_includedir}/tk-private|" %buildroot/%{_libdir}/tkConfig.sh
  61. %clean
  62. rm -rf $RPM_BUILD_ROOT
  63. %post
  64. /sbin/ldconfig
  65. %postun
  66. /sbin/ldconfig
  67. %files
  68. %defattr(-,root,root,-)
  69. %doc
  70. %{_bindir}/wish*
  71. %{_datadir}/tk%{majorver}
  72. %{_libdir}/libtk%{majorver}.so
  73. %{_libdir}/tk%{majorver}
  74. %{_libdir}/tkConfig.sh
  75. %{_mandir}/man1/*
  76. %{_includedir}/*
  77. %{_libdir}/libtk.so
  78. %{_libdir}/libtkstub%{majorver}.a
  79. %{_mandir}/man3/*
  80. %{_mandir}/mann/*
  81. %changelog
  82. * Sat Apr 16 2011 Shu KONNO <owa@bg.wakwak.com> 8.4.19-3
  83. - rebuilt with rpm-4.8.1-3
  84. * Tue Jun 29 2010 Shu KONNO <owa@bg.wakwak.com> 8.4.19-2
  85. - rebuilt with tcl-8.4.19-2
  86. - dropt Patch4: tk-8.4.18-tkBind.patch
  87. * Tue Jun 09 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 8.4.19-1
  88. - new upstream release
  89. - add Patch3,4 to fix bug (broken if built with xproto-7.x)
  90. * Mon Jun 08 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 8.4.18-2
  91. - spec in utf-8
  92. * Mon May 12 2008 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 8.4.18-1
  93. - rebuild with xorg-x11-7.3
  94. - remove Requires: XFree86-libs
  95. - add BuildRequires: libX11-devel
  96. - use autoconf instead of autoconf217
  97. * Sun Feb 17 2008 Shu KONNO <owa@bg.wakwak.com> 8.4.18-0vl1
  98. - updated tk to 8.4.18
  99. - included CVE-2008-0553
  100. * Mon Oct 08 2007 Shu KONNO <owa@bg.wakwak.com> 8.4.16-0vl1
  101. - updated tk to 8.4.16
  102. * Wed Jun 13 2007 Shu KONNO <owa@bg.wakwak.com> 8.4.15-0vl1
  103. - updated tk to 8.4.15
  104. - rebuilt with new toolchain
  105. * Wed May 10 2006 IWAI, Masaharu <iwai@alib.jp> 8.4.13-0vl1
  106. - updated tk to 8.4.13
  107. * Sat Jan 28 2006 Shu KONNO <owa@bg.wakwak.com> 8.4.12-0vl1
  108. - updated tk to 8.4.12
  109. - updated tk-%%{version}-lib-perm.patch
  110. * Fri Sep 09 2005 Shu KONNO <owa@bg.wakwak.com> 8.4.11-0vl1
  111. - dropped tk-8.3.5-tclm4-soname.patch (fixed tcl.m4)
  112. - replaced tk-8.4.4-lib-perm.patch with tk-8.4.11-lib-perm.patch
  113. - dropped tk-8.4.5-no_rpath.patch (fixed tcl.m4)
  114. - dropped tk-8.4.6-tkUnixWm.patch (fixed invalid 118n title)
  115. * Sat Jun 11 2005 Shu KONNO <owa@bg.wakwak.com> 8.4.6-0vl2
  116. - added tk-8.4.6-tkUnixWm.patch
  117. * Thu Jun 24 2004 Shu KONNO <owa@bg.wakwak.com> 8.4.6-0vl1
  118. - updated tk to 8.4.6
  119. * Mon Jan 12 2004 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 8.4.5-3vl2
  120. - syncd with fedora
  121. * Fri Dec 12 2003 Jens Petersen <petersen@redhat.com> - 8.4.5-3
  122. - add private header files needed to build tix in /usr/include/tk-private
  123. * Mon Dec 1 2003 Thomas Woerner <twoerner@redhat.com> 8.4.5-2
  124. - removed rpath (patch 3)
  125. * Thu Nov 27 2003 Jens Petersen <petersen@redhat.com> - 8.4.5-1
  126. - new package split out from tcltk
  127. - update to tk 8.4.5 (#88429)
  128. - filtered changelog for tk
  129. - buildrequire autoconf213 (#110583) [mvd@mylinux.com.ua]
  130. - remove build remnants from tkConfig.sh
  131. * Tue Apr 01 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 8.4.2-0vl2
  132. - fix buildrequires and requires section
  133. * Mon Mar 31 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 8.4.2-0vl1
  134. - update based on BitWalk's tcltk-8.4.2-83bw
  135. * Thu Nov 15 2001 Kazuhusa TAKEI <takei@linux.or.jp> 8.0.5_jp-10vl3
  136. - splite source package
  137. - add include files
  138. * Sun Jul 15 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 8.0.5_jp-10vl2
  139. - expand some macros.. (FIXME)
  140. * Sat Jul 14 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 8.0.5_jp-10vl1
  141. - use %configure macros
  142. - add Patch 47,50
  143. * Thu May 31 2001 <sagami@vinelinux.org>
  144. - 8.0.5_jp-10
  145. - unexpand old %%{configure}, new one causes build failure
  146. - fixed missing libtkx.so libtclx.so symlink in /usr/lib
  147. - install manpages into %%{_mandir} and mode 644
  148. * Wed Jul 19 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  149. - 8.0.5_jp-9
  150. - modified %install section to handle compressed man pages
  151. - fixed /usr/lib/tk8.0jp/demos.jp/images symlink
  152. * Sun Jul 2 2000 Daisuke SUZUKI <daisuke@linux.or.jp>
  153. - changed default fonts
  154. * Tue Jan 25 2000 Jun Nishii <jun@vinelinux.org>
  155. - added defattr
  156. * Mon Jan 24 2000 Jun Nishii <jun@vinelinux.org>
  157. - added some symlinks, such as libtcl8.0.so.
  158. - obsoletes version number using _jp, now 8.0.5-31vl1
  159. * Wed Jan 5 2000 Norihito Ohmori <nono@vinelinux.org>
  160. - Apply Tcl/Tk 8.0 Japanese Patch 1.7
  161. * Tue Nov 30 1999 Jakub Jelinek <jakub@redhat.com>
  162. - fix tclX symlinks.
  163. - compile on systems where SIGPWR == SIGLOST.
  164. * Sat May 1 1999 Jeff Johnson <jbj@redhat.com>
  165. - update tcl/tk to 8.0.5.
  166. - avoid "containing" in Tix (#2332).
  167. * Thu Apr 8 1999 Jeff Johnson <jbj@redhat.com>
  168. - use /usr/bin/write in kibitz (#1320).
  169. - use cirrus.sprl.umich.edu in weather (#1926).
  170. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  171. - auto rebuild in the new build environment (release 28)
  172. * Mon Mar 08 1999 Preston Brown <pbrown@redhat.com>
  173. - whoops, exec-prefix for itcl was set to '/foo', changed to '/usr'.
  174. * Tue Feb 16 1999 Jeff Johnson <jbj@redhat.com>
  175. - expect does unaligned access on alpha (#989)
  176. - upgrade tcl/tk/tclX to 8.0.4
  177. - upgrade expect to 5.28.
  178. - add itcl 3.0.1
  179. * Tue Jan 12 1999 Cristian Gafton <gafton@redhat.com>
  180. - call libtoolize to allow building on the arm
  181. - build for glibc 2.1
  182. - strip binaries
  183. * Thu Sep 10 1998 Jeff Johnson <jbj@redhat.com>
  184. - update tcl/tk/tclX to 8.0.3, expect is updated also.
  185. * Mon Jun 29 1998 Jeff Johnson <jbj@redhat.com>
  186. - expect: mkpasswd needs delay before sending password (problem #576)
  187. * Thu May 07 1998 Prospector System <bugs@redhat.com>
  188. - translations modified for de, fr, tr
  189. * Sat May 02 1998 Cristian Gafton <gafton@redhat.com>
  190. - fixed expect binaries exec permissions
  191. * Thu Apr 09 1998 Erik Troan <ewt@redhat.com>
  192. - updated to Tix 4.1.0.006
  193. - updated version numbers of tcl/tk to relflect includsion of p2
  194. * Wed Mar 25 1998 Cristian Gafton <gafton@redhat.com>
  195. - updated tcl/tk to patch level 2
  196. - updated tclX to 8.0.2
  197. * Thu Oct 30 1997 Otto Hammersmith <otto@redhat.com>
  198. - fixed filelist for tix... replacing path to the expect binary in scripts
  199. was leaving junk files around.
  200. * Wed Oct 22 1997 Otto Hammersmith <otto@redhat.com>
  201. - added patch to remove libieee test in configure.in for tcl and tk.
  202. Shoudln't be needed anymore for glibc systems, but this isn't the "proper"
  203. solution for all systems
  204. - fixed src urls
  205. * Mon Oct 06 1997 Erik Troan <ewt@redhat.com>
  206. - removed version numbers from descriptions
  207. * Mon Sep 22 1997 Erik Troan <ewt@redhat.com>
  208. - updated to tcl/tk 8.0 and related versions of packages
  209. * Tue Jun 17 1997 Erik Troan <ewt@redhat.com>
  210. - built against glibc
  211. - fixed dangling tclx/tkx symlinks