Accepting request 936180 from home:lnussel:branches:X11:terminals

- Use separate subpackage for resize binary. It does not actually
  depend on X so can be used in small systems.

OBS-URL: https://build.opensuse.org/request/show/936180
OBS-URL: https://build.opensuse.org/package/show/X11:terminals/xterm?expand=0&rev=200
This commit is contained in:
Marcus Meissner 2021-12-09 10:13:15 +00:00 committed by Git OBS Bridge
parent 684c33f7b5
commit 6d85a35474
2 changed files with 19 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Dec 7 08:55:20 UTC 2021 - Ludwig Nussel <lnussel@suse.de>
- Use separate subpackage for resize binary. It does not actually
depend on X so can be used in small systems.
-------------------------------------------------------------------
Tue Aug 17 09:08:15 UTC 2021 - Ludwig Nussel <lnussel@suse.de>

View File

@ -78,11 +78,20 @@ This package contains the basic X.Org terminal program desktop launcher.
%package bin
Summary: The basic X terminal program
Group: System/X11/Utilities
Requires: xterm-resize = %{version}-%{release}
%description bin
%endif
This package contains the basic X.Org terminal program.
%package resize
Summary: Set environment and terminal settings to current window size
Group: System/X11/Utilities
%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
%autosetup -p1
cp -t . %{SOURCE8} %{SOURCE9}
@ -151,13 +160,11 @@ install -m 644 *.pcf.gz %{buildroot}%{xfontsd}/misc/
%doc README README.i18n README.SUSE
%{_bindir}/luitx
%attr(755,root,root) %{_bindir}/xterm
%{_bindir}/resize
%{_bindir}/uxterm
%{_bindir}/koi8rxterm
%{_bindir}/Backarrow2Delete
%{_bindir}/Backarrow2BackSpace
%{_mandir}/man1/xterm.1.gz
%{_mandir}/man1/resize.1.gz
%{_mandir}/man1/koi8rxterm.1.gz
%{_mandir}/man1/uxterm.1.gz
%dir %{xterminfo}
@ -174,4 +181,8 @@ install -m 644 *.pcf.gz %{buildroot}%{xfontsd}/misc/
%{xappdefs}/XTerm
%{xappdefs}/XTerm-color
%files resize
%{_bindir}/resize
%{_mandir}/man1/resize.1*
%changelog