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