c3cb4a2
Summary: Terminal emulator for the X Window System
c3cb4a2
Name: xterm
a092d5e
Version: 245
a092d5e
Release: 1%{?dist}
c3cb4a2
URL: http://dickey.his.com/xterm
cvsdist ea59fcb
License: MIT
c3cb4a2
Group: User Interface/X
mharris cab7df0
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
69b28ac
BuildRequires: imake pkgconfig ncurses-devel libutempter-devel
c3cb4a2
BuildRequires: libXft-devel libXaw-devel libXext-devel desktop-file-utils
mharris cab7df0
jvdias 015713d
Source0: ftp://invisible-island.net/xterm/%{name}-%{version}.tgz
69b28ac
Source1: ftp://invisible-island.net/xterm/16colors.txt
c3cb4a2
Source2: %{name}.desktop
69b28ac
a092d5e
Patch1: xterm-245-resources.patch
69b28ac
Patch2: xterm-222-can-2003-0063.patch
3ca0349
Patch3: xterm-226-man-page_paths.patch
69b28ac
e996be2
%bcond_with trace
jvdias df65fe1
mharris cab7df0
%define x11_app_defaults_dir %(pkg-config --variable appdefaultdir xt)
mharris cab7df0
cvsdist ea59fcb
%description
cvsdist ea59fcb
The xterm program is a terminal emulator for the X Window System. It
cvsdist ea59fcb
provides DEC VT102 and Tektronix 4014 compatible terminals for
cvsdist ea59fcb
programs that can't use the window system directly.
cvsdist ea59fcb
cvsdist ea59fcb
%prep
cvsdist ea59fcb
%setup -q
69b28ac
ab625cf
%patch1 -p1 -b .resources
69b28ac
%patch2 -p1 -b .can-2003-0063
69b28ac
%patch3 -p1 -b .man-page_paths
cvsdist ea59fcb
cvsdist ea59fcb
%build
69b28ac
%configure \
69b28ac
	--enable-256-color \
0ff5182
	--enable-exec-xterm \
69b28ac
	--enable-luit \
a092d5e
%{?with_trace: --enable-trace} \
69b28ac
	--enable-warnings \
69b28ac
	--enable-wide-chars \
69b28ac
	--with-app-defaults=%{x11_app_defaults_dir} \
69b28ac
	--with-utempter \
69b28ac
	--with-tty-group=tty \
69b28ac
	--disable-full-tgetent
69b28ac
69b28ac
make %{?_smp_mflags}
cvsdist ea59fcb
cvsdist ea59fcb
%install
cvsdist ea59fcb
rm -rf $RPM_BUILD_ROOT
69b28ac
make DESTDIR=$RPM_BUILD_ROOT install
69b28ac
69b28ac
cp -fp %{SOURCE1} 16colors.txt
cvsdist ea59fcb
c3cb4a2
desktop-file-install --vendor=fedora \
c3cb4a2
	--dir=$RPM_BUILD_ROOT%{_datadir}/applications \
c3cb4a2
	%{SOURCE2}
c3cb4a2
cvsdist ea59fcb
%clean
mharris cab7df0
rm -rf $RPM_BUILD_ROOT
cvsdist ea59fcb
cvsdist ea59fcb
%files
b6e5f3b
%defattr(-,root,root,-)
69b28ac
%doc xterm.log.html ctlseqs.txt 16colors.txt README.i18n
e996be2
%{_bindir}/xterm
b6e5f3b
%{_bindir}/koi8rxterm
cvsdist ea59fcb
%{_bindir}/resize
cvsdist ea59fcb
%{_bindir}/uxterm
b6e5f3b
%{_mandir}/man1/koi8rxterm.1*
cvsdist ea59fcb
%{_mandir}/man1/resize.1*
b6e5f3b
%{_mandir}/man1/uxterm.1*
cvsdist ea59fcb
%{_mandir}/man1/xterm.1*
3ca0349
%{_datadir}/applications/fedora-xterm.desktop
3ca0349
%{_datadir}/pixmaps/xterm*.xpm
e996be2
%{x11_app_defaults_dir}/KOI8RXTerm
jvdias 015713d
%{x11_app_defaults_dir}/UXTerm
jvdias 015713d
%{x11_app_defaults_dir}/XTerm
jvdias 015713d
%{x11_app_defaults_dir}/XTerm-color
cvsdist ea59fcb
cvsdist ea59fcb
%changelog
a092d5e
* Thu Aug 13 2009 Miroslav Lichvar <mlichvar@redhat.com> 245-1
a092d5e
- update to 245
a092d5e
e2cb12e
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 242-4
e2cb12e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
e2cb12e
ad505bb
* Mon Mar 02 2009 Miroslav Lichvar <mlichvar@redhat.com> 242-3
ad505bb
- fix bell (#487829)
ad505bb
2e3a410
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 242-2
2e3a410
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
2e3a410
ab625cf
* Wed Feb 18 2009 Miroslav Lichvar <mlichvar@redhat.com> 242-1
ab625cf
- update to 242
ab625cf
- use upstream default value for modifyFunctionKeys resource
ab625cf
- remove png suffix from icon name in desktop file
ab625cf
a035a7a
* Tue Jan 06 2009 Miroslav Lichvar <mlichvar@redhat.com> 238-1
a035a7a
- update to 238 (#479000, CVE-2008-2383)
a035a7a
- set default values of allowWindowOps and allowFontOps resources to false
a035a7a
2b135c9
* Tue Sep 16 2008 Miroslav Lichvar <mlichvar@redhat.com> 237-1
2b135c9
- update to 237
2b135c9
0ff5182
* Wed Jul 30 2008 Miroslav Lichvar <mlichvar@redhat.com> 236-1
0ff5182
- update to 236
0ff5182
- enable support for spawn-new-terminal action (#457130)
0ff5182
55defb5
* Tue Apr 22 2008 Miroslav Lichvar <mlichvar@redhat.com> 235-1
55defb5
- update to 235
55defb5
4133b5e
* Mon Mar 03 2008 Miroslav Lichvar <mlichvar@redhat.com> 234-1
4133b5e
- update to 234
4133b5e
762fc2a
* Wed Feb 27 2008 Miroslav Lichvar <mlichvar@redhat.com> 233-1
762fc2a
- update to 233
762fc2a
d78aa5a
* Thu Jan 31 2008 Miroslav Lichvar <mlichvar@redhat.com> 232-1
d78aa5a
- update to 232
d78aa5a
e996be2
* Mon Jan 07 2008 Miroslav Lichvar <mlichvar@redhat.com> 231-1
e996be2
- update to 231
e996be2
- remove setgid utempter from xterm binary (#229360)
e996be2
b6e5f3b
* Fri Jan 04 2008 Miroslav Lichvar <mlichvar@redhat.com> 230-1
b6e5f3b
- update to 230
b6e5f3b
454326b
* Wed Aug 22 2007 Miroslav Lichvar <mlichvar@redhat.com> 229-2
454326b
- rebuild
454326b
39746db
* Mon Aug 13 2007 Miroslav Lichvar <mlichvar@redhat.com> 229-1
39746db
- update to 229
39746db
1ebeb05
* Mon Jul 23 2007 Miroslav Lichvar <mlichvar@redhat.com> 228-1
1ebeb05
- update to 228
1ebeb05
a3c2729
* Fri Jun 29 2007 Miroslav Lichvar <mlichvar@redhat.com> 227-1
a3c2729
- update to 227
a3c2729
3ca0349
* Fri Jun 22 2007 Miroslav Lichvar <mlichvar@redhat.com> 226-1
3ca0349
- update to 226
3ca0349
4715263
* Thu Apr 12 2007 Miroslav Lichvar <mlichvar@redhat.com> 225-2
4715263
- fix sections in man pages
4715263
f19c02d
* Tue Mar 27 2007 Miroslav Lichvar <mlichvar@redhat.com> 225-1
f19c02d
- update to 225
f19c02d
85076cd
* Tue Mar 20 2007 Miroslav Lichvar <mlichvar@redhat.com> 224-2
85076cd
- fix background color setting in alternate screen
85076cd
- don't display xterm in menus (#231000)
85076cd
e76042c
* Fri Feb 16 2007 Miroslav Lichvar <mlichvar@redhat.com> 224-1
e76042c
- update to 224
e76042c
- drop utempter group before creating pty
e76042c
- add Icon to desktop file (#227925)
e76042c
c3cb4a2
* Wed Feb 07 2007 Miroslav Lichvar <mlichvar@redhat.com> 223-3
c3cb4a2
- spec cleanup (#226660)
c3cb4a2
1f6b02d
* Thu Jan 18 2007 Miroslav Lichvar <mlichvar@redhat.com> 223-2
1f6b02d
- make xterm binary sgid utempter (#222847)
1f6b02d
- fix font size changes with -fa option (#222340)
1f6b02d
- fix redrawing of internal border (#223027)
1f6b02d
- enable metaSendsEscape resource and set modifyFunctionKeys to 0 by default
1f6b02d
778d424
* Thu Dec 07 2006 Miroslav Lichvar <mlichvar@redhat.com> 223-1
778d424
- update to 223
778d424
69b28ac
* Thu Nov 23 2006 Miroslav Lichvar <mlichvar@redhat.com> 222-1
69b28ac
- update to 222
69b28ac
- link with libncurses instead of libtermcap
69b28ac
- spec cleanup
69b28ac
ec80d2a
* Mon Sep 04 2006 Miroslav Lichvar <mlichvar@redhat.com> 215-3.fc6
ec80d2a
- fix segfault when /etc/termcap is missing (#201246)
ec80d2a
mharris cab7df0
* Wed Jul 26 2006 Mike A. Harris <mharris@redhat.com> 215-2.fc6
mharris cab7df0
- Replace BuildRequires utempter with libutempter-devel
mharris cab7df0
- Change BuildRoot tag to comply with Fedora packaging guidelines
mharris cab7df0
- Use pkg-config to autodetect the location of the system app-defaults dir
mharris cab7df0
- Add BuildRequires: pkgconfig
mharris cab7df0
jvdias f55a7d7
* Mon Jul 17 2006 Jason Vas Dias <jvdias@redhat.com> - 215-1.fc6
jvdias f55a7d7
- Upgrade to upstream version 215
jvdias f55a7d7
215fd36
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 213-2.1
215fd36
- rebuild
215fd36
4f60a97
* Tue Jul 11 2006 Adam Jackson <ajackson@redhat.com> - 213-2.fc6
4f60a97
- Use correct dist tag in Release string.
4f60a97
jvdias bc49892
* Wed May 31 2006 Jason Vas Dias <jvdias@redhat.com> - 213-1
jvdias bc49892
- Upgrade to upstream version 213 (fixes bug 192627)
jvdias bc49892
- fix bug 189161 : make -r/-rv do reverseVideo with or without
c3cb4a2
  xterm*{fore,back}ground set
jvdias bc49892
 
jvdias 079a6ba
* Thu Apr 13 2006 Jason Vas Dias <jvdias@redhat.com> - 212-1
jvdias 079a6ba
- Upgrade to upstream version 212
jvdias 079a6ba
- fix bug 188031 : paths in man-page
jvdias 079a6ba
 
jvdias 090a2ee
* Wed Mar 29 2006 Jason Vas Dias <jvdias@redhat.com> - 211-4
jvdias 090a2ee
- fix bug 186935: cursor GCs must be freed with XtReleaseGC
jvdias 090a2ee
jvdias df65fe1
* Tue Mar 21 2006 Jason Vas Dias <jvdias@redhat.com> - 211-1
jvdias df65fe1
- Upgrade to upstream version 211 (fixes bug 186094).
jvdias df65fe1
- Enable new 'utf8Title' resource by default
jvdias df65fe1
 
jvdias 6cde1f8
* Tue Mar 07 2006 Jason Vas Dias <jvdias@redhat.com> - 209-4
jvdias 6cde1f8
- fix bug 183993: call set_cursor_gcs in ReverseVideo
jvdias 6cde1f8
jvdias 8873885
* Wed Feb 22 2006 Jason Vas Dias <jvdias@redhat.com> - 209-2
jvdias 8873885
- fix bug 182382: check for (VWindow(screen)!=0) in set_cursor_gcs
jvdias 8873885
- further fix for bug 178302: allow *vt100*cursorColor to be same as fg
jvdias 8873885
jvdias 8692292
* Tue Feb 14 2006 Jason Vas Dias <jvdias@redhat.com> - 209-1
jvdias 8692292
- Upgrade to upstream version 209 (fixes bug 180450)
jvdias 8692292
1359f43
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 208-1.2
1359f43
- bump again for double-long bug on ppc(64)
1359f43
a4945bd
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 208-1.1
a4945bd
- rebuilt for new gcc4.1 snapshot and glibc changes
a4945bd
jvdias eb8c187
* Tue Jan 17 2006 Jason Vas Dias<jvdias@redhat.com> - 208-1
jvdias eb8c187
- Upgrade to upstream version 208
jvdias eb8c187
- Allow root user to grab the console, even if /dev/console 
jvdias eb8c187
  not owned by root
jvdias eb8c187
- restore Red Hat '*VT100*scrollBar:1' default Xresource
jvdias eb8c187
jvdias dacc656
* Wed Dec 21 2005 Jason Vas Dias<jvdias@redhat.com> - 207-10
jvdias dacc656
- Fix bug 164210: tek4014 support should be enabled by default
jvdias dacc656
jvdias 015713d
* Wed Dec 14 2005 Jason Vas Dias<jvdias@redhat.com> - 207-8
jvdias 015713d
- Fix bug 175684: compile with --enable-256-color
jvdias 015713d
- Fix bug 155538 addenda - restore '*VT100*backarrowKey:0'
jvdias 015713d
68baf10
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
68baf10
- rebuilt
68baf10
jvdias e5de706
* Mon Nov 21 2005 Jason Vas Dias<jvdias@redhat.com> - 207-5
jvdias e5de706
- fix bug 173703: remove reference to /usr/X11R6/bin/luit :
jvdias e5de706
  PROJECTROOT should be /usr, not /usr/X11R6
jvdias e5de706
jvdias e5de706
* Thu Nov 18 2005 Jason Vas Dias<jvdias@redhat.com> - 207-4
jvdias e5de706
- fix bug 173541: better fix for freetype configuration problem
jvdias e5de706
jvdias 9e3a1cc
* Mon Nov 14 2005 Jason Vas Dias<jvdias@redhat.com> - 207-1
jvdias 9e3a1cc
- Upgrade to upstream version 207
jvdias 9e3a1cc
- Fix app-defaults directory for modular X11
jvdias 9e3a1cc
6d542e9
* Sun Nov 13 2005 Jeremy Katz <katzj@redhat.com> - 206-4
6d542e9
- rebuild for newer modular X
6d542e9
jvdias ef746ef
* Fri Nov 04 2005 Jason Vas Dias <jvdias@redhat.com> 206-1
jvdias ef746ef
- Upgrade to upstream version 206
jvdias ef746ef
jvdias f6d0acd
* Wed Oct 12 2005 Jason Vas Dias <jvdias@redhat.com> 205-1
jvdias f6d0acd
- Upgrade to upstream version 205 
jvdias f6d0acd
  fixes bugs: 124421, 129146, 159562, 161894, 169347
jvdias f6d0acd
 
mharris f99f506
* Sat Sep 24 2005 Mike A. Harris <mharris@redhat.com> 200-10
mharris f99f506
- Updated xterm-resources-redhat.patch to add "xterm*ttyModes: erase ^?"
mharris 3d0df27
  resource to fix bug (#155538,160354,163812,162549)
mharris f99f506
  
mharris 977324c
* Wed Sep 14 2005 Mike A. Harris <mharris@redhat.com> 200-9
mharris 977324c
- Updated xterm-resources-redhat.patch to remove utf8 resource which was
mharris 977324c
  added in the 200-7 build, as it was incorrectly set to 'true' instead
mharris 977324c
  of '1', and bug #138681 turned out to be a gdm bug instead of an xterm
mharris 977324c
  bug.  This fixes bug (#163568).
mharris 977324c
  
mharris 37be603
* Mon Aug 29 2005 Mike A. Harris <mharris@redhat.com> 200-8
mharris 37be603
- Added --disable-tek4014 to ./configure flags, to disable tek support
mharris 37be603
  for bug (#164210)
mharris 37be603
mharris 761c05b
* Mon May 2 2005 Mike A. Harris <mharris@redhat.com> 200-7
mharris 761c05b
- Updated xterm-resources-redhat.patch to enable xterm utf8 resource by
mharris 761c05b
  default, as our default OS environment is UTF-8, for bug (#138681)
mharris 761c05b
mharris d17020c
* Sat Apr 16 2005 Mike A. Harris <mharris@redhat.com> 200-6
mharris d17020c
- Added option to spec file to allow easy rebuilding with 256 color option
mharris d17020c
  for those who prefer this non-default behaviour (#103402)
mharris d17020c
sandmann f503ebd
* Tue Mar 8 2005 Soeren Sandmann <sandmann@redhat.com> 200-5
sandmann f503ebd
- Ported xterm-resources-redhat.patch to newer xterms. (#126855)
sandmann f503ebd
mharris f31af76
* Sun Mar 6 2005 Mike A. Harris <mharris@redhat.com> 200-4
mharris f31af76
- Added libtermcap-devel and utempter to BuildRequires
mharris f31af76
- Changed BuildRequires from XFree86-devel to xorg-x11-devel
mharris f31af76
mharris 3334fcd
* Sun Mar 6 2005 Mike A. Harris <mharris@redhat.com> 200-3
mharris 3334fcd
- Rebuild with gcc 4 for FC4 development
mharris 3334fcd
mharris 396a893
* Mon Feb 7 2005 Mike A. Harris <mharris@redhat.com> 200-2
mharris 396a893
- Removed chmod from prep, and updated comment to refect (#128341c12)
mharris 396a893
mharris 396a893
* Mon Feb 7 2005 Mike A. Harris <mharris@redhat.com> 200-1
mharris 485fadb
- Updated main tarball to xterm-200 for FC4 devel
mharris fe988b1
- Disabled xterm-179-ppc-fix-bug-101472.patch for now, to see if the problem
mharris fe988b1
  occurs on ppc still or not.
mharris 485fadb
cvsdist 6307e19
* Fri Jul 13 2004 Mike A. Harris <mharris@redhat.com> 192-1
cvsdist 6307e19
- Updated main tarball to xterm-192 for FC3 devel
cvsdist 6307e19
- Resolved bugs #126569,127132
cvsdist 6307e19
cvsdist aaa5b94
* Fri Jun 18 2004 Mike A. Harris <mharris@redhat.com> 191-1
cvsdist aaa5b94
- Updated main tarball to xterm-191 for FC3 devel
cvsdist aaa5b94
- Disabled xterm-resources-redhat.patch to see what if anything breaks, as
cvsdist aaa5b94
  it no longer applies cleanly.  Hopefully we can just ship stock xterm
cvsdist aaa5b94
  resources now, although I realize that is more likely to be a pie in the
cvsdist aaa5b94
  sky fantasy once the bug reports trickle in from this change.  ;o)
cvsdist aaa5b94
  
cvsdist aaa5b94
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com> 179-8
cvsdist aaa5b94
- rebuilt
cvsdist aaa5b94
cvsdist aaa5b94
* Thu Jun  3 2004 Mike A. Harris <mharris@redhat.com> 179-7
cvsdist aaa5b94
- Rebuilt for FC3 devel
cvsdist aaa5b94
cvsdist aaa5b94
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> 179-6.EL
cvsdist 401cdb6
- rebuilt
cvsdist 401cdb6
cvsdist 401cdb6
* Mon Sep  8 2003 Mike A. Harris <mharris@redhat.com> 179-5.EL
cvsdist 401cdb6
- Rebuilt 179-5 for Taroon
cvsdist 401cdb6
cvsdist ea59fcb
* Mon Sep  8 2003 Mike A. Harris <mharris@redhat.com> 179-5
cvsdist ea59fcb
- Added xterm-179-ppc-fix-bug-101472.patch ifarch ppc ppc64 to fix bug (#101472)
cvsdist ea59fcb
cvsdist ea59fcb
* Wed Aug 27 2003 Bill Nottingham <notting@redhat.com> 179-4.1
cvsdist ea59fcb
- fix symlink
cvsdist ea59fcb
- rebuild
cvsdist ea59fcb
cvsdist ea59fcb
* Wed Aug 13 2003 Mike A. Harris <mharris@redhat.com> 179-3.EL
cvsdist ea59fcb
- Rebuilt for Taroon with symlink fixes.
cvsdist ea59fcb
cvsdist ea59fcb
* Wed Aug 13 2003 Mike A. Harris <mharris@redhat.com> 179-3
cvsdist ea59fcb
- Added symlink /usr/X11R6/bin/xterm pointing to _bindir/xterm so that apps
cvsdist ea59fcb
  and scripts which invoke xterm explicitly as /usr/X11R6/bin/xterm, will
cvsdist ea59fcb
  continue to work correctly without surprises (#101994)
cvsdist ea59fcb
cvsdist ea59fcb
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com> 179-2.EL
cvsdist ea59fcb
- rebuilt
cvsdist ea59fcb
cvsdist ea59fcb
* Fri May 30 2003 Mike A. Harris <mharris@redhat.com> 179-1.EL
cvsdist ea59fcb
- Bump release to 1.EL for Red Hat Enterprise Linux build
cvsdist ea59fcb
cvsdist ea59fcb
* Mon May 26 2003 Mike A. Harris <mharris@redhat.com> 179-1
cvsdist ea59fcb
- Updated to upstream xterm 179
cvsdist ea59fcb
- [SECURITY] Added xterm-can-2003-0063.patch from XFree86 4.3.0-12 package
cvsdist ea59fcb
- Added Red Hat xterm-resources-redhat.patch from XFree86 4.3.0-12 package
cvsdist ea59fcb
- Added "chmod -R u+w *" after source is decompressed or else patches can not
cvsdist ea59fcb
  be applied due to upstream source being read only files
cvsdist ea59fcb
- Built xterm 179-1 in rawhide
cvsdist ea59fcb
cvsdist ea59fcb
* Mon May  5 2003 Mike A. Harris <mharris@redhat.com> 177-2.0.EL
cvsdist ea59fcb
- Bump release to 2.0.EL for Red Hat Enterprise Linux build
cvsdist ea59fcb
cvsdist ea59fcb
* Mon May  5 2003 Mike A. Harris <mharris@redhat.com> 177-2
cvsdist ea59fcb
- Build fix for lib64:  _x11datadir == /usr/X11R6/lib
cvsdist ea59fcb
- Another lib64 build fix:  xterm uses /usr/%%{_lib}/X11/app-defaults when it
cvsdist ea59fcb
  should be using an arch-neutral dir {_x11datadir}/X11/app-defaults instead
cvsdist ea59fcb
cvsdist ea59fcb
* Tue Apr 15 2003 Mike A. Harris <mharris@redhat.com> 177-1
cvsdist ea59fcb
- Call configure with "--enable-luit --enable-warnings --enable-wide-chars
cvsdist ea59fcb
  --with-utempter"
cvsdist ea59fcb
- Initial build.