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