From: klakier Date: Sun, 15 Apr 2001 08:05:04 +0000 (+0000) Subject: - small fix X-Git-Tag: e3-1_51-1~6 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fe3.git;a=commitdiff_plain;h=908aed1a694039d2a6a829c2ddf2918f1a739f36 - small fix Changed files: e3.spec -> 1.3 --- 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/*