LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File screen_4.0.2-4.1.spec of Package screen_branch (Project home:mlschroe)

Name:           screen
License:        GPL
Group:          System/Console
Autoreqprov:    on
Version:        4.0.2
Release:        71
Summary:        A program to allow multiple screens on a VT100/ANSI Terminal (bar xxx)
Source:         screen_4.0.2.orig.tar.gz
Patch:          screen_4.0.2-4.1.diff.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
TEST II
With this program you can take advantage of the multitasking abilities
of your Linux system by opening several sessions over one terminal. The
sessions can also be detached and resumed from another login terminal.
TEST III

BRANCH TESTING...

BRANCH TESTING...

BRANCH TESTING...

%prep
%setup -n screen-4.0.2
%patch -p1

%build

CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --infodir=%{_infodir} \
		--mandir=%{_mandir} \
		--with-socket-dir=/var/run/uscreens \
		--with-sys-screenrc=/etc/screenrc \
		--with-pty-group=5 \
		--enable-locale \
		--enable-telnet \
		--enable-colors256 \
		--verbose
make

%install

make install DESTDIR=$RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT/usr/bin/screen
mv $RPM_BUILD_ROOT/usr/bin/screen-%version $RPM_BUILD_ROOT/usr/bin/screen
chmod 755 $RPM_BUILD_ROOT/usr/bin/screen
mkdir -p $RPM_BUILD_ROOT/etc
mkdir -p $RPM_BUILD_ROOT/var/run/screens
chmod 755 $RPM_BUILD_ROOT/var/run/screens
mkdir -p $RPM_BUILD_ROOT/var/run/uscreens
chmod 1777 $RPM_BUILD_ROOT/var/run/uscreens
install -m 644 debian/screenrc $RPM_BUILD_ROOT/etc/screenrc

%files
%defattr(-,root,root)
%config /etc/screenrc
%attr(555,root,root) /usr/bin/screen
%dir /usr/share/screen
/usr/share/screen/utf8encodings
%dir /var/run/screens
%dir /var/run/uscreens
%doc %{_infodir}/screen.info*
%doc %{_mandir}/man1/screen.1*