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