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