%define name most %define version 5.0.0a %define release %mkrel 1 Summary: More, less, most Name: %{name} Version: %{version} Release: %{release} License: GPLv2 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 the contents of a file on a terminal one windowful at a time. A status line indicating the file name, current line number, and percentage of the file already displayed is also shown. %prep %setup -q %build %configure %make chrpath -d src/objs/most %install %__rm -rf %{buildroot} %__install -D -m0755 src/objs/most %{buildroot}%{_bindir}/most %__install -D -m0644 most.1 %{buildroot}%{_mandir}/man1/most.1 %clean %__rm -rf %{buildroot} %files %defattr (-,root,root) %doc COPYRIGHT COPYING README changes.txt most.doc most-fun.txt lesskeys.rc most.rc %{_bindir}/most %{_mandir}/man1/most.1* %changelog * Fri Sep 05 2008 Lev Givon <lev@mandriva.org> 5.0.0a-1mdv2009.0 + Revision: 281309 - Update to 5.0.0a. * Tue Jul 29 2008 Thierry Vignaud <tvignaud@mandriva.com> 4.10.2-5mdv2009.0 + Revision: 252780 - rebuild * Tue Feb 12 2008 Thierry Vignaud <tvignaud@mandriva.com> 4.10.2-3mdv2008.1 + Revision: 166023 - fix spacing at top of description - kill re-definition of %%buildroot on Pixel's request + Olivier Blin <oblin@mandriva.com> - restore BuildRoot * Wed Jun 06 2007 Herton Ronaldo Krzesinski <herton@mandriva.com.br> 4.10.2-3mdv2008.0 + Revision: 36103 - Rebuild with libslang2. - Import most * 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.