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