xterm-vl.spec 12 KB

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