Summary: A screen manager that supports multiple logins on one terminal. Summary(ja): スクリーンマネージャ - 一つの端末で多重ログイン Name: screen Version: 4.0.3 Release: 4%{?_dist_release} License: GPL Group: Applications/System Source0: ftp://ftp.uni-erlangen.de/pub/utilities/screen/screen-%{version}.tar.gz # based http://git.savannah.gnu.org/gitweb/?p=screen.git;a=commit;h=97059b7ad521cf796daee07397c658d9716dd1e7 Patch0: screen-4.0.3-execvpe.patch Patch6: screen-3.9.8-hascrypt.patch Patch11: screen-3.9.11-utf8-install.patch # obtained Patch11 from redhat Patch12: screen-4.0.3-stropts.patch Requires: ncurses Requires(post,preun): /sbin/install-info BuildRequires: ncurses-devel, texinfo, perl BuildRoot: %{_tmppath}/%{name}-%{version}-root Vendor: Project Vine Distribution: Vine Linux %description The screen utility allows you to have multiple logins on just one terminal. Screen is useful for users who telnet into a machine or are connected via a dumb terminal, but want to use more than just one login. Install the screen package if you need a screen manager that can support multiple logins on one terminal. %description -l ja 一つの端末プログラムだけで多重のログインを可能にするスクリーン管理 ユーティリティです。telnetで操作しているユーザやダムターミナルから 接続しているユーザでもっと多くの端末画面を使いたい場合にはとても 便利なプログラムです。 %prep %setup -q %patch0 -p1 -b .execvpe # avoid duplicated type declaration of crypt. %patch6 -p1 -b .hascrypt # to make directories under $RPM_BUILD_ROOT %patch11 -p1 -b .utf8 # do not include %patch12 -p1 -b .stropts %build autoconf %configure \ --enable-pam \ --enable-locate \ --enable-telnet \ --enable-colors256 \ --with-sys-screenrc=%{_sysconfdir}/screenrc # configure can figure out these values. #perl -pi -e 's|.*#.*PTYMODE.*|#define PTYMODE 0620|' config.h #perl -pi -e 's|.*#.*PTYGROUP.*|#define PTYGROUP 5|' config.h perl -pi -e 's|.*#undef HAVE_BRAILLE.*|#define HAVE_BRAILLE 1|' config.h perl -pi -e 's|/usr/local/etc/screenrc|/etc/screenrc|' etc/etcscreenrc doc/* perl -pi -e 's|/local/etc/screenrc|/etc/screenrc|' doc/* rm doc/screen.info* make CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE" %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/etc/skel perl -pi -e 's,/usr/local/etc/screenrc,/etc/screenrc,' etc/etcscreenrc %makeinstall DDESTDIR=$RPM_BUILD_ROOT ( cd $RPM_BUILD_ROOT # gzip -9nf .%{_infodir}/screen.info* # strip .%{_bindir}/screen-%{version} rm -f .%{_bindir}/screen.old .%{_bindir}/screen mv .%{_bindir}/screen-%{version} .%{_bindir}/screen ) install -c -m 0444 etc/etcscreenrc $RPM_BUILD_ROOT/etc/screenrc install -c -m 0644 etc/screenrc $RPM_BUILD_ROOT/etc/skel/.screenrc %clean rm -rf $RPM_BUILD_ROOT %post /sbin/install-info %{_infodir}/screen.info.* %{_infodir}/dir --entry="* screen: (screen). Terminal multiplexer." if [ -d /tmp/screens ]; then # we're not setuid root anymore chmod 777 /tmp/screens fi %preun if [ $1 = 0 ]; then /sbin/install-info --delete %{_infodir}/screen.info.* %{_infodir}/dir --entry="* screen: (screen). Terminal multiplexer." fi %files %defattr(-,root,root) %doc COPYING NEWS* README doc/FAQ TODO doc/README.DOTSCREEN terminfo #%attr(755,root,root) %{_bindir}/screen %{_bindir}/screen %{_mandir}/man1/screen.* %{_infodir}/screen.info* %{_datadir}/screen %config(noreplace) /etc/screenrc %config /etc/skel/.screenrc %changelog * Sun Aug 24 2014 Yoji TOYODA 4.0.3-4 - rebuild with VineSeed environment * Tue Apr 5 2011 IWAI, Masaharu 4.0.3-3vl6 - build on current VineSeed - add execvpe patch (Patch0) based upstream git * Tue Sep 30 2008 MATSUBAYASHI Kohji - 4.0.3-2 - spec in UTF-8 - add Patch12 to build against glibc-2.8 - fix typo (from --enable-color256 to --enable-colors256) thanks Minematsu Hiroki-san for pointing this out * Wed Mar 26 2008 Ryoichi INAGAKI 4.0.3-1vl5 - used %%{?_dist_release} * Mon Nov 20 2006 Daisuke SUZUKI 4.0.3-0vl4 - rebuild for VineSeed * Mon Nov 20 2006 MATSUBAYASHI Kohji 4.0.3-0vl3 - rebuilt without libelf-devel (ppc.rpm linked with libelf.so.0) * Thu Nov 02 2006 KAZUKI SHIMURA 4.0.3-0vl2 - add BuildRequires: texinfo, perl * Tue Oct 31 2006 Satoshi IWAMOTO 4.0.3-0vl1 - upstream release with security fix (build for Vine 4.0) * Sat Jul 01 2006 NAKAMURA Kenta 4.0.2-0vl2 - use License instead of Copyright * Sat Jun 5 2004 IWAI, Masaharu 4.0.2-0vl1 - new upstream release - add %%{_datadir}/screen in %%files - no replace configuration file: /etc/screenrc * Mon Mar 17 2003 IWAI Masaharu 3.9.13-0vl2 - eliminate %%{_bindir} from %%files section * Thu Sep 12 2002 Yoshihiro Ota 3.9.13-0vl1 - update to 3.9.13 - add FAQ instead of a symbolic link to FAQ - remove unnecessary patches * Thu Nov 1 2001 Shoji Matsumoto 3.9.10-0vl1 - update to 3.9.10 (security update) * Mon Aug 27 2001 Shoji Matsumoto 3.9.9-0vl1 - update to 3.9.9 - rebuild by current Seed - remove makeinfo patch, jbj patch * Sat Mar 10 2001 sagami@vinelinux.org - made minor spec fixes * Fri Mar 2 2001 Shoji Matsumoto 3.9.8-0vl1 - update to 3.9.8 - update 3.9.5-jbj.patch for 3.9.8 - add hascrypt patch * Sat Dec 09 2000 MATSUBAYASHI 'Shaolin' Kohji - 3.9.5-1vl3 - built with gcc-2.95.3 - partially used rpmmacros * Tue Oct 24 2000 Masato Bito - 3.9.5-1vl2 - fixed %files section to handle compressed man page * Fri Mar 3 2000 Taro FUNAKI - updated to 3.9.5 * Sun Feb 20 2000 MATSUBAYASHI 'Shaolin' Kohji - 3.9.4-5vl1 - merged missing patches from screen-3.9.4-3 on Red Hat 6.1 * Wed Oct 20 1999 Bill Nottingham - you know, we weren't just patching in Unix98 pty support for fun. * Wed Aug 18 1999 Bill Nottingham - put screendir in ~ * Wed Aug 18 1999 Jeff Johnson - update to 3.9.4. * Wed Jun 16 1999 Bill Nottingham - force tty permissions/group * Sat Jun 5 1999 Dale Lovelace - permissions on /etc/skel/.screenrc to 644 * Mon Apr 26 1999 Bill Nottingham - take out warning of directory permissions so root can still use screen * Wed Apr 07 1999 Bill Nottingham - take out warning of directory ownership so root can still use screen * Wed Apr 07 1999 Erik Troan - patched in utempter support, turned off setuid bit * Fri Mar 26 1999 Erik Troan - fixed unix98 pty support * Sun Mar 21 1999 Cristian Gafton - auto rebuild in the new build environment (release 3) * Thu Mar 11 1999 Bill Nottingham - add patch for Unix98 pty support * Mon Dec 28 1998 Jeff Johnson - update to 3.7.6. * Sun Aug 16 1998 Jeff Johnson - build root * Mon Apr 27 1998 Prospector System - translations modified for de, fr, tr * Tue Oct 21 1997 Cristian Gafton - upgraded to 3.7.4 * Wed Oct 08 1997 Erik Troan - removed glibc 1.99 specific patch * Tue Sep 23 1997 Erik Troan - added install-info support * Mon Jul 21 1997 Erik Troan - built against glibc