Sophie

Sophie

distrib > Mandriva > 10.2 > x86_64 > by-pkgid > 3564254aa9c9933b8c2693abc4cd4b46 > files > 2

most-4.9.4-1mdk.src.rpm

%define name    most
%define version 4.9.4
%define release 1mdk
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
* 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.