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