set /run/screens 777 [release 4.8.0-3mamba;Sun Dec 27 2020]
This commit is contained in:
parent
c698428d61
commit
2cf1259fba
1
screen-tmpfiles.conf
Normal file
1
screen-tmpfiles.conf
Normal file
@ -0,0 +1 @@
|
||||
d /run/screens 0777 root root -
|
34
screen.spec
34
screen.spec
@ -1,6 +1,6 @@
|
||||
Name: screen
|
||||
Version: 4.8.0
|
||||
Release: 1mamba
|
||||
Release: 3mamba
|
||||
Summary: A screen manager that multiplexes a physical terminal between several processes
|
||||
Group: Applications/Shells
|
||||
Vendor: openmamba
|
||||
@ -9,6 +9,7 @@ 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
|
||||
Source2: screen-tmpfiles.conf
|
||||
Patch0: screen-4.0.3-libs.patch
|
||||
# Some tweaks of the default screenrc
|
||||
Patch1: screen-4.0.2-screenrc.patch
|
||||
@ -18,17 +19,18 @@ 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: ldconfig
|
||||
BuildRequires: libncurses-devel
|
||||
BuildRequires: libpam-devel
|
||||
BuildRequires: libutempter-devel
|
||||
BuildRequires: pam-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildConflicts: libtermcap-devel
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: texinfo
|
||||
Requires(post):%{__install_info}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
Screen is a full-screen window manager that multiplexes a physical terminal between several processes, typically interactive shells.
|
||||
@ -49,7 +51,8 @@ Screen is a full-screen window manager that multiplexes a physical terminal betw
|
||||
--enable-rxvt_osc \
|
||||
--enable-locale \
|
||||
--enable-telnet \
|
||||
--with-sys-screenrc=/etc/screenrc
|
||||
--with-sys-screenrc=/etc/screenrc \
|
||||
--with-socket-dir=/run/screens
|
||||
|
||||
# We would like to have braille support.
|
||||
sed -i -e 's/.*#.*undef.*HAVE_BRAILLE.*/#define HAVE_BRAILLE 1/;' config.h
|
||||
@ -62,9 +65,9 @@ sed -i -e 's/\(\/usr\)\?\/local\/etc/\/etc/g;' doc/screen.{1,texinfo}
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall DESTDIR=%{buildroot}
|
||||
|
||||
install -D %{S:1} %{buildroot}%{_sysconfdir}/pam.d/screen
|
||||
|
||||
install -D -m644 etc/screenrc %{buildroot}%{_sysconfdir}/screenrc
|
||||
install -D -m0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/pam.d/screen
|
||||
install -D -m0644 %{SOURCE2} %{buildroot}%{_tmpfilesdir}/screen.conf
|
||||
install -D -m0644 etc/screenrc %{buildroot}%{_sysconfdir}/screenrc
|
||||
|
||||
rm -f %{buildroot}%{_bindir}/screen
|
||||
mv %{buildroot}%{_bindir}/screen-%{version} %{buildroot}%{_bindir}/screen
|
||||
@ -72,6 +75,10 @@ mv %{buildroot}%{_bindir}/screen-%{version} %{buildroot}%{_bindir}/screen
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%pre
|
||||
%tmpfiles_create_package screen %{SOURCE2}
|
||||
:
|
||||
|
||||
%post
|
||||
%install_info %{name}.info
|
||||
exit 0
|
||||
@ -82,9 +89,10 @@ exit 0
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%config %{_sysconfdir}/screenrc
|
||||
%config(noreplace) %{_sysconfdir}/screenrc
|
||||
%{_sysconfdir}/pam.d/screen
|
||||
%{_bindir}/screen
|
||||
%{_tmpfilesdir}/screen.conf
|
||||
%{_datadir}/screen/
|
||||
%{_infodir}/screen.*
|
||||
%{_mandir}/man1/screen.*
|
||||
@ -93,6 +101,12 @@ exit 0
|
||||
#% doc doc/README.DOTSCREEN
|
||||
|
||||
%changelog
|
||||
* Sun Dec 27 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 4.8.0-3mamba
|
||||
- set /run/screens 777
|
||||
|
||||
* Sat Dec 26 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 4.8.0-2mamba
|
||||
- rebuild without libtermcap
|
||||
|
||||
* Thu Feb 06 2020 Automatic Build System <autodist@mambasoft.it> 4.8.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user