From 61db0e7de0fb74fcb46c22a2d082a55492f51138 Mon Sep 17 00:00:00 2001 From: cvsdist Date: Thu, 9 Sep 2004 08:04:47 +0000 Subject: [PATCH] auto-import lv-4.49.4-6 from lv-4.49.4-6.src.rpm --- .cvsignore | 1 + lv.spec | 33 ++++++++++++++------------------- sources | 1 + 3 files changed, 16 insertions(+), 19 deletions(-) diff --git a/.cvsignore b/.cvsignore index 284e4bf..1852eab 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1,2 @@ +lv-fix-install-opts.gz lv4494.tar.gz diff --git a/lv.spec b/lv.spec index ca9f0f1..6b98c14 100644 --- a/lv.spec +++ b/lv.spec @@ -1,6 +1,6 @@ %define name lv %define version 4.49.4 -%define rel 3.7x.1 +%define rel 6 %define vver 4494 Summary: A Powerful Multilingual File Viewer @@ -9,14 +9,12 @@ Version: %{version} Release: %{rel} License: distributable Group: Applications/Text -Source: http://www.ff.iij4u.or.jp/~nrt/freeware/%{name}%{vver}.tar.gz -Patch0: lv-fix-install-opts.patch -Patch1: lv-4.49.4-nonstrip.patch -Patch2: lv-4.49.4-dont-read-dotlv-on-cwd.patch -Patch3: lv-4.49.4-fix-manpage.patch 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 +Patch0: lv-fix-install-opts.gz +Patch1: lv-4.49.4-nonstrip.patch %description lv is a powerful file viewer like less. @@ -32,8 +30,6 @@ for text devoration. %setup -q -n %{name}%{vver} %patch0 -p1 %patch1 -p1 -b .nonstrip -%patch2 -p1 -b .dotlv -%patch3 -p1 -b .manpage %build cd src @@ -41,9 +37,8 @@ cd src make %install -[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT - cd src +%{__rm} -rf $RPM_BUILD_ROOT %{__mkdir_p} $RPM_BUILD_ROOT%{_bindir} %{__mkdir_p} $RPM_BUILD_ROOT%{_mandir}/man1 %makeinstall @@ -58,19 +53,19 @@ cd src %{_libdir}/lv %clean -[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT +rm -rf $RPM_BUILD_ROOT %changelog -* Mon Apr 28 2003 Akira TAGOH 4.49.4-3.7x.1 -- lv-4.49.4-fix-manpage.patch: fix the man pages to reflect previous changes. - -* Mon Apr 28 2003 Akira TAGOH 4.49.4-3.7x.0 -- security fix release. (RHSA-2003:169) -- lv-4.49.4-nonstrip.patch: don't strip the binaries. -- 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. (#89776) +* 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) diff --git a/sources b/sources index 7fa94f5..1c9b028 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ +50303eacd54560a186e97464edb6d50b lv-fix-install-opts.gz 8b221fcca182f3914a5e79e771ebfb0b lv4494.tar.gz