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
-Source0: %{name}-%{version}.tar.gz
-Patch0: getty_ps-misc.patch
+BuildRequires: ncurses-devel >= 5.2
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
%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
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