]> git.pld-linux.org Git - packages/screen.git/blob - screen.spec
- updated to 3.7.6,
[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 wieloma sesjami na jednym terminalu
5 Summary(tr): Bir uçbirimde birden fazla oturumu düzenler
6 Name:        screen
7 Version:     3.7.6
8 Release:     1
9 Copyright:   GPL
10 Group:       Utilities/Terminal
11 Source:      ftp://prep.ai.mit.edu/pub/gnu/%{name}-%{version}.tar.gz
12 Patch0:      screen.patch
13 Patch1:      screen-linux.patch
14 Patch2:      screen-tty.patch
15 Patch3:      screen-tmprace.patch
16 Patch4:      screen-info.patch
17 Prereq:      /sbin/install-info
18 BuildRoot:   /tmp/%{name}-%{version}-root
19
20 %description
21 Screen is a program that allows you to have multiple
22 logins on one terminal.  It is useful in situations where
23 you are telnetted into a machine or connected via a dumb
24 terminal and want more than just one login.
25
26 %description -l de
27 Screens ist ein Programm, das Ihnen erlaubt, sich auf einem
28 Terminal mehrfach einzuloggen - was nützlich sein kann,
29 wenn Sie über ein dummes Terminal eine Telnetverbindung zu
30 einem Rechner haben und mehr als ein Login benötigen.
31
32 %description -l fr
33 Screen est un programme permettant plusieurs connexions sur un terminal.
34 Il est utile pour ouvrir plusieurs sessions à la fois, si vous voulez
35 ouvrir une session telnet sur une autre machine et voulez plus d'une
36 connexion.
37
38 %description -l pl
39 Screen jest programem, który umo¿liwia otworzenie wielu sesji na jednym
40 terminalu. Jest to bardzo przydatne, przy po³±czeniach z terminali nie
41 umo¿liwiaj±cych otwarcia kilku sesji w systemie. Screen umo¿liwia ponadto
42 powrót do otwartych sesji w przypadku przerwania po³±czenia z terminalem.
43
44 %description -l tr
45 Screen, ayný uçbirimde birden fazla oturum olanaðý saðlayan bir programdýr.
46 Bir makinaya telnet programý ile ya da programlanamaz bir uçbirim üzerinden
47 baðlantý kurduðunuz durumlarda kullanýþlýdýr.
48
49 %prep
50 %setup -q
51 %patch0 -p1
52 %patch1 -p1
53 %patch2 -p1 
54 %patch3 -p1
55 %patch4 -p1
56
57 %build
58 ./configure \
59         --prefix=/usr
60 make CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s"
61
62 %install
63 rm -rf $RPM_BUILD_ROOT
64 install -d $RPM_BUILD_ROOT/{etc/skel,usr/{bin,man/man1,info}}
65
66 install -s screen $RPM_BUILD_ROOT/usr/bin
67 install doc/screen.1 $RPM_BUILD_ROOT/usr/man/man1
68 install doc/screen.info* $RPM_BUILD_ROOT/usr/info
69 install etc/etcscreenrc $RPM_BUILD_ROOT/etc/screenrc
70 install etc/screenrc $RPM_BUILD_ROOT/etc/skel/.screenrc
71
72 gzip -9nf $RPM_BUILD_ROOT/usr/{info/screen.info*,man/man1/*}
73
74 %post
75 /sbin/install-info /usr/info/screen.info.gz /etc/info-dir
76
77 %preun
78 if [ $1 = 0 ]; then
79         /sbin/install-info --delete /usr/info/screen.info.gz /etc/info-dir
80 fi
81
82 %clean
83 rm -rf $RPM_BUILD_ROOT
84
85 %files
86 %defattr(644, root, root, 755)
87 %doc NEWS README FAQ ChangeLog
88 %attr(4755, root, root) /usr/bin/screen
89 %attr(0644, root,  man) /usr/man/man1/*
90 /usr/info/screen.info*
91 %config(noreplace) %verify(not md5 mtime size) /etc/skel/.screenrc
92 %config(noreplace) %verify(not md5 mtime size) /etc/screenrc
93
94 %changelog
95 * Mon Dec 27 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
96   [3.7.6-1]
97 - standarized {un}registering info pages (added screen-info.patch),
98 - added LDFLAGS="-s" to make parameters,
99 - changed way od passing $RPM_OPT_FLAGS,
100 - added gzipping man pages.
101
102 * Sun Nov 22 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
103   [3.7.4-4]
104 - changed to %attr(0644, root,  man) on man pages in %files,
105 - fixed --entry text on {un}registering info page for ed in %post
106   %preun in devel.
107
108 * Sun Aug 23 1998 Marcin Bohosiewicz <marcus@krakow.linux.org.pl>
109   [3.7.4-3]
110 - added translations de,fr,tr from orginal RH 5.1 screen's spec,
111 - added pl translation,
112 - added %defattr support,
113 - added %post and %preun scripts from RH 5.1 screen's spec,
114 - removed INSTALL from %doc,
115 - added %verify rules for %config files,
116 - added -q %setup parameter,
117 - added using $RPM_OPT_FLAGS during compile,
118 - changed copyright statment to GPL,
119 - changed %%{PACKAGE_VERSION} to %%{version} and %%{name} macros.
120
121 * Wed Aug 19 1998 Marcin Bohosiewicz <marcus@krakow.linux.org.pl>
122   [3.7.4-2]
123 - added tmprace-fix from BUGTRAQ list
124
125 * Sun Aug 17 1997 Marcin Bohosiewicz <marcus@krakow.linux.org.pl>
126   [3.7.4-1]
127 - added %%{PACKAGE_VERSION} macro to Source,
128 - all rewrited for using Buildroot,
129 - added #define PTYGROUP 5 and #define PTYMODE 0620 in config.h.in
130   gid=5 is tty group in RedHat Linux (/dev/tty* used by screen is not
131   curently writable by other users), 
132 - added stripping screen binary,
133 - added %attr macros in %files (allows build package from non root
134   account),
135 - added %clear section.
This page took 0.047177 seconds and 4 git commands to generate.