xterm-vl.spec 13 KB

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