]> git.pld-linux.org Git - packages/getty_ps.git/blobdiff - getty_ps.spec
- pass CC
[packages/getty_ps.git] / getty_ps.spec
index 6cbf56f8853d2948d25cec9d93a5ed3930b7b9fa..ae1e0e844afe55c85317212b5215ed7f28044d3f 100644 (file)
@@ -5,13 +5,18 @@ 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.
-URL:           ftp://tsx-11.mit.edu/pub/linux/sources/sbin
-Source0:       %{name}-%{version}.tar.gz
-Patch0:                getty_ps-misc.patch
+Release:       16
+License:       distributable - Copyright 1989,1990 by Paul Sutcliffe Jr.
+Group:         Applications/System
+Source0:       ftp://tsx-11.mit.edu/pub/linux/sources/sbin/%{name}-%{version}.tar.gz
+# Source0-md5: 56bd3fd2f9a23ffdf96503f664f5c914
+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/%{name}-%{version}.lsm
+BuildRequires: ncurses-devel >= 5.2
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -43,13 +48,20 @@ mgetty daha kullan
 
 %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} \
+       CC="%{__cc}" \
+       OPT="%{rpmcflags}" \
+       LIBS="-lncurses"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -61,17 +73,12 @@ echo ".so getty.1" > $RPM_BUILD_ROOT%{_mandir}/man1/uugetty.1
 
 install Examples/gettydefs.high-speed $RPM_BUILD_ROOT%{_sysconfdir}/gettydefs
 
-gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man{1,5}/* Examples/default/* \
-           ANNOUNCE README*
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc Examples/default/* ANNOUNCE.gz README*
-
-%config(missingok) %verify(not mtime size md5) %{_sysconfdir}/gettydefs
-
+%doc ChangeLog Examples/default/* ANNOUNCE README*
+%config(missingok) %verify(not md5 mtime size) %{_sysconfdir}/gettydefs
 %attr(755,root,root) /sbin/*
 %{_mandir}/man[15]/*
This page took 0.061115 seconds and 4 git commands to generate.