]> git.pld-linux.org Git - packages/getty_ps.git/blobdiff - getty_ps.spec
- release 15: merge rawhide patches.
[packages/getty_ps.git] / getty_ps.spec
index e2b05ae747521e0a6ca75cf27da0bd37cefa6ec4..9a8a63d476eefd1f72f4e1fdbb232e5202c6406e 100644 (file)
@@ -5,18 +5,24 @@ Summary(pl):  getty i uugetty
 Summary(tr):   getty ve uugetty
 Name:          getty_ps
 Version:       2.0.7j
-Release:       6
-Group:         Utilities/System
-Group(pl):     Narzêdzia/System
-Copyright:     Distributable - Copyright 1989,1990 by Paul Sutcliffe Jr.
+Release:       15
+License:       Distributable - Copyright 1989,1990 by Paul Sutcliffe Jr.
+Group:         Applications/System
+Group(de):     Applikationen/System
+Group(pl):     Aplikacje/System
+Source0:       ftp://tsx-11.mit.edu/pub/linux/sources/sbin/%{name}-%{version}.tar.gz
+Patch0:                %{name}-misc.patch
+Patch1:                %{name}-y2k.patch
+Patch2:                %{name}-rb.patch
+Patch3:                %{name}-hangup.patch
+Patch4:                %{name}-mktemp.patch
 URL:           ftp://tsx-11.mit.edu/pub/linux/sources/sbin
-Source:                %{name}-%{version}.tar.gz
-Patch0:                getty_ps-misc.patch
-BuildRoot:     /tmp/%{name}-%{version}-root
+BuildRequires: ncurses-devel >= 5.2
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-getty and uugetty are used to accept logins on the console or
-a terminal.  They can handle answer a modem for dialup connections
+getty and uugetty are used to accept logins on the console or a
+terminal. They can handle answer a modem for dialup connections
 (although mgetty is recommended for that purpose).
 
 %description -l de
@@ -31,24 +37,29 @@ modem pour une connexion par t
 recommandé pour cet usage.
 
 %description -l pl
-Programy getty i uugetty s± u¿ywane do kontroli logowania na terminalu lub
-konsoli. Mog± odpowiedzieæ na ¿±danie modemu podczas po³±czenia dialup.
-(W tym wypadku jednak mgetty jest polecane w miejsce getty_ps)
+Programy getty i uugetty s± u¿ywane do kontroli logowania na terminalu
+lub konsoli. Mog± odpowiedzieæ na ¿±danie modemu podczas po³±czenia
+dialup. (W tym wypadku jednak mgetty jest polecane w miejsce getty_ps)
 
 %description -l tr
-getty ve uugetty konsol veya terminalerde sisteme giriþ sürecini baþlatmakta
-kullanýlýr. Ayný zamanda çevirmeli að tipi baðlantýlar için modeme yanýt
-verme özelliklerine de sahiptirler (ama bunun için mgetty daha kullanýþlýdýr).
+getty ve uugetty konsol veya terminalerde sisteme giriþ sürecini
+baþlatmakta kullanýlýr. Ayný zamanda çevirmeli að tipi baðlantýlar
+için modeme yanýt verme özelliklerine de sahiptirler (ama bunun için
+mgetty daha kullanýþlýdýr).
 
 %prep
 %setup -q
-%patch -p1 
+%patch0 -p1 
+%patch1 -p1 
+%patch2 -p1 
+%patch3 -p1 
+%patch4 -p1 
 
 %build
 # clean this ...
-make clean
+%{__make} clean
 
-make OPT="$RPM_OPT_FLAGS"
+%{__make} OPT="%{rpmcflags}" LIBS="-lncurses"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -58,10 +69,9 @@ TOPDIR=$RPM_BUILD_ROOT make install
 
 echo ".so getty.1" > $RPM_BUILD_ROOT%{_mandir}/man1/uugetty.1
 
-install Examples/gettydefs.high-speed $RPM_BUILD_ROOT/etc/gettydefs
+install Examples/gettydefs.high-speed $RPM_BUILD_ROOT%{_sysconfdir}/gettydefs
 
-gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man{1,5}/* Examples/default/* \
-           ANNOUNCE README*
+gzip -9nf Examples/default/* ANNOUNCE README*
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -70,20 +80,7 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc Examples/default/* ANNOUNCE.gz README*
 
-%config(missingok) %verify(not mtime size md5) /etc/gettydefs
+%config(missingok) %verify(not mtime size md5) %{_sysconfdir}/gettydefs
 
 %attr(755,root,root) /sbin/*
 %{_mandir}/man[15]/*
-
-%changelog
-* Sat Dec 19 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [2.0.7j-5]
-- changed permission on /var/log/getty.log to 600,
-- added gzipping man pages,
-- added using LDFLAGS="-s" to ./configure enviroment,
-- added getty_ps-ncurses.patch for compiling getty_ps against ncurses,
-- added using $RPM_OPT_FLAGS during compile.
-
-* Tue Oct 06 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
-- adde pl translation,
-- major modifications of the spec file. 
This page took 0.086054 seconds and 4 git commands to generate.