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