cvsdist 5a7dde6
Summary: A text file browser similar to more, but better.
cvsdist 5a7dde6
Name: less
38ab147
Version: 394
Ivana Varekova 4d0b3cc
Release: 4
cvsdist 5a7dde6
License: GPL
cvsdist 5a7dde6
Group: Applications/Text
cvsdist 3f481d5
Source: http://www.greenwoodsoftware.com/less/%{name}-%{version}.tar.gz
cvsdist 5a7dde6
Source1: lesspipe.sh
cvsdist 5a7dde6
Source2: less.sh
cvsdist 5a7dde6
Source3: less.csh
8b433f0
Patch0:	less-382-fixline.patch
d039b45
Patch1:	less-392-Foption.patch
Ivana Varekova ff3841a
Patch2: less-394-search.patch
Ivana Varekova ff3841a
cvsdist a557a1b
cvsdist 3f481d5
URL: http://www.greenwoodsoftware.com/less/
cvsdist bf92281
Buildroot: %{_tmppath}/%{name}-root
cvsdist fb40e68
BuildRequires: ncurses-devel
cvsdist 5a7dde6
cvsdist 5a7dde6
%description
cvsdist 5a7dde6
The less utility is a text file browser that resembles more, but has
cvsdist 5a7dde6
more capabilities.  Less allows you to move backwards in the file as
cvsdist 5a7dde6
well as forwards.  Since less doesn't have to read the entire input file
cvsdist 5a7dde6
before it starts, less starts up more quickly than text editors (for
cvsdist 5a7dde6
example, vi). 
cvsdist 5a7dde6
cvsdist 5a7dde6
You should install less because it is a basic utility for viewing text
cvsdist 5a7dde6
files, and you'll use it frequently.
cvsdist 5a7dde6
cvsdist 5a7dde6
%prep
cvsdist 5a7dde6
%setup -q
8b433f0
%patch0 -p1 -b .fixline
d039b45
%patch1 -p1 -b .Foption
Ivana Varekova ff3841a
%patch2 -p1 -b .search
cvsdist a557a1b
chmod -R a+w *
cvsdist 5a7dde6
cvsdist 5a7dde6
%build
cvsdist 5a7dde6
%configure
cvsdist 323c4da
make CC="gcc $RPM_OPT_FLAGS -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" datadir=%{_docdir}
cvsdist 5a7dde6
cvsdist 5a7dde6
%install
cvsdist 5a7dde6
rm -rf $RPM_BUILD_ROOT
cvsdist 5a7dde6
%makeinstall
cvsdist 5a7dde6
strip -R .comment $RPM_BUILD_ROOT/usr/bin/less
cvsdist 5a7dde6
mkdir -p $RPM_BUILD_ROOT/etc/profile.d
cvsdist 5a7dde6
install -c -m 755 %{SOURCE1} $RPM_BUILD_ROOT/usr/bin/
cvsdist 5a7dde6
install -c -m 755 %{SOURCE2} $RPM_BUILD_ROOT/etc/profile.d
cvsdist 5a7dde6
install -c -m 755 %{SOURCE3} $RPM_BUILD_ROOT/etc/profile.d
cvsdist 5a7dde6
cvsdist 5a7dde6
%files
cvsdist 5a7dde6
%defattr(-,root,root)
cvsdist 5a7dde6
/etc/profile.d/*
cvsdist 5a7dde6
/usr/bin/*
cvsdist 5a7dde6
%{_mandir}/man1/*
cvsdist 5a7dde6
cvsdist 5a7dde6
%clean
cvsdist 5a7dde6
rm -rf $RPM_BUILD_ROOT
cvsdist 5a7dde6
cvsdist 5a7dde6
%changelog
Ivana Varekova 4d0b3cc
* Thu May  5 2006 Ivana Varekova <varekova@redhat.com> - 394-4
Ivana Varekova 4d0b3cc
- fix problem with unassigned variable DECOMPRESSOR (#190619)
Ivana Varekova 4d0b3cc
Ivana Varekova ff3841a
* Wed Feb 15 2006 Ivana Varekova <varekova@redhat.com> - 394-3
Ivana Varekova ff3841a
- add patch for search problem (search did not find string which
Ivana Varekova ff3841a
  occurs in a line after '\0')
Ivana Varekova ff3841a
5575cd1
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 394-2.2
5575cd1
- bump again for double-long bug on ppc(64)
5575cd1
9865922
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 394-2.1
9865922
- rebuilt for new gcc4.1 snapshot and glibc changes
9865922
ece8dc4
* Mon Jan 16 2006 Jindrich Novy <jnovy@redhat.com> 394-2
30a3702
- apply better fix for #120916 from Avi Kivity (#177819)
30a3702
  to avoid flickering when '>' is pressed multiple times
30a3702
48f230d
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
48f230d
- rebuilt
48f230d
38ab147
* Tue Dec  6 2005 Jindrich Novy <jnovy@redhat.com> 394-1
38ab147
- update to less-394
38ab147
2d88a3d
* Mon Nov  7 2005 Jindrich Novy <jnovy@redhat.com> 393-1
2d88a3d
- update to less-393
2d88a3d
- groom Foption patch a bit
2d88a3d
- remove obsolete ncursesw and utf8detect patches
2d88a3d
d039b45
* Fri Oct 21 2005 Jindrich Novy <jnovy@redhat.com> 392-2
d039b45
- fix the -F option (#79650), thanks to Petr Raszyk
d039b45
8b433f0
* Wed Oct 19 2005 Jindrich Novy <jnovy@redhat.com> 392-1
8b433f0
- update to less-392 - fixes #122847 and enhances UTF8 support
8b433f0
0be156d
* Fri Sep  2 2005 Jindrich Novy <jnovy@redhat.com> 382-8
0be156d
- fix displaying of bogus newline for growing files (#120916)
0be156d
707f164
* Fri Mar  4 2005 Jindrich Novy <jnovy@redhat.com> 382-7
707f164
- rebuilt with gcc4
707f164
bf373cf
* Wed Feb 16 2005 Jindrich Novy <jnovy@redhat.com> 382-6
bf373cf
- add patch for proper detection of UTF-8 locale,
bf373cf
  patch from Peter Rockai
bf373cf
0f6345b
* Tue Nov 16 2004 Karsten Hopp <karsten@redhat.de> 382-5 
0f6345b
- minor fix in lesspipe.sh (#73215)
0f6345b
cvsdist a2c11cd
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
cvsdist a2c11cd
- rebuilt
cvsdist a2c11cd
cvsdist eaaa7cb
* Mon Mar 29 2004 Karsten Hopp <karsten@redhat.de> 382-3
cvsdist eaaa7cb
- remove old stuff from /etc/profile.d/less.*, fixes #109011
cvsdist eaaa7cb
cvsdist eaaa7cb
* Tue Mar 02 2004 Karsten Hopp <karsten@redhat.de> 382-1.1 
cvsdist eaaa7cb
- build for FC1
cvsdist b179819
cvsdist b179819
* Sat Feb 14 2004 Karsten Hopp <karsten@redhat.de> 382-1
cvsdist b179819
- new upstream version
cvsdist b179819
cvsdist b179819
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
cvsdist b179819
- rebuilt
cvsdist b179819
cvsdist 9bee608
* Thu Jan 15 2004 Karsten Hopp <karsten@redhat.de> 381-2 
cvsdist 9bee608
- drop iso247 patch, doesn't work
cvsdist f2dc55a
cvsdist 9bee608
* Wed Jun 11 2003 Karsten Hopp <karsten@redhat.de> 381-1
cvsdist 9bee608
- new version with rewritten iso247 patch
cvsdist f2dc55a
cvsdist f2dc55a
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
cvsdist f2dc55a
- rebuilt
cvsdist f2dc55a
cvsdist f2dc55a
* Wed May 28 2003 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist f2dc55a
- fix korean #79977
cvsdist f2dc55a
- add new less.sh from #89780, s/ko/korean/ and write .csh script
cvsdist f2dc55a
- add patch from #91661: /japanses/japanese-euc/
cvsdist f2dc55a
cvsdist a557a1b
* Tue Feb  4 2003 Tim Waugh <twaugh@redhat.com> 378-7
cvsdist a557a1b
- Part of multibyte patch was missing; fixed.
cvsdist a557a1b
cvsdist a557a1b
* Mon Feb  3 2003 Tim Waugh <twaugh@redhat.com> 378-6
cvsdist a557a1b
- Fix underlining multibyte characters (bug #83377).
cvsdist 73f1fca
cvsdist a557a1b
* Thu Jan 30 2003 Karsten Hopp <karsten@redhat.de> 378-5
cvsdist a557a1b
- removed older, unused patches
cvsdist a557a1b
- add patch from Yukihiro Nakai to fix display of japanese text
cvsdist a557a1b
  (#79977)
cvsdist add633f
cvsdist a557a1b
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
cvsdist a557a1b
- rebuilt
cvsdist add633f
cvsdist a557a1b
* Wed Dec 18 2002 Karsten Hopp <karsten@redhat.de>č
cvsdist a557a1b
- removed default 'cat' from lesspipe.sh as it breaks 'v' and 'F' keys 
cvsdist a557a1b
  (#79921)
cvsdist add633f
cvsdist a557a1b
* Fri Dec  6 2002 Nalin Dahyabhai <nalin@redhat.com> 378-2
cvsdist a557a1b
- add a default case to lesspipe so that it shows other kinds of files
cvsdist add633f
cvsdist a557a1b
* Mon Nov 04 2002 Karsten Hopp <karsten@redhat.de>
cvsdist a557a1b
- less-378
cvsdist a557a1b
- added some debian patches
cvsdist a557a1b
- show image info instead of binary garbage when viewing images
cvsdist 07969e1
cvsdist 07969e1
* Fri Oct 05 2001 Karsten Hopp <karsten@redhat.de>
cvsdist 07969e1
- fix line numbering (less -N filename), caused by
cvsdist 07969e1
  a broken i18n patch
cvsdist 07969e1
cvsdist 323c4da
* Tue Sep 04 2001 Karsten Hopp <karsten@redhat.de>
cvsdist 323c4da
- recompile with large file support (#52945)
cvsdist 323c4da
cvsdist fb40e68
* Tue Jul 24 2001 Karsten Hopp <karsten@redhat.de>
cvsdist fb40e68
- fix #49506 (BuildRequires)
cvsdist fb40e68
cvsdist 3f481d5
* Mon Jun 25 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 3f481d5
- fixup eline patch to initialize result correctly
cvsdist 3f481d5
cvsdist 3f481d5
* Mon Jun 25 2001 Karsten Hopp <karsten@redhat.de>
cvsdist 3f481d5
- update URLs
cvsdist 3f481d5
- Copyright -> License
cvsdist 3f481d5
- fix #43348 (crashes when searching for /<)
cvsdist 3f481d5
- fix #39849 (
cvsdist 3f481d5
  _ ignores LESSCHARDEF in displaying characters,
cvsdist 3f481d5
  _ prefaces sequences of one or "high" characters with a capital "A")
cvsdist 3f481d5
cvsdist bf92281
* Mon Feb  5 2001 Yukihiro Nakai <ynakai@redhat.com>
cvsdist bf92281
- Update less.sh, less.csh to set JLESSCHARSET=japanese
cvsdist bf92281
  when LANG=ja??
cvsdist bf92281
cvsdist bf92281
* Mon Feb  5 2001 Matt Wilson <msw@redhat.com>
cvsdist bf92281
- changed the less-358+iso247-20001210.diff patch to use strcasecmp when
cvsdist bf92281
  comparing locale names
cvsdist bf92281
cvsdist bf92281
* Thu Feb 01 2001 Karsten Hopp <karsten@redhat.de>
cvsdist bf92281
- fixed character translations (bugzilla #24463)
cvsdist bf92281
cvsdist bf92281
* Wed Jan 31 2001 Karsten Hopp <karsten@redhat.de>
cvsdist bf92281
- fixed lesspipe (bugzilla #17456 #25324)
cvsdist bf92281
cvsdist bf92281
* Tue Dec 12 2000 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist bf92281
- rebuild with new ncurses
cvsdist bf92281
cvsdist bf92281
* Mon Dec 11 2000 Yukihiro Nakai <ynakai@redhat.com>
cvsdist bf92281
- Add Japanese patch with ia64 support.
cvsdist bf92281
cvsdist bf92281
* Mon Nov 27 2000 Karsten Hopp <karsten@redhat.de>
cvsdist bf92281
- rebuild with new ncurses
cvsdist bf92281
- fix Bug #21288
cvsdist bf92281
cvsdist bf92281
* Mon Nov 13 2000 Karsten Hopp <karsten@redhat.de>
cvsdist bf92281
- fixed handling of manpages of type *.1x.gz
cvsdist bf92281
- added support for cpio packages
cvsdist bf92281
cvsdist bf92281
* Thu Sep 14 2000 Than Ngo <than@redhat.com>
cvsdist bf92281
- added new lesspipe.sh (Bug #17456)
cvsdist 8065931
cvsdist 5a7dde6
* Wed Aug 23 2000 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 5a7dde6
- support files with spaces in their names (Bug #16777)
cvsdist 5a7dde6
cvsdist 5a7dde6
* Tue Aug  8 2000 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 5a7dde6
- Support gzipped man pages in lesspipe.sh (Bug #15610)
cvsdist 5a7dde6
cvsdist 5a7dde6
* Thu Aug  3 2000 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 5a7dde6
- Tweak init script (Bug #14622)
cvsdist 5a7dde6
cvsdist 5a7dde6
* Thu Jul 27 2000 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 5a7dde6
- Oops, actually apply the patch for 9443. ;)
cvsdist 5a7dde6
cvsdist 5a7dde6
* Wed Jul 26 2000 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 5a7dde6
- Fix up messed output if a user outputs anything in ~/.bashrc or the
cvsdist 5a7dde6
  likes (Bug #9443)
cvsdist 5a7dde6
- handle RPM_OPT_FLAGS
cvsdist 5a7dde6
cvsdist 5a7dde6
* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
cvsdist 5a7dde6
- automatic rebuild
cvsdist 5a7dde6
cvsdist 5a7dde6
* Thu Jul 13 2000 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 5a7dde6
- 358
cvsdist 5a7dde6
cvsdist 5a7dde6
* Mon Jun 26 2000 Matt Wilson <msw@redhat.com>
cvsdist 5a7dde6
- defattr root
cvsdist 5a7dde6
cvsdist 5a7dde6
* Mon Jun 19 2000 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 5a7dde6
- FHSify
cvsdist 5a7dde6
cvsdist 5a7dde6
* Fri Apr 14 2000 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 5a7dde6
- 354
cvsdist 5a7dde6
cvsdist 5a7dde6
* Mon Mar 20 2000 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 5a7dde6
- Update to v352
cvsdist 5a7dde6
cvsdist 5a7dde6
* Tue Mar  7 2000 Jeff Johnson <jbj@redhat.com>
cvsdist 5a7dde6
- rebuild for sparc baud rates > 38400.
cvsdist 5a7dde6
cvsdist 5a7dde6
* Tue Jan 25 2000 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 5a7dde6
- Update to v346
cvsdist 5a7dde6
- Update download URL
cvsdist 5a7dde6
- use the configure marcro
cvsdist 5a7dde6
- strip binary
cvsdist 5a7dde6
- fix up lesspipe stuff (Bug #8750 and a couple of non-reported bugs)
cvsdist 5a7dde6
  (Karsten, did I mention I'll kill you when you return from SAP? ;) )
cvsdist 5a7dde6
cvsdist 5a7dde6
* Sun Jan 07 2000 Karsten Hopp <karsten@redhat.de>
cvsdist 5a7dde6
- added lesspipe.sh to show listings of package
cvsdist 5a7dde6
  contents instead of binary output.
cvsdist 5a7dde6
cvsdist 5a7dde6
* Fri Aug 27 1999 Preston Brown <pbrown@redhat.com>
cvsdist 5a7dde6
- less finally gets maintenance, upgraded to 340
cvsdist 5a7dde6
cvsdist 5a7dde6
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
cvsdist 5a7dde6
- auto rebuild in the new build environment (release 6)
cvsdist 5a7dde6
cvsdist 5a7dde6
* Tue Mar 16 1999 Preston Brown <pbrown@redhat.com>
cvsdist 5a7dde6
- removed ifarch axp stuff for /bin/more, more now works on alpha properly.
cvsdist 5a7dde6
cvsdist 5a7dde6
* Wed Feb 24 1999 Preston Brown <pbrown@redhat.com>
cvsdist 5a7dde6
- Injected new description and group.
cvsdist 5a7dde6
cvsdist 5a7dde6
* Fri Dec 18 1998 Preston Brown <pbrown@redhat.com>
cvsdist 5a7dde6
- bumped spec number for initial rh 6.0 build
cvsdist 5a7dde6
cvsdist 5a7dde6
* Thu May 07 1998 Prospector System <bugs@redhat.com>
cvsdist 5a7dde6
cvsdist 5a7dde6
- translations modified for de, fr, tr
cvsdist 5a7dde6
cvsdist 5a7dde6
* Wed Apr 08 1998 Cristian Gafton <gafton@redhat.com>
cvsdist 5a7dde6
- updated to 332 and built for Manhattan
cvsdist 5a7dde6
- added buildroot
cvsdist 5a7dde6
cvsdist 5a7dde6
* Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
cvsdist 5a7dde6
- built against glibc