SHA256
1
0
forked from pool/screen

Accepting request 52080 from home:a_jaeger:branches:openSUSE:Factory

OBS-URL: https://build.opensuse.org/request/show/52080
OBS-URL: https://build.opensuse.org/package/show/Base:System/screen?expand=0&rev=14
This commit is contained in:
Cristian Rodríguez 2010-11-04 00:54:11 +00:00 committed by Git OBS Bridge
parent 7321e55024
commit 4723c4b398
3 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Nov 3 14:54:47 UTC 2010 - aj@suse.de
- Add /etc/tmpfiles.d/screen.conf for /var/run on tmpfs.
-------------------------------------------------------------------
Thu Sep 9 18:43:01 UTC 2010 - aj@suse.de

4
screen.conf Normal file
View File

@ -0,0 +1,4 @@
# Screen needs some files in /var/run:
d /var/run/screens 0755 root root -
d /var/run/uscreens 1777 root root -

View File

@ -34,6 +34,7 @@ Version: 4.0.3
Release: 7
Summary: A program to allow multiple screens on a VT100/ANSI Terminal
Source: %{name}-%{version}.tar.bz2
Source1: screen.conf
Patch: screen-4.0.2.dif
Patch1: screen-__P.diff
Patch2: screen-gcc4.diff
@ -74,17 +75,21 @@ 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/etc/tmpfiles.d
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
install -m 644 %SOURCE1 $RPM_BUILD_ROOT/etc/tmpfiles.d
%files
%defattr(-,root,root)
%config /etc/screenrc
%attr(555,root,root) /usr/bin/screen
%dir /usr/share/screen
%dir /etc/tmpfiles.d
/etc/tmpfiles.d/screen.conf
/usr/share/screen/utf8encodings
# Created via aaa_base on system boot
%ghost %dir /var/run/screens