]> git.pld-linux.org Git - packages/e3.git/blob - e3.spec
- gzexe turned off
[packages/e3.git] / e3.spec
1 Summary:        Tiny edytor
2 Summary(pl):    Mikroedytorek
3 Name:           e3
4 Version:        1.61
5 Release:        1
6 License:        GPL
7 Group:          Applications/Editors
8 Group(de):      Applikationen/Editors
9 Group(pl):      Aplikacje/Edytory
10 Group(pt):      Aplicações/Editores
11 Source0:        http://www.sax.de/~adlibit/%{name}-%{version}.tar.gz
12 Source1:        %{name}-editor.sh
13 URL:            http://www.sax.de/~adlibit/
14 BuildRequires:  nasm
15 ExclusiveArch:  %{ix86}
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 Tiny edytor.
20
21 %package BOOT
22 Summary:        e3 for bootdisk
23 Group:          Applications/Editors
24 Group(de):      Applikationen/Editors
25 Group(pl):      Aplikacje/Edytory
26 Group(pt):      Aplicações/Editores
27
28 %description BOOT
29 e3 for bootdisk.
30
31 %prep
32 %setup  -q
33 # gzexe makes problems
34 # we gain 3K only
35 perl -pi -e 's/^.*gzexe e3.*$//' Makefile
36
37 %build
38 %{__make}
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42 install -d $RPM_BUILD_ROOT%{_libdir}/bootdisk/bin \
43         $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
44
45 install e3 $RPM_BUILD_ROOT%{_libdir}/bootdisk/bin
46 install %{SOURCE1} $RPM_BUILD_ROOT%{_libdir}/bootdisk/bin/editor.sh
47 install e3.man $RPM_BUILD_ROOT%{_mandir}/man1/e3.1
48
49 for i in ws em pi vi ne; do \
50         ln -sf e3 $RPM_BUILD_ROOT%{_bindir}/e3${i}; \
51         ln -sf e3 $RPM_BUILD_ROOT%{_libdir}/bootdisk/bin/e3${i}; \
52 done
53
54 for i in emacs vi pico ne ws; do \
55         ln -sf editor.sh $RPM_BUILD_ROOT%{_libdir}/bootdisk/bin/$i; \
56 done
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %files
62 %defattr(644,root,root,755)
63 %attr(755,root,root) %{_bindir}/*
64 %{_mandir}/man1/*
65
66 %files BOOT
67 %defattr(644,root,root,755)
68 %attr(755,root,root) %{_libdir}/bootdisk/bin/*
This page took 0.14851 seconds and 3 git commands to generate.