0223a3e
%global vver	451
cvsdist 6a56eb1
403ddd0
Name:		lv
403ddd0
Version:	4.51
3db7f5c
Release:	42%{?dist}
dd6cc19
License:	GPLv2+
f8481a7
URL:		http://www.ff.iij4u.or.jp/~nrt/lv/
2d396a0
BuildRequires:	ncurses-devel autoconf
Akira TAGOH 26dbe30
BuildRequires:	gcc
2c1a5ec
BuildRequires: make
f8481a7
f8481a7
Source:		http://www.ff.iij4u.or.jp/~nrt/freeware/%{name}%{vver}.tar.gz
f8481a7
Patch1:		lv-4.49.4-nonstrip.patch
f8481a7
Patch2:		lv-4.51-162372.patch
f8481a7
Patch3:		lv-+num-option.patch
f8481a7
Patch4:		lv-fastio.patch
f8481a7
Patch5:		lv-lfs.patch
6d3d8e1
Patch6:		%{name}-aarch64.patch
7510dcf
Patch7:		%{name}-no-sigvec.patch
32c099b
Patch8:		%{name}-inline.patch
cvsdist 03757f8
f8481a7
Summary:	A Powerful Multilingual File Viewer
cvsdist 03757f8
%description
cvsdist 03757f8
lv is a powerful file viewer like less.
cvsdist 03757f8
lv can decode and encode multilingual streams through
cvsdist 03757f8
many coding systems: ISO-8859, ISO-2022, EUC, SJIS, Big5,
cvsdist 03757f8
HZ, Unicode.
cvsdist 03757f8
It recognizes multi-bytes patterns as regular
cvsdist 03757f8
expressions, lv also provides multilingual grep.
cvsdist 03757f8
In addition, lv can recognize ANSI escape sequences
1ea734d
for text decoration.
cvsdist 03757f8
cvsdist 03757f8
%prep
cvsdist 6a56eb1
%setup -q -n %{name}%{vver}
cvsdist 0a15739
%patch1 -p1 -b .nonstrip
8b4c84b
%patch2 -p1 -b .162372
d06a1b4
%patch3 -p1 -b .num
d06a1b4
%patch4 -p1 -b .fastio
d06a1b4
%patch5 -p1 -b .lfs
6d3d8e1
%patch6 -p1 -b .6-aarch64
7510dcf
%patch7 -p1 -b .7-sigvec
32c099b
%patch8 -p1 -b .inline
cvsdist 03757f8
cvsdist 03757f8
%build
cvsdist 03757f8
cd src
d06a1b4
autoconf
d06a1b4
%configure --enable-fastio
41e72ba
%make_build
cvsdist 03757f8
cvsdist 03757f8
%install
cvsdist 03757f8
cd src
6d3d8e1
mkdir -p $RPM_BUILD_ROOT%{_bindir}
6d3d8e1
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
41e72ba
%make_install bindir=$RPM_BUILD_ROOT%{_bindir} libdir=$RPM_BUILD_ROOT%{_libdir} mandir=$RPM_BUILD_ROOT%{_mandir}
cvsdist 03757f8
cvsdist 03757f8
%files
Akira TAGOH 26dbe30
%license GPL.txt
Akira TAGOH 26dbe30
%doc README build hello.sample hello.sample.gif index.html
f8481a7
%doc relnote.html
cvsdist 6a56eb1
%{_bindir}/lv
cvsdist 6a56eb1
%{_bindir}/lgrep
cvsdist 6a56eb1
%{_mandir}/man1/lv.1.gz
cvsdist 6a56eb1
%{_libdir}/lv
cvsdist 03757f8
cvsdist 03757f8
cvsdist 03757f8
%changelog
3db7f5c
* Thu Aug 20 2020 Jeff Law <law@redhat.com> - 4.51-42
3db7f5c
- Re-enable LTO
32c099b
- Fix extern inline vs public inline issue
3db7f5c
668be6a
* Mon Aug 10 2020 Jeff Law <law@redhat.com> - 4.51-41
668be6a
- Disable LTO for now
668be6a
818cebc
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.51-40
818cebc
- Second attempt - Rebuilt for
818cebc
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
818cebc
05e5cc5
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.51-39
05e5cc5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
05e5cc5
41e72ba
* Wed Jul 22 2020 Tom Stellard <tstellar@redhat.com> - 4.51-38
41e72ba
- Use make macros
41e72ba
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
41e72ba
8419c03
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.51-37
8419c03
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
8419c03
48ef137
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.51-36
48ef137
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
48ef137
8a59425
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.51-35
8a59425
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
8a59425
d7bfecf
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.51-34
d7bfecf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
d7bfecf
Akira TAGOH 26dbe30
* Mon Feb 19 2018 Akira TAGOH <tagoh@redhat.com> - 4.51-33
Akira TAGOH 26dbe30
- Add BR: gcc
Akira TAGOH 26dbe30
182b2b8
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.51-32
182b2b8
- Escape macros in %%changelog
182b2b8
51aa595
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.51-31
51aa595
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
51aa595
9394e76
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.51-30
9394e76
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
9394e76
4395817
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.51-29
4395817
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
4395817
152a3a0
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.51-28
152a3a0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
152a3a0
dfa6345
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 4.51-27
dfa6345
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
dfa6345
0223a3e
* Mon Jan  4 2016 Akira TAGOH <tagoh@redhat.com>
0223a3e
- Use %%global instead of %%define.
0223a3e
12db4ae
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.51-26
12db4ae
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
12db4ae
7510dcf
* Wed Oct 15 2014 Akira TAGOH <tagoh@redhat.com> - 4.51-25
7510dcf
- Drop obsolete sigvec support (#1151982)
7510dcf
2837db3
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.51-24
2837db3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
2837db3
4ff798d
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.51-23
4ff798d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
4ff798d
1ea734d
* Wed Jan 15 2014 Akira TAGOH <tagoh@redhat.com> - 4.51-22
1ea734d
- Fix a typo in %%description. (#1053146)
1ea734d
46ae8bd
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.51-21
46ae8bd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
46ae8bd
6d3d8e1
* Wed Mar 27 2013 Akira TAGOH <tagoh@redhat.com> - 4.51-20
6d3d8e1
- Rebuilt for aarch64 support (#926100)
6d3d8e1
6c79f54
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.51-19
6c79f54
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
6c79f54
4b5058c
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.51-18
4b5058c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
4b5058c
a85727e
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.51-17
a85727e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
a85727e
7477d00
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.51-16
7477d00
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
7477d00
98ed61d
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.51-15
98ed61d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
98ed61d
9b5fe1a
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.51-14
9b5fe1a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
9b5fe1a
feba383
* Tue Feb 12 2008 Akira TAGOH <tagoh@redhat.com> - 4.51-13
feba383
- Rebuild for gcc-4.3.
feba383
a2f0c78
* Thu Aug 23 2007 Akira TAGOH <tagoh@redhat.com> - 4.51-12
a2f0c78
- Rebuild
a2f0c78
dd6cc19
* Thu Aug  9 2007 Akira TAGOH <tagoh@redhat.com> - 4.51-11
dd6cc19
- Update License tag.
dd6cc19
2d396a0
* Mon Feb  5 2007 Akira TAGOH <tagoh@redhat.com> - 4.51-10
2d396a0
- updated License tag.
2d396a0
- clean up spec file for mass package review. (#226112)
2d396a0
e34fb46
* Tue Jan 16 2007 Miroslav Lichvar <mlichvar@redhat.com> - 4.51-9
e34fb46
- link with ncurses
e34fb46
- add dist tag
e34fb46
e34fb46
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 4.51-8.1
db0e4f8
- rebuild
db0e4f8
f8481a7
* Mon Jun 12 2006 Akira TAGOH <tagoh@redhat.com> - 4.51-8
f8481a7
- clean up the spec file.
f8481a7
- add autoconf to BuildReq. (#194753)
f8481a7
c693455
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 4.51-7.2.1
c693455
- bump again for double-long bug on ppc(64)
c693455
7ed1d8c
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 4.51-7.2
7ed1d8c
- rebuilt for new gcc4.1 snapshot and glibc changes
7ed1d8c
8791e78
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
8791e78
- rebuilt
8791e78
d06a1b4
* Mon Oct 31 2005 Akira TAGOH <tagoh@redhat.com> - 4.51-7
d06a1b4
- lv-+num-option.patch: applied a patch to allow +num option to jump to the specific line.
d06a1b4
- lv-fastio.patch: applied a patch to improve the performance to read the files.
d06a1b4
- lv-lfs.patch: applied a patch for Lerge File Summit support.
d06a1b4
8b4c84b
* Mon Jul 11 2005 Akira TAGOH <tagoh@redhat.com> - 4.51-6
8b4c84b
- lv-4.51-162372.patch: silence gcc warning. (#162372)
8b4c84b
cff3f63
* Thu Mar 17 2005 Akira TAGOH <tagoh@redhat.com> - 4.51-5
cff3f63
- rebuilt
cff3f63
403ddd0
* Thu Feb 10 2005 Akira TAGOH <tagoh@redhat.com> - 4.51-4
403ddd0
- rebuilt
403ddd0
cvsdist a3d2acf
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
cvsdist a3d2acf
- rebuilt
cvsdist a3d2acf
cvsdist 3964316
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 3964316
- rebuilt
cvsdist 3964316
cvsdist 3964316
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 3964316
- rebuilt
cvsdist 3964316
cvsdist 7cab0b4
* Fri Jan 16 2004 Akira TAGOH <tagoh@redhat.com> 4.51-1
cvsdist 7cab0b4
- New upstream release.
cvsdist 7cab0b4
- lv-fix-install-opts.patch: removed because it's unnecessary anymore.
cvsdist 7cab0b4
cvsdist 7cab0b4
* Tue Nov 25 2003 Akira TAGOH <tagoh@redhat.com> 4.50-1
cvsdist 7cab0b4
- New upstream release.
cvsdist 7cab0b4
  here is this release of note.
cvsdist 7cab0b4
  - [4.49.5.a]
cvsdist 7cab0b4
  - Added ISO-8859-10,11,13,14,15,16.
cvsdist 7cab0b4
  - Changed coding system names for '=' key.
cvsdist 7cab0b4
  - [4.49.5.b]
cvsdist 7cab0b4
  - Updated KSX1001 <-> Unicode mapping table.
cvsdist 7cab0b4
  - [4.49.5.c]
cvsdist 7cab0b4
  - Input coding detection improved.
cvsdist 7cab0b4
  - -D option now specifies default (fall-back) coding system, not default EUC coding system.
cvsdist 7cab0b4
  - Output coding detection based on LC_CTYPE locale.
cvsdist 7cab0b4
  - [4.49.5.d]
cvsdist 7cab0b4
  - Checks $EDITOR and $VISUAL variables when invoking an editor.
cvsdist 7cab0b4
  - [4.49.5.f]
cvsdist 7cab0b4
  - Initialize file->used[] in FileAttach() in file.c to avoid segfault in lgrep.
cvsdist 7cab0b4
  - [4.5.0]
cvsdist 7cab0b4
  - added polling function for regular files with slightly modified patch from Pawel S. Veselov <vps@manticore.2y.net>.
cvsdist 7cab0b4
  - enabled itable cache.
cvsdist 7cab0b4
  - Big5 to Unicode mapping didn't work at all (fixed offset of coding system table)
cvsdist 7cab0b4
    (See http://lists.debian.or.jp/debian-devel/200311/msg00006.html)
cvsdist 7cab0b4
  - fixed editor call not to return by SIGINT unexpectedly.
cvsdist 7cab0b4
cvsdist 1de793b
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
cvsdist 1de793b
- rebuilt
cvsdist 1de793b
cvsdist 1de793b
* Mon May 12 2003 Akira TAGOH <tagoh@redhat.com> 4.49.5-1
cvsdist 1de793b
- New upstream release.
cvsdist 1de793b
- lv-4.49.4-dont-read-dotlv-on-cwd.patch: removed.
cvsdist 1de793b
- lv-4.49.4-fix-manpage.patch: removed.
cvsdist 1de793b
cvsdist 1de793b
* Mon Apr 28 2003 Akira TAGOH <tagoh@redhat.com> 4.49.4-11
cvsdist 978b406
- lv-4.49.4-fix-manpage.patch: fix the man pages to reflect previous changes.
cvsdist 978b406
cvsdist 1de793b
* Mon Apr 28 2003 Akira TAGOH <tagoh@redhat.com> 4.49.4-10
cvsdist 409f914
- lv-4.49.4-dont-read-dotlv-on-cwd.patch: don't read .lv file from current
cvsdist 1de793b
  directory to prevent the possibility of local root exploit.
cvsdist 409f914
cvsdist b3de390
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
cvsdist b3de390
- rebuilt
cvsdist 471b9e6
cvsdist b3de390
* Wed Nov 20 2002 Tim Powers <timp@redhat.com>
cvsdist b3de390
- rebuild on all arches
cvsdist 471b9e6
cvsdist 3c04178
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
cvsdist 3c04178
- automated rebuild
cvsdist 3c04178
cvsdist 61db0e7
* Wed Jun 19 2002 Akira TAGOH <tagoh@redhat.com> 4.49.4-6
cvsdist 61db0e7
- lv-4.49.4-nonstrip.patch: applied to fix the stripped binary.
cvsdist 0a15739
- s/Copyright/License/
cvsdist 0a15739
cvsdist 61db0e7
* Thu May 23 2002 Tim Powers <timp@redhat.com>
cvsdist 61db0e7
- automated rebuild
cvsdist 61db0e7
cvsdist 61db0e7
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
cvsdist 61db0e7
- automated rebuild
cvsdist 61db0e7
cvsdist 21c4fbe
* Tue Jul 24 2001 SATO Satoru <ssato@redhat.com>
cvsdist 21c4fbe
- BuildPrereq: libtermcap-devel (close #49517)
cvsdist 21c4fbe
cvsdist 683ada8
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
cvsdist 683ada8
- Bump release + rebuild.
cvsdist 683ada8
cvsdist 21c4fbe
* Wed Dec 20 2000 SATO Satoru <ssato@redhat.com>
cvsdist 6a56eb1
- clean up spec
cvsdist 6a56eb1
cvsdist 21c4fbe
* Tue Dec 19 2000 SATO Satoru <ssato@redhat.com>
cvsdist 6a56eb1
- new upstream
cvsdist 6a56eb1
- use system-defined macros
cvsdist 6a56eb1
cvsdist 21c4fbe
* Thu Aug 24 2000 SATO Satoru <ssato@redhat.com>
cvsdist 03757f8
- fix spec (remove japanese description)
cvsdist 03757f8
cvsdist 21c4fbe
* Mon Aug 07 2000 SATO Satoru <ssato@redhat.com>
182b2b8
- fix spec (make prefix... replaced with %%makeinstall)
cvsdist 03757f8
cvsdist 21c4fbe
* Tue Jul 04 2000 SATO Satoru <ssato@redhat.com>
cvsdist 03757f8
- initial release.
cvsdist 03757f8