diff --git a/xterm.spec b/xterm.spec index 486f2a8..91f75a0 100644 --- a/xterm.spec +++ b/xterm.spec @@ -1,13 +1,14 @@ Summary: Terminal emulator for the X Window System Name: xterm Version: 327 -Release: 1%{?dist} +Release: 2%{?dist} URL: http://invisible-island.net/xterm License: MIT Group: User Interface/X BuildRequires: pkgconfig ncurses-devel libutempter-devel BuildRequires: libXft-devel libXaw-devel libXext-devel desktop-file-utils BuildRequires: libxkbfile-devel xorg-x11-apps +Requires: xterm-resize = %{version}-%{release} Source0: ftp://invisible-island.net/xterm/%{name}-%{version}.tgz Source1: ftp://invisible-island.net/xterm/16colors.txt @@ -25,6 +26,13 @@ The xterm program is a terminal emulator for the X Window System. It provides DEC VT102 and Tektronix 4014 compatible terminals for programs that can't use the window system directly. +%package resize +Summary: Set environment and terminal settings to current window size + +%description resize +Prints a shell command for setting the appropriate environment variables to +indicate the current size of the window from which the command is run. + %prep %setup -q @@ -87,10 +95,8 @@ fi %doc xterm.log.html ctlseqs.txt 16colors.txt README.i18n THANKS %{_bindir}/xterm %{_bindir}/koi8rxterm -%{_bindir}/resize %{_bindir}/uxterm %{_mandir}/man1/koi8rxterm.1* -%{_mandir}/man1/resize.1* %{_mandir}/man1/uxterm.1* %{_mandir}/man1/xterm.1* %{_datadir}/appdata/xterm.appdata.xml @@ -101,7 +107,14 @@ fi %{x11_app_defaults_dir}/UXTerm* %{x11_app_defaults_dir}/XTerm* +%files resize +%{_bindir}/resize +%{_mandir}/man1/resize.1* + %changelog +* Wed Nov 16 2016 Jason L Tibbitts III 327-2 +- move resize tool to a subpackage (#1349582) + * Mon Oct 10 2016 Miroslav Lichvar 327-1 - update to 327