]> git.pld-linux.org Git - packages/getty_ps.git/blob - getty_ps.spec
Release: 10 to allow upgrade from RH
[packages/getty_ps.git] / getty_ps.spec
1 Summary:        getty and uugetty
2 Summary(de):    getty und uugetty
3 Summary(fr):    getty et uugetty
4 Summary(pl):    getty i uugetty
5 Summary(tr):    getty ve uugetty
6 Name:           getty_ps
7 Version:        2.0.7j
8 Release:        10
9 Group:          Utilities/System
10 Group(pl):      Narzêdzia/System
11 Copyright:      Distributable - Copyright 1989,1990 by Paul Sutcliffe Jr.
12 URL:            ftp://tsx-11.mit.edu/pub/linux/sources/sbin
13 Source0:        %{name}-%{version}.tar.gz
14 Patch0:         getty_ps-misc.patch
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 getty and uugetty are used to accept logins on the console or a
19 terminal. They can handle answer a modem for dialup connections
20 (although mgetty is recommended for that purpose).
21
22 %description -l de
23 getty und uugetty werden zum Akzeptieren von Logins auf der Konsole
24 oder einem Terminal verwendet und können ein Modem für Anwähl-
25 Verbindungen verwenden (wir empfehlen dafür allerdings mgetty).
26
27 %description -l fr
28 Getty et uugetty sont utilisés pour accepter les connexions sur la
29 console ou sur un terminal. Ils peuvent aussi prendre en charge un
30 modem pour une connexion par téléphone (bien que mgetty soit
31 recommandé pour cet usage.
32
33 %description -l pl
34 Programy getty i uugetty s± u¿ywane do kontroli logowania na terminalu
35 lub konsoli. Mog± odpowiedzieæ na ¿±danie modemu podczas po³±czenia
36 dialup. (W tym wypadku jednak mgetty jest polecane w miejsce getty_ps)
37
38 %description -l tr
39 getty ve uugetty konsol veya terminalerde sisteme giriþ sürecini
40 baþlatmakta kullanýlýr. Ayný zamanda çevirmeli að tipi baðlantýlar
41 için modeme yanýt verme özelliklerine de sahiptirler (ama bunun için
42 mgetty daha kullanýþlýdýr).
43
44 %prep
45 %setup -q
46 %patch -p1 
47
48 %build
49 # clean this ...
50 %{__make} clean
51
52 %{__make} OPT="$RPM_OPT_FLAGS" LIBS="-lncurses"
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56 install -d $RPM_BUILD_ROOT/{sbin,usr/share/man/man{1,5},etc}
57
58 TOPDIR=$RPM_BUILD_ROOT make install
59
60 echo ".so getty.1" > $RPM_BUILD_ROOT%{_mandir}/man1/uugetty.1
61
62 install Examples/gettydefs.high-speed $RPM_BUILD_ROOT%{_sysconfdir}/gettydefs
63
64 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man{1,5}/* Examples/default/* \
65             ANNOUNCE README*
66
67 %clean
68 rm -rf $RPM_BUILD_ROOT
69
70 %files
71 %defattr(644,root,root,755)
72 %doc Examples/default/* ANNOUNCE.gz README*
73
74 %config(missingok) %verify(not mtime size md5) %{_sysconfdir}/gettydefs
75
76 %attr(755,root,root) /sbin/*
77 %{_mandir}/man[15]/*
This page took 0.064637 seconds and 4 git commands to generate.