# $Id$ # Authority: dag # Upstream: John E. Davis Summary: Text viewer similar to more or less, but with additional capabilities Name: most Version: 4.10.2 Release: 1.2%{?dist} License: GPL Group: Applications/Text URL: ftp://space.mit.edu/pub/davis/most/ Source: ftp://space.mit.edu/pub/davis/most/most-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: slang-devel %description most is a paging program that displays, one windowful at a time, the contents of a file on a terminal. It pauses after each windowful and prints on the window status line the screen the file name, current line number, and the percentage of the file so far displayed. %prep %setup %{__perl} -pi.orig -e 's|/usr/lib|%{_libdir}|' configure %build %configure %{__make} %{?_smp_mflags} %install %{__rm} -rf %{buildroot} %{__install} -Dp -m0755 src/objs/most %{buildroot}%{_bindir}/most %{__install} -Dp -m0644 most.1 %{buildroot}%{_mandir}/man1/most.1 %clean %{__rm} -rf %{buildroot} %files %defattr(-, root, root, 0755) %doc *.doc *.rc *.txt COPYRIGHT README %doc %{_mandir}/man1/most.1* %{_bindir}/most %changelog * Thu Oct 13 2005 Dries Verachtert - 4.10.2-1 - Updated to release 4.10.2. * Sun Aug 08 2004 Dag Wieers - 4.9.5-1 - Initial package. (using DAR)