]> git.pld-linux.org Git - packages/e3.git/blob - e3.spec
- small fix
[packages/e3.git] / e3.spec
1 Summary:        Tiny edytor
2 Summary(pl):    Mikroedytorek
3 Name:           e3
4 Version:        1.3
5 Release:        1
6 License:        GPL
7 Group:          Applications/Editors
8 Source0:        %{name}-%{version}.tar.gz
9 Source1:        e3-editor.sh
10 Patch0:         %{name}-makefile.patch
11 #URL:           
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13 ExclusiveArch:  %{ix86}
14
15 %description
16 Small bootloader
17
18 %package BOOT
19 Summary:        e3 for bootdisk
20 Group:          Applications/Editors
21
22 %description BOOT
23
24
25 %prep
26 %setup  -q
27 %patch0
28
29 %build
30 %{__make}
31
32 %install
33 rm -rf $RPM_BUILD_ROOT
34 install -d $RPM_BUILD_ROOT%{_libdir}/bootdisk/bin
35 install -d $RPM_BUILD_ROOT%{_bindir}
36 install -d $RPM_BUILD_ROOT%{_mandir}/man1
37 install e3 $RPM_BUILD_ROOT%{_libdir}/bootdisk/bin
38 install %{SOURCE1} $RPM_BUILD_ROOT%{_libdir}/bootdisk/bin/editor.sh
39 install e3.man $RPM_BUILD_ROOT%{_mandir}/man1/e3.1
40 for i in ws em pi vi ne; do \
41 ln -sf e3 $RPM_BUILD_ROOT%{_bindir}/e3${i}; \
42 ln -sf e3 $RPM_BUILD_ROOT%{_libdir}/bootdisk/bin/e3${i}; \
43 done
44
45 for i in emacs vi pico ne ws; do \
46 ln -sf editor.sh $RPM_BUILD_ROOT%{_libdir}/bootdisk/bin/$i; \
47 done
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(644,root,root,755)
54 %attr(755,root,root) %{_bindir}/*
55 %{_mandir}/man1/*
56
57 %files BOOT
58 %defattr(644,root,root,755)
59 %attr(755,root,root) %{_libdir}/bootdisk/bin/*
This page took 0.0591 seconds and 3 git commands to generate.