xterm-vl.spec 12 KB

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