]> git.pld-linux.org Git - packages/screen.git/blob - screen.spec
- fixed update to 3.9.8
[packages/screen.git] / screen.spec
1 Summary:        Screen - Manages multiple sessions on one tty
2 Summary(de):    Screen - Verwaltet mehrere Sitzungen an einem tty
3 Summary(fr):    screen - gère plusieurs sessions sur un seul terminal
4 Summary(pl):    Screen - Program zarz±dzaj±cy sesjami na jednym terminalu
5 Summary(tr):    Bir uçbirimde birden fazla oturumu düzenler
6 Name:           screen
7 Version:        3.9.8
8 Release:        1
9 License:        GPL
10 Group:          Utilities/Terminal
11 Group(pl):      Narzêdzia/Terminal
12 Source0:        ftp://ftp.uni-erlangen.de/pub/utilities/screen/%{name}-%{version}.tar.gz
13 Patch1:         screen-tty.patch
14 Patch2:         screen-compat21.patch
15 Patch3:         screen-DESTDIR.patch
16 Patch4:         screen-manual.patch
17 Patch5:         screen-ia64.patch
18 BuildRequires:  ncurses-devel >= 5.0
19 BuildRequires:  utempter-devel
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %define         _sysconfdir     /etc
23
24 %description
25 Screen is a program that allows you to have multiple logins on one
26 terminal. It is useful in situations where you are telnetted into a
27 machine or connected via a dumb terminal and want more than just one
28 login.
29
30 %description -l de
31 Screens ist ein Programm, das Ihnen erlaubt, sich auf einem Terminal
32 mehrfach einzuloggen - was nützlich sein kann, wenn Sie über ein
33 dummes Terminal eine Telnetverbindung zu einem Rechner haben und mehr
34 als ein Login benötigen.
35
36 %description -l fr
37 Screen est un programme permettant plusieurs connexions sur un
38 terminal. Il est utile pour ouvrir plusieurs sessions à la fois, si
39 vous voulez ouvrir une session telnet sur une autre machine et voulez
40 plus d'une connexion.
41
42 %description -l pl
43 Screen jest programem, który umo¿liwia otworzenie wielu sesji na
44 jednym terminalu. Jest to bardzo przydatne, przy po³±czeniach z
45 terminali nie umo¿liwiaj±cych otwarcia kilku sesji w systemie. Screen
46 umo¿liwia ponadto powrót do otwartych sesji w przypadku przerwania
47 po³±czenia z terminalem.
48
49 %description -l tr
50 Screen, ayný uçbirimde birden fazla oturum olanaðý saðlayan bir
51 programdýr. Bir makinaya telnet programý ile ya da programlanamaz bir
52 uçbirim üzerinden baðlantý kurduðunuz durumlarda kullanýþlýdýr.
53
54 %prep
55 %setup -q
56 %patch1 -p0
57 %patch2 -p0
58 %patch3 -p0
59 %patch4 -p0
60 %patch5 -p0
61
62 %build
63 LDFLAGS="-s"; export LDFLAGS
64 %configure --with-sys-screenrc=%{_sysconfdir}/screenrc
65
66 %{__make} CFLAGS="$RPM_OPT_FLAGS" 
67 (cd doc; rm -f screen.info*; makeinfo screen.texinfo)
68
69 %install
70 rm -rf $RPM_BUILD_ROOT
71 install -d $RPM_BUILD_ROOT/{etc/skel,%{_bindir},%{_mandir}/man1,%{_infodir}}
72
73 install -s screen $RPM_BUILD_ROOT%{_bindir}
74 install doc/screen.1 $RPM_BUILD_ROOT%{_mandir}/man1
75 install doc/screen.info* $RPM_BUILD_ROOT%{_infodir}
76 install etc/etcscreenrc $RPM_BUILD_ROOT%{_sysconfdir}/screenrc
77 install etc/screenrc $RPM_BUILD_ROOT/etc/skel/.screenrc
78
79 gzip -9nf $RPM_BUILD_ROOT/{%{_infodir}/screen.info*,%{_mandir}/man1/*} \
80         NEWS README FAQ ChangeLog
81
82 %post
83 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
84
85 %postun
86 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
87
88 %clean
89 rm -rf $RPM_BUILD_ROOT
90
91 %files
92 %defattr(644,root,root,755)
93 %doc *.gz
94 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/screenrc
95 %attr(755,root,root) %{_bindir}/screen
96 %{_mandir}/man1/*
97 %{_infodir}/screen.info*
This page took 0.033137 seconds and 3 git commands to generate.