Name: screen Epoch: 1 Version: 4.8.0 Release: 1 Summary: A full-screen window manager License: GPLv3+ URL: http://www.gnu.org/software/screen Source0: http://ftp.gnu.org/gnu/screen/screen-%{version}.tar.gz Source1: screen.pam Patch0: screen-4.3.1-screenrc.patch Patch1: screen-E3.patch Patch2: screen-4.3.1-suppress_remap.patch Patch3: screen-4.3.1-crypt.patch BuildRequires: automake autoconf gcc ncurses-devel texinfo Requires: shadow-utils Requires(preun): info Requires(post): info %description Screen is a full-screen window manager that multiplexes a physical terminal between several processes,typically interactive shells. %package help Summary: help for %{name} BuildArch: noarch %description help %{summary}. %prep %autosetup -n %{name}-%{version} -p1 %build autoreconf -fiv %configure \ --enable-pam \ --enable-colors256 \ --enable-rxvt_osc \ --enable-use-locale \ --enable-telnet \ --with-pty-mode=0620 \ --with-sys-screenrc="%{_sysconfdir}/screenrc" \ --with-socket-dir="%{_rundir}/screen" %make_build %install %make_install mv -f %{buildroot}/%{_bindir}/screen{-%{version},} install -D -p -m 0644 etc/etcscreenrc %{buildroot}/%{_sysconfdir}/screenrc install -D -p -m 0644 %{SOURCE1} %{buildroot}/%{_sysconfdir}/pam.d/screen install -d -m 0755 %{buildroot}/%{_rundir}/screen install -d -m 0755 %{buildroot}/%{_tmpfilesdir} cat < %{buildroot}/%{_tmpfilesdir}/screen.conf d %{_rundir}/screen 0775 root screen EOF # delete unpacked file rm -f %{buildroot}/%{_infodir}/dir %pre /usr/sbin/groupadd -g 84 -r -f screen %post if [ -f %{_infodir}/screen.info.gz ]; then /sbin/install-info %{_infodir}/screen.info.gz %{_infodir}/dir 2>/dev/null || : fi %preun if [ $1 = 0 ]; then if [ -f %{_infodir}/screen.info.gz ]; then /sbin/install-info --delete %{_infodir}/screen.info.gz %{_infodir}/dir 2>/dev/null || : fi fi %files %defattr(-,root,root) %doc README ChangeLog doc/FAQ doc/README.DOTSCREEN %license COPYING %config(noreplace) %{_sysconfdir}/screenrc %config(noreplace) %{_sysconfdir}/pam.d/screen %{_tmpfilesdir}/screen.conf %attr(2755,root,screen) %{_bindir}/screen %attr(775,root,screen) %{_rundir}/screen %{_datadir}/screen %files help %{_mandir}/man1/screen.* %{_infodir}/screen.info* %changelog * Fri Jul 24 2020 linwei - 1:4.8.0-1 - Type:bugfix - ID:NA - SUG:NA - DESC:modify release add changelog * Tue Jul 16 2020 linwei - 1:4.6.2-7 - Type:enhancement - ID:NA - SUG:NA - DESC:update screen to 4.8.0 * Wed Mar 18 2020 openEuler Buildteam - 1:4.6.2-6 - Type:bugfix - ID:NA - SUG:NA - DESC:fix Null pointer reference * Sat Dec 21 2019 openEuler Buildteam - 1:4.6.2-5 - Type:enhancement - ID:NA - SUG:NA - DESC:add requires and a directory * Sat Oct 26 2019 shenyangyang - 1:4.6.2-4 - Type:enhancement - ID:NA - SUG:NA - DESC:add build requires of texinfo to solve the problem of build * Tue Sep 26 2019 openEuler Buildteam - 1:4.6.2-3 - Modify requires * Tue Sep 26 2019 openEuler Buildteam - 1:4.6.2-2 - Adjust requires * Sat Sep 7 2019 openEuler Buildteam - 1:4.6.2-1 - Package init