From 908aed1a694039d2a6a829c2ddf2918f1a739f36 Mon Sep 17 00:00:00 2001 From: klakier Date: Sun, 15 Apr 2001 08:05:04 +0000 Subject: [PATCH] - small fix Changed files: e3.spec -> 1.3 --- e3.spec | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/e3.spec b/e3.spec index bbfdd43..43327a5 100644 --- a/e3.spec +++ b/e3.spec @@ -6,6 +6,7 @@ Release: 1 License: GPL Group: Applications/Editors Source0: %{name}-%{version}.tar.gz +Source1: e3-editor.sh Patch0: %{name}-makefile.patch #URL: BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -14,6 +15,13 @@ ExclusiveArch: %{ix86} %description Small bootloader +%package BOOT +Summary: e3 for bootdisk +Group: Applications/Editors + +%description BOOT + + %prep %setup -q %patch0 @@ -23,12 +31,20 @@ Small bootloader %install rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{_libdir}/bootdisk/bin install -d $RPM_BUILD_ROOT%{_bindir} install -d $RPM_BUILD_ROOT%{_mandir}/man1 -install e3 $RPM_BUILD_ROOT%{_bindir} -install e3 $RPM_BUILD_ROOT%{_bindir} +install e3 $RPM_BUILD_ROOT%{_libdir}/bootdisk/bin +install %{SOURCE1} $RPM_BUILD_ROOT%{_libdir}/bootdisk/bin/editor.sh install e3.man $RPM_BUILD_ROOT%{_mandir}/man1/e3.1 -for i in ws em pi vi ne; do ln -sf e3 $RPM_BUILD_ROOT%{_bindir}/e3${i}; done +for i in ws em pi vi ne; do \ +ln -sf e3 $RPM_BUILD_ROOT%{_bindir}/e3${i}; \ +ln -sf e3 $RPM_BUILD_ROOT%{_libdir}/bootdisk/bin/e3${i}; \ +done + +for i in emacs vi pico ne ws; do \ +ln -sf editor.sh $RPM_BUILD_ROOT%{_libdir}/bootdisk/bin/$i; \ +done %clean rm -rf $RPM_BUILD_ROOT @@ -37,3 +53,7 @@ rm -rf $RPM_BUILD_ROOT %defattr(644,root,root,755) %attr(755,root,root) %{_bindir}/* %{_mandir}/man1/* + +%files BOOT +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/bootdisk/bin/* -- 2.43.0