%define name most %define version 4.10.2 %define release %mkrel 2 Summary: More, less, most Name: %{name} Version: %{version} Release: %{release} License: GPL URL: ftp://space.mit.edu/pub/davis/%{name} Group: File tools Source: %{URL}/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-buildroot BuildRequires: libslang-devel chrpath Requires: slang %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 -q %build %configure %make chrpath -d src/objs/most %install rm -rf $RPM_BUILD_ROOT install -D -m0755 src/objs/most $RPM_BUILD_ROOT%{_bindir}/most install -D -m0644 most.1 $RPM_BUILD_ROOT%{_mandir}/man1/most.1 %clean rm -rf $RPM_BUILD_ROOT %files %defattr (-,root,root) %doc COPYRIGHT README changes.txt most.doc most-fun.txt lesskeys.rc most.rc %{_bindir}/most %{_mandir}/man1/most.1* %changelog * Thu Oct 20 2005 Lenny Cartier <lenny@mandriva.com> 4.10.2-2mdk - 4.10.2 * Mon May 10 2004 Michael Scherer <misc@mandrake.org> 4.9.4-1mdk - New release 4.9.4 - remove rpath * Fri Jan 2 2004 Han Boetes <han@linux-mandrake.com> 4.9.2-3mdk - rebuild * Fri Dec 27 2002 Han Boetes <han@linux-mandrake.com> 4.9.2-2mdk - rebuild because of new rpm macros and new glibc * Wed Aug 21 2002 Han Boetes <han@linux-mandrake.com> 4.9.2-1mdk - First spec for mandrake.