127 lines
3.6 KiB
RPMSpec
127 lines
3.6 KiB
RPMSpec
Name: screen
|
|
Version: 4.5.0
|
|
Release: 1mamba
|
|
Summary: A screen manager that multiplexes a physical terminal between several processes
|
|
Group: Applications/Shells
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Aleph0 <aleph0@openmamba.org>
|
|
URL: http://www.gnu.org/software/screen/
|
|
Source0: ftp://ftp.gnu.org/gnu/screen/screen-%{version}.tar.gz
|
|
Source1: screen-pamfile
|
|
Patch0: screen-4.0.3-libs.patch
|
|
# Some tweaks of the default screenrc
|
|
Patch1: screen-4.0.2-screenrc.patch
|
|
Patch2: screen-4.0.3-stropts.patch
|
|
# Fixes potential buffer overflow when > 2^31 semicolons are passed.
|
|
Patch3: screen-4.0.1-args.patch
|
|
Patch4: screen-4.0.2-maxstr.patch
|
|
Patch5: screen-4.0.3-ipv6.patch
|
|
License: GPL
|
|
Requires(post):%{__install_info}
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libelf-devel
|
|
BuildRequires: libncurses-devel
|
|
BuildRequires: libutempter-devel
|
|
BuildRequires: pam-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: autoconf
|
|
BuildRequires: texinfo
|
|
|
|
%description
|
|
Screen is a full-screen window manager that multiplexes a physical terminal between several processes, typically interactive shells.
|
|
|
|
%prep
|
|
%setup -q
|
|
#%patch0 -p1
|
|
%patch1 -p1
|
|
#%patch2 -p1
|
|
#%patch3 -p0
|
|
#%patch4 -p1
|
|
#%patch5 -p1
|
|
|
|
%build
|
|
%configure \
|
|
--enable-pam \
|
|
--enable-colors256 \
|
|
--enable-rxvt_osc \
|
|
--enable-locale \
|
|
--enable-telnet \
|
|
--with-sys-screenrc=/etc/screenrc
|
|
|
|
# We would like to have braille support.
|
|
sed -i -e 's/.*#.*undef.*HAVE_BRAILLE.*/#define HAVE_BRAILLE 1/;' config.h
|
|
sed -i -e 's/\(\/usr\)\?\/local\/etc/\/etc/g;' doc/screen.{1,texinfo}
|
|
#rm doc/screen.info*
|
|
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall DESTDIR=%{buildroot}
|
|
|
|
install -D %{S:1} %{buildroot}%{_sysconfdir}/pam.d/screen
|
|
|
|
install -D -m644 etc/screenrc %{buildroot}%{_sysconfdir}/screenrc
|
|
|
|
rm -f %{buildroot}%{_bindir}/screen
|
|
mv %{buildroot}%{_bindir}/screen-%{version} %{buildroot}%{_bindir}/screen
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%post
|
|
%install_info %{name}.info
|
|
exit 0
|
|
|
|
%preun
|
|
%uninstall_info %{name}.info
|
|
exit 0
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%config %{_sysconfdir}/screenrc
|
|
%{_sysconfdir}/pam.d/screen
|
|
%{_bindir}/screen
|
|
%{_datadir}/screen/
|
|
%{_infodir}/screen.*
|
|
%{_mandir}/man1/screen.*
|
|
%doc COPYING
|
|
# ChangeLog FAQ NEWS README TODO
|
|
#% doc doc/README.DOTSCREEN
|
|
|
|
%changelog
|
|
* Wed Jan 25 2017 Automatic Build System <autodist@mambasoft.it> 4.5.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Jun 20 2016 Automatic Build System <autodist@mambasoft.it> 4.4.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Sep 12 2015 Automatic Build System <autodist@mambasoft.it> 4.3.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Apr 30 2014 Automatic Build System <autodist@mambasoft.it> 4.2.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Oct 27 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0.3-5mamba
|
|
- modify pam file not to use obsoleted pam_stack module
|
|
|
|
* Mon Jul 19 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0.3-4mamba
|
|
- added configure option to fix patch of default configuration file (/etc/screenrc)
|
|
|
|
* Mon Feb 08 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0.3-3mamba
|
|
- rebuilt without libshadow
|
|
|
|
* Thu Oct 30 2008 Tiziana Ferro <tiziana.ferro@email.it> 4.0.3-2mamba
|
|
- some bug fixed
|
|
- braille support added
|
|
- buildrequirement list added
|
|
|
|
* Fri Aug 29 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0.3-1mamba
|
|
- update to 4.0.3
|
|
|
|
* Mon May 28 2007 Aleph0 <aleph0@openmamba.org> 4.0.2-1mamba
|
|
- package created by autospec
|