Name: less Version: 458 Release: 2mamba Summary: A text file browser similar to more, but better Group: Applications/File Vendor: openmamba Distribution: openmamba Packager: Davide Madrisan URL: http://www.greenwoodsoftware.com/less/ Source0: http://www.greenwoodsoftware.com/less/less-%{version}.tar.gz Source1: lesspipe.sh Source2: less.sh Source3: less.csh License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libncurses-devel ## AUTOBUILDREQ-END BuildRoot: %{_tmppath}/%{name}-%{version}-root %description The less utility is a text file browser that resembles more, but has more capabilities. Less allows you to move backwards in the file as well as forwards. Since less doesn't have to read the entire input file before it starts, less starts up more quickly than text editors (for example, vi). You should install less because it is a basic utility for viewing text files, and you'll use it frequently. %prep %setup -q # fix permisions chmod 644 COPYING LICENSE NEWS README %build %configure \ --bindir=/bin \ --with-regex=posix %make %install [ "%{buildroot}" != / ] && rm -rf %{buildroot} %makeinstall bindir=/bin install -d %{buildroot}/etc/profile.d install -D -m 755 %{S:1} %{buildroot}%{_bindir}/lesspipe.sh install -c -m 755 %{S:2} %{buildroot}%{_sysconfdir}/profile.d/less.sh install -c -m 755 %{S:3} %{buildroot}%{_sysconfdir}/profile.d/less.csh %clean [ "%{buildroot}" != / ] && rm -rf %{buildroot} %files %defattr(-,root,root) /bin/less /bin/lessecho /bin/lesskey %{_bindir}/lesspipe.sh %{_sysconfdir}/profile.d/less.sh %{_sysconfdir}/profile.d/less.csh %{_mandir}/man1/less.* %{_mandir}/man1/lessecho.* %{_mandir}/man1/lesskey.* %doc COPYING LICENSE NEWS README %changelog * Sun Jun 09 2013 Silvan Calarco 458-2mamba - arm: rebuild to fix 'undefined symbol: __aeabi_idivmod' after ncurses rebuild * Thu Apr 25 2013 Automatic Build System 458-1mamba - automatic version update by autodist * Wed Sep 05 2012 Automatic Build System 451-1mamba - automatic version update by autodist * Wed Jun 15 2011 Automatic Build System 444-1mamba - automatic update by autodist * Tue Apr 12 2011 Automatic Build System 443-1mamba - automatic update by autodist * Mon Feb 22 2010 Davide Madrisan 436-2mamba - lesspipe.sh: support *.xz files * Mon Jul 27 2009 Automatic Build System 436-1mamba - automatic update to 436 by autodist * Sun Apr 12 2009 Silvan Calarco 429-1mamba - automatic update to 429 by autodist * Tue Jan 27 2009 Davide Madrisan 424-2mamba - provide an improved version of the LESSOPEN filter - add build requirements * Sun Jan 11 2009 Silvan Calarco 424-1mamba - automatic update by autodist * Mon Aug 25 2008 Aleph0 418-2mamba - fix wrong file permissions * Mon Jan 07 2008 Aleph0 418-1mamba - update to 418 * Fri Nov 23 2007 Aleph0 416-1mamba - update to 416 * Fri Nov 16 2007 Aleph0 415-1mamba - update to 415 * Wed Oct 17 2007 Aleph0 409-1mamba - update to 409 * Tue Oct 02 2007 Aleph0 408-1mamba - update to 408 * Mon Jul 02 2007 Aleph0 406-1mamba - update to 406 - added lesspipe.sh an "input preprocessor" for less * Mon May 28 2007 Aleph0 403-1mamba - update to 403 * Tue Dec 06 2005 Davide Madrisan 394-1qilnx - update to version 394 by autospec * Wed Mar 09 2005 Davide Madrisan 382-2qilnx - specfile updates and fixes; mandatory LICENSE file added * Fri Feb 27 2004 Davide Madrisan 382-1qilnx - package updated to the latest available version