xterm-vl.spec 12 KB

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