xterm-vl.spec 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380
  1. Summary: Terminal emulator for the X Window System
  2. Summary(ja): X ウィンドウシステム用ターミナルエミュレータ
  3. Name: xterm
  4. Version: 366
  5. Release: 1%{?_dist_release}
  6. Group: accessories
  7. Vendor: Project Vine
  8. Distribution: Vine Linux
  9. License: MIT
  10. URL: https://invisible-island.net/xterm/
  11. Source0: https://invisible-mirror.net/archives/xterm/%{name}-%{version}.tgz
  12. Source1: https://invisible-mirror.net/archives/xterm/16colors.txt
  13. Patch1: xterm-245-resources.patch
  14. Patch3: xterm-366-man-page_paths.patch
  15. Patch4: xterm-286-desktopfile.patch
  16. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  17. BuildRequires: imake, pkgconfig, ncurses-devel
  18. #BuildRequires: libutempter-devel
  19. BuildRequires: libXft-devel, libXaw-devel, libXext-devel, desktop-file-utils
  20. %define x11_app_defaults_dir %(pkg-config --variable appdefaultdir xt)
  21. %description
  22. The xterm program is a terminal emulator for the X Window System. It
  23. provides DEC VT102 and Tektronix 4014 compatible terminals for
  24. programs that can't use the window system directly.
  25. %debug_package
  26. %prep
  27. %setup -q
  28. %patch1 -p1 -b .redhat-resources
  29. %patch3 -p1 -b .man-page_paths
  30. %patch4 -p1 -b .desktopfile
  31. %build
  32. %configure \
  33. --enable-256-color \
  34. --enable-luit \
  35. %if %{with trace}
  36. --enable-trace \
  37. %endif
  38. --enable-warnings \
  39. --enable-wide-chars \
  40. --with-app-defaults=%{x11_app_defaults_dir} \
  41. --with-utempter \
  42. --with-tty-group=tty \
  43. --disable-full-tgetent
  44. make %{?_smp_mflags}
  45. %install
  46. rm -rf $RPM_BUILD_ROOT
  47. make DESTDIR=$RPM_BUILD_ROOT install
  48. cp -fp %{SOURCE1} 16colors.txt
  49. desktop-file-install --vendor="" \
  50. --dir=$RPM_BUILD_ROOT%{_datadir}/applications \
  51. xterm.desktop
  52. %clean
  53. rm -rf $RPM_BUILD_ROOT
  54. %files
  55. %defattr(-,root,root,-)
  56. %doc xterm.log.html ctlseqs.txt 16colors.txt README.i18n
  57. %{_bindir}/xterm
  58. %{_bindir}/koi8rxterm
  59. %{_bindir}/resize
  60. %{_bindir}/uxterm
  61. %{_mandir}/man1/koi8rxterm.1*
  62. %{_mandir}/man1/resize.1*
  63. %{_mandir}/man1/uxterm.1*
  64. %{_mandir}/man1/xterm.1*
  65. %{_datadir}/applications/xterm.desktop
  66. %{_datadir}/pixmaps/xterm*.xpm
  67. %{_datadir}/pixmaps/filled-xterm_*.xpm
  68. %{_datadir}/pixmaps/mini.xterm_*.xpm
  69. %{x11_app_defaults_dir}/KOI8RXTerm
  70. %{x11_app_defaults_dir}/KOI8RXTerm-color
  71. %{x11_app_defaults_dir}/UXTerm
  72. %{x11_app_defaults_dir}/UXTerm-color
  73. %{x11_app_defaults_dir}/XTerm
  74. %{x11_app_defaults_dir}/XTerm-color
  75. %changelog
  76. * Wed Mar 03 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 366-1
  77. - new upstream release.
  78. - updated Patch3.
  79. * Sun Nov 23 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 312-1
  80. - new upstream release
  81. * Sun Aug 03 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 310-1
  82. - new upstream release
  83. - update Patch3 (xterm-310-man-page_paths.patch)
  84. * Tue Nov 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 286-1
  85. - new upstream release
  86. - update Patch3 (xterm-286-man-page_paths.patch)
  87. - update Patch4 (xterm-286-desktopfile.patch)
  88. * Thu Apr 14 2011 IWAI, Masaharu <iwai@alib.jp> 269-1
  89. - new upstream release
  90. - drop unnecessary CAN-2003-0063 patch (Patch2): upstream fixed
  91. - drop xterm.desktop (Source2): using upstream desktop file
  92. - add desktop file patch (Patch4)
  93. - update man pages paths patch (Patch3): from Fedora 269-1
  94. - add Vendor and Distribution tags
  95. * Fri Nov 20 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 250-1
  96. - new upstream release
  97. * Sun Nov 09 2008 Shu KONNO <owa@bg.wakwak.com> 231-2
  98. - rebuild with libXaw.so.7 (libXaw-1.0.5)
  99. - spec in utf-8
  100. * Sun May 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 231-1
  101. - new versioning policy
  102. * Tue Jan 22 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 231-0vl1
  103. - initial build for Vine Linux
  104. * Mon Jan 07 2008 Miroslav Lichvar <mlichvar@redhat.com> 231-1
  105. - update to 231
  106. - remove setgid utempter from xterm binary (#229360)
  107. * Fri Jan 04 2008 Miroslav Lichvar <mlichvar@redhat.com> 230-1
  108. - update to 230
  109. * Wed Aug 22 2007 Miroslav Lichvar <mlichvar@redhat.com> 229-2
  110. - rebuild
  111. * Mon Aug 13 2007 Miroslav Lichvar <mlichvar@redhat.com> 229-1
  112. - update to 229
  113. * Mon Jul 23 2007 Miroslav Lichvar <mlichvar@redhat.com> 228-1
  114. - update to 228
  115. * Fri Jun 29 2007 Miroslav Lichvar <mlichvar@redhat.com> 227-1
  116. - update to 227
  117. * Fri Jun 22 2007 Miroslav Lichvar <mlichvar@redhat.com> 226-1
  118. - update to 226
  119. * Thu Apr 12 2007 Miroslav Lichvar <mlichvar@redhat.com> 225-2
  120. - fix sections in man pages
  121. * Tue Mar 27 2007 Miroslav Lichvar <mlichvar@redhat.com> 225-1
  122. - update to 225
  123. * Tue Mar 20 2007 Miroslav Lichvar <mlichvar@redhat.com> 224-2
  124. - fix background color setting in alternate screen
  125. - don't display xterm in menus (#231000)
  126. * Fri Feb 16 2007 Miroslav Lichvar <mlichvar@redhat.com> 224-1
  127. - update to 224
  128. - drop utempter group before creating pty
  129. - add Icon to desktop file (#227925)
  130. * Wed Feb 07 2007 Miroslav Lichvar <mlichvar@redhat.com> 223-3
  131. - spec cleanup (#226660)
  132. * Thu Jan 18 2007 Miroslav Lichvar <mlichvar@redhat.com> 223-2
  133. - make xterm binary sgid utempter (#222847)
  134. - fix font size changes with -fa option (#222340)
  135. - fix redrawing of internal border (#223027)
  136. - enable metaSendsEscape resource and set modifyFunctionKeys to 0 by default
  137. * Thu Dec 07 2006 Miroslav Lichvar <mlichvar@redhat.com> 223-1
  138. - update to 223
  139. * Thu Nov 23 2006 Miroslav Lichvar <mlichvar@redhat.com> 222-1
  140. - update to 222
  141. - link with libncurses instead of libtermcap
  142. - spec cleanup
  143. * Mon Sep 04 2006 Miroslav Lichvar <mlichvar@redhat.com> 215-3.fc6
  144. - fix segfault when /etc/termcap is missing (#201246)
  145. * Wed Jul 26 2006 Mike A. Harris <mharris@redhat.com> 215-2.fc6
  146. - Replace BuildRequires utempter with libutempter-devel
  147. - Change BuildRoot tag to comply with Fedora packaging guidelines
  148. - Use pkg-config to autodetect the location of the system app-defaults dir
  149. - Add BuildRequires: pkgconfig
  150. * Mon Jul 17 2006 Jason Vas Dias <jvdias@redhat.com> - 215-1.fc6
  151. - Upgrade to upstream version 215
  152. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 213-2.1
  153. - rebuild
  154. * Tue Jul 11 2006 Adam Jackson <ajackson@redhat.com> - 213-2.fc6
  155. - Use correct dist tag in Release string.
  156. * Wed May 31 2006 Jason Vas Dias <jvdias@redhat.com> - 213-1
  157. - Upgrade to upstream version 213 (fixes bug 192627)
  158. - fix bug 189161 : make -r/-rv do reverseVideo with or without
  159. xterm*{fore,back}ground set
  160. * Thu Apr 13 2006 Jason Vas Dias <jvdias@redhat.com> - 212-1
  161. - Upgrade to upstream version 212
  162. - fix bug 188031 : paths in man-page
  163. * Wed Mar 29 2006 Jason Vas Dias <jvdias@redhat.com> - 211-4
  164. - fix bug 186935: cursor GCs must be freed with XtReleaseGC
  165. * Tue Mar 21 2006 Jason Vas Dias <jvdias@redhat.com> - 211-1
  166. - Upgrade to upstream version 211 (fixes bug 186094).
  167. - Enable new 'utf8Title' resource by default
  168. * Tue Mar 07 2006 Jason Vas Dias <jvdias@redhat.com> - 209-4
  169. - fix bug 183993: call set_cursor_gcs in ReverseVideo
  170. * Wed Feb 22 2006 Jason Vas Dias <jvdias@redhat.com> - 209-2
  171. - fix bug 182382: check for (VWindow(screen)!=0) in set_cursor_gcs
  172. - further fix for bug 178302: allow *vt100*cursorColor to be same as fg
  173. * Tue Feb 14 2006 Jason Vas Dias <jvdias@redhat.com> - 209-1
  174. - Upgrade to upstream version 209 (fixes bug 180450)
  175. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 208-1.2
  176. - bump again for double-long bug on ppc(64)
  177. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 208-1.1
  178. - rebuilt for new gcc4.1 snapshot and glibc changes
  179. * Tue Jan 17 2006 Jason Vas Dias<jvdias@redhat.com> - 208-1
  180. - Upgrade to upstream version 208
  181. - Allow root user to grab the console, even if /dev/console
  182. not owned by root
  183. - restore Red Hat '*VT100*scrollBar:1' default Xresource
  184. * Wed Dec 21 2005 Jason Vas Dias<jvdias@redhat.com> - 207-10
  185. - Fix bug 164210: tek4014 support should be enabled by default
  186. * Wed Dec 14 2005 Jason Vas Dias<jvdias@redhat.com> - 207-8
  187. - Fix bug 175684: compile with --enable-256-color
  188. - Fix bug 155538 addenda - restore '*VT100*backarrowKey:0'
  189. * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
  190. - rebuilt
  191. * Mon Nov 21 2005 Jason Vas Dias<jvdias@redhat.com> - 207-5
  192. - fix bug 173703: remove reference to /usr/X11R6/bin/luit :
  193. PROJECTROOT should be /usr, not /usr/X11R6
  194. * Fri Nov 18 2005 Jason Vas Dias<jvdias@redhat.com> - 207-4
  195. - fix bug 173541: better fix for freetype configuration problem
  196. * Mon Nov 14 2005 Jason Vas Dias<jvdias@redhat.com> - 207-1
  197. - Upgrade to upstream version 207
  198. - Fix app-defaults directory for modular X11
  199. * Sun Nov 13 2005 Jeremy Katz <katzj@redhat.com> - 206-4
  200. - rebuild for newer modular X
  201. * Fri Nov 04 2005 Jason Vas Dias <jvdias@redhat.com> 206-1
  202. - Upgrade to upstream version 206
  203. * Wed Oct 12 2005 Jason Vas Dias <jvdias@redhat.com> 205-1
  204. - Upgrade to upstream version 205
  205. fixes bugs: 124421, 129146, 159562, 161894, 169347
  206. * Sat Sep 24 2005 Mike A. Harris <mharris@redhat.com> 200-10
  207. - Updated xterm-resources-redhat.patch to add "xterm*ttyModes: erase ^?"
  208. resource to fix bug (#155538,160354,163812,162549)
  209. * Wed Sep 14 2005 Mike A. Harris <mharris@redhat.com> 200-9
  210. - Updated xterm-resources-redhat.patch to remove utf8 resource which was
  211. added in the 200-7 build, as it was incorrectly set to 'true' instead
  212. of '1', and bug #138681 turned out to be a gdm bug instead of an xterm
  213. bug. This fixes bug (#163568).
  214. * Mon Aug 29 2005 Mike A. Harris <mharris@redhat.com> 200-8
  215. - Added --disable-tek4014 to ./configure flags, to disable tek support
  216. for bug (#164210)
  217. * Mon May 2 2005 Mike A. Harris <mharris@redhat.com> 200-7
  218. - Updated xterm-resources-redhat.patch to enable xterm utf8 resource by
  219. default, as our default OS environment is UTF-8, for bug (#138681)
  220. * Sat Apr 16 2005 Mike A. Harris <mharris@redhat.com> 200-6
  221. - Added option to spec file to allow easy rebuilding with 256 color option
  222. for those who prefer this non-default behaviour (#103402)
  223. * Tue Mar 8 2005 Soeren Sandmann <sandmann@redhat.com> 200-5
  224. - Ported xterm-resources-redhat.patch to newer xterms. (#126855)
  225. * Sun Mar 6 2005 Mike A. Harris <mharris@redhat.com> 200-4
  226. - Added libtermcap-devel and utempter to BuildRequires
  227. - Changed BuildRequires from XFree86-devel to xorg-x11-devel
  228. * Sun Mar 6 2005 Mike A. Harris <mharris@redhat.com> 200-3
  229. - Rebuild with gcc 4 for FC4 development
  230. * Mon Feb 7 2005 Mike A. Harris <mharris@redhat.com> 200-2
  231. - Removed chmod from prep, and updated comment to refect (#128341c12)
  232. * Mon Feb 7 2005 Mike A. Harris <mharris@redhat.com> 200-1
  233. - Updated main tarball to xterm-200 for FC4 devel
  234. - Disabled xterm-179-ppc-fix-bug-101472.patch for now, to see if the problem
  235. occurs on ppc still or not.
  236. * Tue Jul 13 2004 Mike A. Harris <mharris@redhat.com> 192-1
  237. - Updated main tarball to xterm-192 for FC3 devel
  238. - Resolved bugs #126569,127132
  239. * Fri Jun 18 2004 Mike A. Harris <mharris@redhat.com> 191-1
  240. - Updated main tarball to xterm-191 for FC3 devel
  241. - Disabled xterm-resources-redhat.patch to see what if anything breaks, as
  242. it no longer applies cleanly. Hopefully we can just ship stock xterm
  243. resources now, although I realize that is more likely to be a pie in the
  244. sky fantasy once the bug reports trickle in from this change. ;o)
  245. * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com> 179-8
  246. - rebuilt
  247. * Thu Jun 3 2004 Mike A. Harris <mharris@redhat.com> 179-7
  248. - Rebuilt for FC3 devel
  249. * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> 179-6.EL
  250. - rebuilt
  251. * Mon Sep 8 2003 Mike A. Harris <mharris@redhat.com> 179-5.EL
  252. - Rebuilt 179-5 for Taroon
  253. * Mon Sep 8 2003 Mike A. Harris <mharris@redhat.com> 179-5
  254. - Added xterm-179-ppc-fix-bug-101472.patch ifarch ppc ppc64 to fix bug (#101472)
  255. * Wed Aug 27 2003 Bill Nottingham <notting@redhat.com> 179-4.1
  256. - fix symlink
  257. - rebuild
  258. * Wed Aug 13 2003 Mike A. Harris <mharris@redhat.com> 179-3.EL
  259. - Rebuilt for Taroon with symlink fixes.
  260. * Wed Aug 13 2003 Mike A. Harris <mharris@redhat.com> 179-3
  261. - Added symlink /usr/X11R6/bin/xterm pointing to _bindir/xterm so that apps
  262. and scripts which invoke xterm explicitly as /usr/X11R6/bin/xterm, will
  263. continue to work correctly without surprises (#101994)
  264. * Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com> 179-2.EL
  265. - rebuilt
  266. * Fri May 30 2003 Mike A. Harris <mharris@redhat.com> 179-1.EL
  267. - Bump release to 1.EL for Red Hat Enterprise Linux build
  268. * Mon May 26 2003 Mike A. Harris <mharris@redhat.com> 179-1
  269. - Updated to upstream xterm 179
  270. - [SECURITY] Added xterm-can-2003-0063.patch from XFree86 4.3.0-12 package
  271. - Added Red Hat xterm-resources-redhat.patch from XFree86 4.3.0-12 package
  272. - Added "chmod -R u+w *" after source is decompressed or else patches can not
  273. be applied due to upstream source being read only files
  274. - Built xterm 179-1 in rawhide
  275. * Mon May 5 2003 Mike A. Harris <mharris@redhat.com> 177-2.0.EL
  276. - Bump release to 2.0.EL for Red Hat Enterprise Linux build
  277. * Mon May 5 2003 Mike A. Harris <mharris@redhat.com> 177-2
  278. - Build fix for lib64: _x11datadir == /usr/X11R6/lib
  279. - Another lib64 build fix: xterm uses /usr/%%{_lib}/X11/app-defaults when it
  280. should be using an arch-neutral dir {_x11datadir}/X11/app-defaults instead
  281. * Tue Apr 15 2003 Mike A. Harris <mharris@redhat.com> 177-1
  282. - Call configure with "--enable-luit --enable-warnings --enable-wide-chars
  283. --with-utempter"
  284. - Initial build.