|
|
|
@ -1,9 +1,7 @@
|
|
|
|
|
%define __spec_install_post %{nil}
|
|
|
|
|
|
|
|
|
|
Summary: A screen manager that supports multiple logins on one terminal.
|
|
|
|
|
Name: screen
|
|
|
|
|
Version: 3.9.9
|
|
|
|
|
Release: 2
|
|
|
|
|
Release: 3
|
|
|
|
|
License: GPL
|
|
|
|
|
Group: Applications/System
|
|
|
|
|
Source0: ftp://ftp.uni-erlangen.de/pub/utilities/screen/screen-%{version}.tar.gz
|
|
|
|
@ -17,10 +15,12 @@ Patch5: screen-3.9.9-pam.patch
|
|
|
|
|
Patch6: screen-3.9.9-doc.patch
|
|
|
|
|
Prereq: /sbin/install-info
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-root
|
|
|
|
|
BuildRequires: ncurses-devel
|
|
|
|
|
Requires: ncurses
|
|
|
|
|
|
|
|
|
|
%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
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
@ -44,17 +44,17 @@ support multiple logins on one terminal.
|
|
|
|
|
autoconf
|
|
|
|
|
%configure
|
|
|
|
|
|
|
|
|
|
sed -e 's/.*HAVE_BRAILLE.*/#define HAVE_BRAILLE 1/;
|
|
|
|
|
s/.*BUILTIN_TELNET.*/#define BUILTIN_TELNET 1/;
|
|
|
|
|
s/ETCSCREENRC \/usr\/etc\/screenrc/ETCSCREENRC \/etc\/screenrc/;' < config.h > config.tmp.h
|
|
|
|
|
sed -e 's/.*#.*undef.*HAVE_BRAILLE.*/#define HAVE_BRAILLE 1/;
|
|
|
|
|
s/.*#.*undef.*BUILTIN_TELNET.*/#define BUILTIN_TELNET 1/;
|
|
|
|
|
s/\(#.*define.*ETCSCREENRC.*\)"\/usr\/etc\/screenrc"/\1"\/etc\/screenrc"/;' < config.h > config.tmp.h
|
|
|
|
|
mv config.tmp.h config.h
|
|
|
|
|
|
|
|
|
|
sed -e 's/\/usr\/local\/etc/\/etc/;g' < etc/etcscreenrc > etc/etcscreenrc.tmp
|
|
|
|
|
sed -e 's/\/usr\/local\/etc/\/etc/g;' < etc/etcscreenrc > etc/etcscreenrc.tmp
|
|
|
|
|
mv etc/etcscreenrc.tmp etc/etcscreenrc
|
|
|
|
|
|
|
|
|
|
find doc -type f | ( while read line;
|
|
|
|
|
do
|
|
|
|
|
sed -e 's/\(\/usr\)\?\/local\/etc/\/etc/;' < $line > $line.tmp;
|
|
|
|
|
sed -e 's/\(\/usr\)\?\/local\/etc/\/etc/g;' < $line > $line.tmp;
|
|
|
|
|
mv $line.tmp $line
|
|
|
|
|
done; )
|
|
|
|
|
|
|
|
|
@ -113,6 +113,11 @@ fi
|
|
|
|
|
%config /etc/skel/.screenrc
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Aug 3 2001 Crutcher Dunnavant <crutcher@redhat.com> 3.9.9-3
|
|
|
|
|
- fixed screenrc path sed command; #50046
|
|
|
|
|
- added ncurses-devel build dep; #49692
|
|
|
|
|
- fix typo in specfile that broke screenrc, #49535
|
|
|
|
|
|
|
|
|
|
* Tue Jul 10 2001 Tim Powers <timp@redhat.com>
|
|
|
|
|
- gzip manpage
|
|
|
|
|
|
|
|
|
|