]> git.pld-linux.org Git - packages/e3.git/commitdiff
- small fix
authorklakier <klakier@pld-linux.org>
Sun, 15 Apr 2001 08:05:04 +0000 (08:05 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    e3.spec -> 1.3

e3.spec

diff --git a/e3.spec b/e3.spec
index bbfdd43dcb87de16b519a33dab2d6e650d665128..43327a5094396da74dc2d47e73a213680298245a 100644 (file)
--- a/e3.spec
+++ b/e3.spec
@@ -6,6 +6,7 @@ Release:        1
 License:       GPL
 Group:         Applications/Editors
 Source0:       %{name}-%{version}.tar.gz
 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)
 Patch0:                %{name}-makefile.patch
 #URL:          
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -14,6 +15,13 @@ ExclusiveArch:       %{ix86}
 %description
 Small bootloader
 
 %description
 Small bootloader
 
+%package BOOT
+Summary:       e3 for bootdisk
+Group:         Applications/Editors
+
+%description BOOT
+
+
 %prep
 %setup  -q
 %patch0
 %prep
 %setup  -q
 %patch0
@@ -23,12 +31,20 @@ Small bootloader
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
 %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 -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
 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
 
 %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/*
 %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/*
This page took 0.059431 seconds and 4 git commands to generate.