screen/screen.spec

200 lines
6.3 KiB
RPMSpec
Raw Normal View History

#
# spec file for package screen (Version 4.0.2)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: screen
BuildRequires: utempter
License: GNU General Public License (GPL)
Group: System/Console
PreReq: %install_info_prereq
Autoreqprov: on
Version: 4.0.2
Release: 83
Summary: A program to allow multiple screens on a VT100/ANSI Terminal
Source: screen-4.0.2.tar.gz
Patch: screen-4.0.2.dif
Patch1: screen-__P.diff
Patch2: screen-gcc4.diff
Patch3: screen-4.0.2-comb.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
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.
Documentation: man page
Authors:
--------
Oliver Lauman
Juergen Weigert <jnweiger@immd4.informatik.uni-erlangen.de>
Michael Schroeder <mlschroe@immd4.informatik.uni-erlangen.de>
%prep
%setup
%patch
%patch1
%patch2 -p1
%patch3
%build
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --infodir=%{_infodir} \
--mandir=%{_mandir} \
--with-socket-dir='(eff_uid ? "/var/run/uscreens" : "/var/run/screens")' \
--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 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*.gz
%doc %{_mandir}/man1/screen.1.gz
%post
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
%postun
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
%changelog -n screen
* Mon Oct 23 2006 - mls@suse.de
- fix two bugs in handling of combining characters [#214412]
* Fri Feb 10 2006 - mls@suse.de
- enable support for 256 colors [#136684]
* Thu Jan 26 2006 - sbrabec@suse.cz
- Added %%install_info_prereq.
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Sat Oct 29 2005 - mls@suse.de
- fix ut_time aliasing problem
* Fri Apr 08 2005 - meissner@suse.de
- execl 0 -> (char*)0.
* Tue Sep 28 2004 - mls@suse.de
- clear ti/te for xterms so that users can use xterm's scrollbar
* Sun Sep 12 2004 - kukuk@suse.de
- Don't use __P from glibc
* Mon Feb 16 2004 - mls@suse.de
- fix socketdir quoting
* Thu Feb 12 2004 - mls@suse.de
- update to 4.0.2
- move sockdirs to /var/run and include them in package
* Sat Jan 10 2004 - adrian@suse.de
- add %%defattr
* Thu Sep 18 2003 - mls@suse.de
- update to 4.0.1 (fixes another bug of the parser)
* Fri Sep 12 2003 - mls@suse.de
- fix off by one error in variable expansion
* Fri Sep 12 2003 - mls@suse.de
- don't resize xterms on startup
* Mon Sep 08 2003 - mls@suse.de
- update to 4.0.0final
* Wed Aug 27 2003 - mls@suse.de
- update to 4.0.0beta2
* Fri Aug 01 2003 - mls@suse.de
- update to 4.0.0beta1
* Thu Apr 24 2003 - ro@suse.de
- fix install_info --delete call and move from preun to postun
* Thu Mar 13 2003 - mls@suse.de
- update to 3.9.15: changing the window title could append
junk to the title
* Wed Mar 12 2003 - mls@suse.de
- update to 3.9.14: one small docu change and a small improvement
in the windowlist command
* Mon Feb 24 2003 - mls@suse.de
- update to 3.9.14beta1
- build screen with buildroot
- remove xf86 dependency, use configure option instead
- use install-info macro to install info page
* Tue Oct 01 2002 - mls@suse.de
- fix WrapChar() scrolling region reset code to always use a
valid scrolling region (#20367)
* Tue Sep 17 2002 - ro@suse.de
- removed bogus self-provides
* Thu Sep 05 2002 - mls@suse.de
- update to official screen-3.9.13, contains one small bug
fix
* Thu Aug 29 2002 - mls@suse.de
- update to official screen-3.9.12
* Mon Aug 19 2002 - mls@suse.de
- update to screen-3.9.12beta2
* Fri Mar 08 2002 - kukuk@suse.de
- Add /usr/share/screen to filelist
* Wed Mar 06 2002 - mls@suse.de
- disable pam support again
- fix segmentation fault in screen's reattach password check
* Fri Feb 22 2002 - mls@suse.de
- fix passing of NUL bytes when recoding is active
- moved uid/gid retrieval in front of FindEncoding
* Mon Feb 18 2002 - mls@suse.de
- added missing /usr/share/screen/utf8encodings files
- small patch to fix hardstatus width
* Thu Feb 14 2002 - mls@suse.de
- update to official screen-3.9.11
- enabled pam & localized dates
* Mon Feb 11 2002 - mls@suse.de
- update to screen-3.9.11beta7
* Tue Jan 29 2002 - okir@suse.de
- require utempter to build; zapped s bit
* Fri Jan 25 2002 - okir@suse.de
- require utempter to build
* Wed Sep 05 2001 - mls@suse.de
- nominal upgrade to screen-3.9.10
* Mon Sep 03 2001 - mls@suse.de
- Security fix for the Multiattach-bug in /usr/bin/screen
* Mon Jul 23 2001 - bk@suse.de
- added select-fix for fifo-testcase to build on s390x
* Fri May 25 2001 - mls@suse.de
- update -> 3.9.9
* Tue May 08 2001 - mls@suse.de
- added workaround for broken xterm to global screenrc
* Fri Apr 27 2001 - mls@suse.de
- fix screen -wipe (bugzilla bug #2990)
- fix f10 function key (bugzilla bug #4326)
- fix 0620 pty mode autodetection (bugzilla bug #6304)
* Mon Sep 04 2000 - uli@suse.de
- fix for root compromise using configurable visual bell string
* Fri Feb 25 2000 - kukuk@suse.de
- Move /usr/{info,man} -> /usr/share/{info,man}
* Fri Oct 22 1999 - uli@suse.de
- update -> 3.9.5
* Mon Sep 13 1999 - bs@suse.de
- ran old prepare_spec on spec file to switch to new prepare_spec.
* Fri Nov 27 1998 - uli@suse.de
- Update 3.7.3 -> 3.7.6
* Wed Apr 30 1997 - florian@suse.de
- update to version 3.7.3
- mv /usr/etc/screenrc /etc/