%define name lv %define version 4.51 %define rel 1 %define vver 451 Summary: A Powerful Multilingual File Viewer Name: %{name} Version: %{version} Release: %{rel} License: distributable Group: Applications/Text URL: http://www.ff.iij4u.or.jp/~nrt/lv/ Buildroot: %{_tmppath}/%{name}-%{version}-buildroot BuildPrereq: libtermcap-devel Source: http://www.ff.iij4u.or.jp/~nrt/freeware/%{name}%{vver}.tar.gz Patch1: lv-4.49.4-nonstrip.patch %description lv is a powerful file viewer like less. lv can decode and encode multilingual streams through many coding systems: ISO-8859, ISO-2022, EUC, SJIS, Big5, HZ, Unicode. It recognizes multi-bytes patterns as regular expressions, lv also provides multilingual grep. In addition, lv can recognize ANSI escape sequences for text devoration. %prep %setup -q -n %{name}%{vver} %patch1 -p1 -b .nonstrip %build cd src %configure make %install [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT cd src %{__mkdir_p} $RPM_BUILD_ROOT%{_bindir} %{__mkdir_p} $RPM_BUILD_ROOT%{_mandir}/man1 %makeinstall %files %defattr(-, root, root) %doc GPL.txt README build hello.sample hello.sample.gif index.html %doc lv.1 lv.hlp relnote.html %{_bindir}/lv %{_bindir}/lgrep %{_mandir}/man1/lv.1.gz %{_libdir}/lv %clean [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT %changelog * Fri Jan 16 2004 Akira TAGOH 4.51-1 - New upstream release. - lv-fix-install-opts.patch: removed because it's unnecessary anymore. * Tue Nov 25 2003 Akira TAGOH 4.50-1 - New upstream release. here is this release of note. - [4.49.5.a] - Added ISO-8859-10,11,13,14,15,16. - Changed coding system names for '=' key. - [4.49.5.b] - Updated KSX1001 <-> Unicode mapping table. - [4.49.5.c] - Input coding detection improved. - -D option now specifies default (fall-back) coding system, not default EUC coding system. - Output coding detection based on LC_CTYPE locale. - [4.49.5.d] - Checks $EDITOR and $VISUAL variables when invoking an editor. - [4.49.5.f] - Initialize file->used[] in FileAttach() in file.c to avoid segfault in lgrep. - [4.5.0] - added polling function for regular files with slightly modified patch from Pawel S. Veselov . - enabled itable cache. - Big5 to Unicode mapping didn't work at all (fixed offset of coding system table) (See http://lists.debian.or.jp/debian-devel/200311/msg00006.html) - fixed editor call not to return by SIGINT unexpectedly. * Wed Jun 04 2003 Elliot Lee - rebuilt * Mon May 12 2003 Akira TAGOH 4.49.5-1 - New upstream release. - lv-4.49.4-dont-read-dotlv-on-cwd.patch: removed. - lv-4.49.4-fix-manpage.patch: removed. * Mon Apr 28 2003 Akira TAGOH 4.49.4-11 - lv-4.49.4-fix-manpage.patch: fix the man pages to reflect previous changes. * Mon Apr 28 2003 Akira TAGOH 4.49.4-10 - lv-4.49.4-dont-read-dotlv-on-cwd.patch: don't read .lv file from current directory to prevent the possibility of local root exploit. * Wed Jan 22 2003 Tim Powers - rebuilt * Wed Nov 20 2002 Tim Powers - rebuild on all arches * Fri Jun 21 2002 Tim Powers - automated rebuild * Wed Jun 19 2002 Akira TAGOH 4.49.4-6 - lv-4.49.4-nonstrip.patch: applied to fix the stripped binary. - s/Copyright/License/ * Thu May 23 2002 Tim Powers - automated rebuild * Wed Jan 09 2002 Tim Powers - automated rebuild * Tue Jul 24 2001 SATO Satoru - BuildPrereq: libtermcap-devel (close #49517) * Sun Jun 24 2001 Elliot Lee - Bump release + rebuild. * Wed Dec 20 2000 SATO Satoru - clean up spec * Tue Dec 19 2000 SATO Satoru - new upstream - use system-defined macros * Thu Aug 24 2000 SATO Satoru - fix spec (remove japanese description) * Mon Aug 07 2000 SATO Satoru - fix spec (make prefix... replaced with %makeinstall) * Tue Jul 04 2000 SATO Satoru - initial release.