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