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