tk-vl.spec 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337
  1. Summary: A Tcl/Tk development environment: tk
  2. Summary(ja): Tcl/Tk 開発環境: tk
  3. Name: tk
  4. Version: 8.6.16
  5. %global majorver %(echo %{version} | sed -e 's/\.[0-9]*$//')
  6. %global minorver %(echo %{version} | sed -e 's/^.*\.//')
  7. Release: 1%{?_dist_release}
  8. Group: programming
  9. Vendor: Project Vine
  10. Distribution: Vine Linux
  11. License: TCL
  12. URL: https://tcl.sourceforge.net/
  13. Source0: https://prdownloads.sourceforge.net/tcl/%{name}%{version}-src.tar.gz
  14. Patch1: tk-8.6.12-make.patch
  15. Patch2: tk-8.6.15-conf.patch
  16. # https://core.tcl-lang.org/tk/tktview/dccd82bdc70dc25bb6709a6c14880a92104dda43
  17. Patch3: tk-8.6.10-font-sizes-fix.patch
  18. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  19. BuildRequires: autoconf
  20. BuildRequires: libX11-devel
  21. BuildRequires: libXft-devel
  22. BuildRequires: tcl-devel = %{version}
  23. Requires: tcl >= %{majorver}
  24. Provides: libtk%{majorver}.so
  25. %description
  26. Tk is a X Windows widget set designed to work closely with the tcl
  27. scripting language. It allows you to write simple programs with full
  28. featured GUI's in only a little more time then it takes to write a
  29. text based interface. Tcl/Tk applications can also be run on Windows
  30. and Macintosh platforms.
  31. %description -l ja
  32. Tk は tcl スクリプト言語と密接に動作するようにデザインされた X Window
  33. System のウィジェットセットです。 テキストベースのインターフェースを
  34. 採用してるので、あらゆる特徴をもった GUI を少ない時間で、簡単なプログラ
  35. ムで書くことができます。Tcl/Tk アプリケーションは Windows や Macintosh
  36. のプラットフォームで実行することもできます。
  37. %package devel
  38. Summary: Tk graphical toolkit development files
  39. Summary(ja): Tk ツールキットの開発環境
  40. Group: programming
  41. Requires: %{name} = %{version}-%{release}
  42. Requires: tcl-devel = %{version}
  43. Requires: libX11-devel
  44. Requires: libXft-devel
  45. %description devel
  46. Tk is a X Windows widget set designed to work closely with the tcl
  47. scripting language. It allows you to write simple programs with full
  48. featured GUI's in only a little more time then it takes to write a
  49. text based interface. Tcl/Tk applications can also be run on Windows
  50. and Macintosh platforms.
  51. The package contains the development files and man pages for tk.
  52. %debug_package
  53. %prep
  54. %autosetup -p1 -n %{name}%{version}
  55. %build
  56. cd unix
  57. autoconf
  58. %configure \
  59. --enable-threads \
  60. --disable-zipfs
  61. %make_build CFLAGS="%{optflags}" TK_LIBRARY=%{_datadir}/%{name}%{majorver}
  62. %install
  63. make install -C unix INSTALL_ROOT=%{buildroot} TK_LIBRARY=%{_datadir}/%{name}%{majorver}
  64. ln -s wish%{majorver} %{buildroot}%{_bindir}/wish
  65. # for linking with -l%{name}
  66. ln -s libtcl8%{name}%{majorver}.so %{buildroot}%{_libdir}/lib%{name}.so
  67. mkdir -p %{buildroot}/%{_includedir}/%{name}-private/{generic/ttk,unix}
  68. find generic unix -name "*.h" -exec cp -p '{}' %{buildroot}/%{_includedir}/%{name}-private/'{}' ';'
  69. ( cd %{buildroot}/%{_includedir}
  70. for i in *.h ; do
  71. [ -f %{buildroot}/%{_includedir}/%{name}-private/generic/$i ] && ln -sf ../../$i %{buildroot}/%{_includedir}/%{name}-private/generic ;
  72. done
  73. )
  74. # remove buildroot traces
  75. sed -i -e "s|$PWD/unix|%{_libdir}|; s|$PWD|%{_includedir}/%{name}-private|" %{buildroot}/%{_libdir}/%{name}Config.sh
  76. %files
  77. %license license.terms
  78. %doc README.md changes.md
  79. %{_bindir}/wish*
  80. %{_datadir}/tk%{majorver}
  81. %{_libdir}/libtk%{majorver}.so
  82. %{_libdir}/tk%{majorver}
  83. %{_mandir}/man1/*
  84. %{_mandir}/mann/*
  85. %files devel
  86. %{_includedir}/*
  87. %{_libdir}/libtk.so
  88. %{_libdir}/libtkstub*.a
  89. %{_libdir}/tkConfig.sh
  90. %{_libdir}/pkgconfig/tk.pc
  91. %{_mandir}/man3/*
  92. %changelog
  93. * Tue Jun 10 2025 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.6.16-1
  94. - new upstream release.
  95. * Sat Oct 21 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.6.13-1
  96. - new upstream release.
  97. - dropped ldconfig scriptlets.
  98. - imported Patch3 from rawhide.
  99. * Wed Jul 01 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.6.10-1
  100. - new upstream release.
  101. * Fri Oct 04 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.6.9-1
  102. - new upstream release.
  103. - dropped Patch102: get same effects by sed and configure options.
  104. - dropped Patch101: get same effects by sed.
  105. - dropped Patch103: fixed in upstream.
  106. - dropped Patch105: fixed in upstream.
  107. * Mon Jan 26 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 8.5.15-2
  108. - split development files into devel subpackage
  109. - added BR: libXft-devel
  110. * Wed Jan 15 2014 NAKAMURA Kenta <kenta@vinelinux.org> 8.5.15-1
  111. - new upstream release
  112. - drop obsolete patche (Patch104)
  113. * Fri Jan 4 2013 IWAI, Masaharu <iwai@alib.jp> 8.5.7-1
  114. - update to 5.8.7: sync Red Hat Enterprise Linux 6 tk-8.4.19-4vl6
  115. - update License: TCL
  116. - drop obsolete patches
  117. - lib-perm patch (Patch2)
  118. - lastevent patch (Patch3)
  119. - tkBind patch (Patch4)
  120. - add some patches from RHEL tk-8.5.7-6.el6
  121. - make patch (Patch101)
  122. - conf patch (Patch102)
  123. - seg_input patch (Patch103)
  124. - color patch (Patch104)
  125. - nofont sigsegv patch (Patch105)
  126. - add some documents
  127. - update build and install section: sync RHEL tk-8.5.7-6.el6
  128. * Thu Apr 21 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.4.19-4
  129. - added "BuildRequires: imake".
  130. * Sat Apr 16 2011 Shu KONNO <owa@bg.wakwak.com> 8.4.19-3
  131. - rebuilt with rpm-4.8.1-3
  132. * Tue Jun 29 2010 Shu KONNO <owa@bg.wakwak.com> 8.4.19-2
  133. - rebuilt with tcl-8.4.19-2
  134. - dropt Patch4: tk-8.4.18-tkBind.patch
  135. * Tue Jun 09 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 8.4.19-1
  136. - new upstream release
  137. - add Patch3,4 to fix bug (broken if built with xproto-7.x)
  138. * Mon Jun 08 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 8.4.18-2
  139. - spec in utf-8
  140. * Mon May 12 2008 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 8.4.18-1
  141. - rebuild with xorg-x11-7.3
  142. - remove Requires: XFree86-libs
  143. - add BuildRequires: libX11-devel
  144. - use autoconf instead of autoconf217
  145. * Sun Feb 17 2008 Shu KONNO <owa@bg.wakwak.com> 8.4.18-0vl1
  146. - updated tk to 8.4.18
  147. - included CVE-2008-0553
  148. * Mon Oct 08 2007 Shu KONNO <owa@bg.wakwak.com> 8.4.16-0vl1
  149. - updated tk to 8.4.16
  150. * Wed Jun 13 2007 Shu KONNO <owa@bg.wakwak.com> 8.4.15-0vl1
  151. - updated tk to 8.4.15
  152. - rebuilt with new toolchain
  153. * Wed May 10 2006 IWAI, Masaharu <iwai@alib.jp> 8.4.13-0vl1
  154. - updated tk to 8.4.13
  155. * Sat Jan 28 2006 Shu KONNO <owa@bg.wakwak.com> 8.4.12-0vl1
  156. - updated tk to 8.4.12
  157. - updated tk-%%{version}-lib-perm.patch
  158. * Fri Sep 09 2005 Shu KONNO <owa@bg.wakwak.com> 8.4.11-0vl1
  159. - dropped tk-8.3.5-tclm4-soname.patch (fixed tcl.m4)
  160. - replaced tk-8.4.4-lib-perm.patch with tk-8.4.11-lib-perm.patch
  161. - dropped tk-8.4.5-no_rpath.patch (fixed tcl.m4)
  162. - dropped tk-8.4.6-tkUnixWm.patch (fixed invalid 118n title)
  163. * Sat Jun 11 2005 Shu KONNO <owa@bg.wakwak.com> 8.4.6-0vl2
  164. - added tk-8.4.6-tkUnixWm.patch
  165. * Thu Jun 24 2004 Shu KONNO <owa@bg.wakwak.com> 8.4.6-0vl1
  166. - updated tk to 8.4.6
  167. * Mon Jan 12 2004 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 8.4.5-3vl2
  168. - syncd with fedora
  169. * Fri Dec 12 2003 Jens Petersen <petersen@redhat.com> - 8.4.5-3
  170. - add private header files needed to build tix in /usr/include/tk-private
  171. * Mon Dec 1 2003 Thomas Woerner <twoerner@redhat.com> 8.4.5-2
  172. - removed rpath (patch 3)
  173. * Thu Nov 27 2003 Jens Petersen <petersen@redhat.com> - 8.4.5-1
  174. - new package split out from tcltk
  175. - update to tk 8.4.5 (#88429)
  176. - filtered changelog for tk
  177. - buildrequire autoconf213 (#110583) [mvd@mylinux.com.ua]
  178. - remove build remnants from tkConfig.sh
  179. * Tue Apr 01 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 8.4.2-0vl2
  180. - fix buildrequires and requires section
  181. * Mon Mar 31 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 8.4.2-0vl1
  182. - update based on BitWalk's tcltk-8.4.2-83bw
  183. * Thu Nov 15 2001 Kazuhusa TAKEI <takei@linux.or.jp> 8.0.5_jp-10vl3
  184. - splite source package
  185. - add include files
  186. * Sun Jul 15 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 8.0.5_jp-10vl2
  187. - expand some macros.. (FIXME)
  188. * Sat Jul 14 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 8.0.5_jp-10vl1
  189. - use %configure macros
  190. - add Patch 47,50
  191. * Thu May 31 2001 <sagami@vinelinux.org>
  192. - 8.0.5_jp-10
  193. - unexpand old %%{configure}, new one causes build failure
  194. - fixed missing libtkx.so libtclx.so symlink in /usr/lib
  195. - install manpages into %%{_mandir} and mode 644
  196. * Wed Jul 19 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  197. - 8.0.5_jp-9
  198. - modified %install section to handle compressed man pages
  199. - fixed /usr/lib/tk8.0jp/demos.jp/images symlink
  200. * Sun Jul 2 2000 Daisuke SUZUKI <daisuke@linux.or.jp>
  201. - changed default fonts
  202. * Tue Jan 25 2000 Jun Nishii <jun@vinelinux.org>
  203. - added defattr
  204. * Mon Jan 24 2000 Jun Nishii <jun@vinelinux.org>
  205. - added some symlinks, such as libtcl8.0.so.
  206. - obsoletes version number using _jp, now 8.0.5-31vl1
  207. * Wed Jan 5 2000 Norihito Ohmori <nono@vinelinux.org>
  208. - Apply Tcl/Tk 8.0 Japanese Patch 1.7
  209. * Tue Nov 30 1999 Jakub Jelinek <jakub@redhat.com>
  210. - fix tclX symlinks.
  211. - compile on systems where SIGPWR == SIGLOST.
  212. * Sat May 1 1999 Jeff Johnson <jbj@redhat.com>
  213. - update tcl/tk to 8.0.5.
  214. - avoid "containing" in Tix (#2332).
  215. * Thu Apr 8 1999 Jeff Johnson <jbj@redhat.com>
  216. - use /usr/bin/write in kibitz (#1320).
  217. - use cirrus.sprl.umich.edu in weather (#1926).
  218. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  219. - auto rebuild in the new build environment (release 28)
  220. * Mon Mar 08 1999 Preston Brown <pbrown@redhat.com>
  221. - whoops, exec-prefix for itcl was set to '/foo', changed to '/usr'.
  222. * Tue Feb 16 1999 Jeff Johnson <jbj@redhat.com>
  223. - expect does unaligned access on alpha (#989)
  224. - upgrade tcl/tk/tclX to 8.0.4
  225. - upgrade expect to 5.28.
  226. - add itcl 3.0.1
  227. * Tue Jan 12 1999 Cristian Gafton <gafton@redhat.com>
  228. - call libtoolize to allow building on the arm
  229. - build for glibc 2.1
  230. - strip binaries
  231. * Thu Sep 10 1998 Jeff Johnson <jbj@redhat.com>
  232. - update tcl/tk/tclX to 8.0.3, expect is updated also.
  233. * Mon Jun 29 1998 Jeff Johnson <jbj@redhat.com>
  234. - expect: mkpasswd needs delay before sending password (problem #576)
  235. * Thu May 07 1998 Prospector System <bugs@redhat.com>
  236. - translations modified for de, fr, tr
  237. * Sat May 02 1998 Cristian Gafton <gafton@redhat.com>
  238. - fixed expect binaries exec permissions
  239. * Thu Apr 09 1998 Erik Troan <ewt@redhat.com>
  240. - updated to Tix 4.1.0.006
  241. - updated version numbers of tcl/tk to relflect includsion of p2
  242. * Wed Mar 25 1998 Cristian Gafton <gafton@redhat.com>
  243. - updated tcl/tk to patch level 2
  244. - updated tclX to 8.0.2
  245. * Thu Oct 30 1997 Otto Hammersmith <otto@redhat.com>
  246. - fixed filelist for tix... replacing path to the expect binary in scripts
  247. was leaving junk files around.
  248. * Wed Oct 22 1997 Otto Hammersmith <otto@redhat.com>
  249. - added patch to remove libieee test in configure.in for tcl and tk.
  250. Shoudln't be needed anymore for glibc systems, but this isn't the "proper"
  251. solution for all systems
  252. - fixed src urls
  253. * Mon Oct 06 1997 Erik Troan <ewt@redhat.com>
  254. - removed version numbers from descriptions
  255. * Mon Sep 22 1997 Erik Troan <ewt@redhat.com>
  256. - updated to tcl/tk 8.0 and related versions of packages
  257. * Tue Jun 17 1997 Erik Troan <ewt@redhat.com>
  258. - built against glibc
  259. - fixed dangling tclx/tkx symlinks