]>
Commit | Line | Data |
---|---|---|
ee59e496 | 1 | Summary: A bootloader which can be started from the SRM console. |
2 | Name: aboot | |
79133c10 | 3 | Version: 0.7a |
4 | Release: 1 | |
5 | License: GPL | |
35b54a25 | 6 | Group: Applications/System |
7 | Group(de): Applikationen/System | |
8 | Group(pl): Aplikacje/System | |
79133c10 | 9 | Source0: ftp://ftp.alphalinux.org/pub/Linux-Alpha/aboot/0.7a/%{name}-%{version}.tar.gz |
32e1f313 | 10 | Source1: http://www.itp.uni-hannover.de/~kreutzm/data/abootman.tar.bz2 |
79133c10 | 11 | #Patch0: %{name}-0.5-make.patch.gz |
12 | #Patch1: %{name}-0.5-elf.patch.gz | |
13 | #Patch2: %{name}-0.5-glibc2.patch.gz | |
14 | #Patch3: %{name}-0.5-rth.patch.gz | |
15 | #Patch4: %{name}-0.5-jay.patch | |
ab6bb4df | 16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
ee59e496 | 17 | ExclusiveArch: alpha |
55493cf1 JR |
18 | |
19 | %description | |
20 | The aboot program is the preferred way of booting Linux when using SRM | |
0257702f | 21 | firmware (the firmware normally used to boot an DEC UNIX). Aboot |
22 | supports the creation of bootable block devices and contains a program | |
23 | which can load Linux kernels from a filesystem which is bootable by | |
24 | SRM. Aboot also supports direct booting from various filesystems | |
25 | (ext2, ISO9660, UFS), booting of executable object files (ELF and | |
26 | ECOFF), booting of compressed kernels, network booting (using bootp), | |
27 | partition tables in DEC UNIX format, and interactive booting and | |
28 | default configurations for SRM consoles that cannot pass long option | |
29 | strings. | |
30 | ||
55493cf1 JR |
31 | %prep |
32 | %setup -q | |
79133c10 | 33 | #%patch0 -p1 |
34 | #%patch1 -p1 | |
35 | #%patch2 -p1 | |
36 | #%patch3 -p1 | |
37 | #%patch4 -p0 | |
ee59e496 | 38 | |
55493cf1 | 39 | %build |
2d389c97 | 40 | %{__make} |
55493cf1 JR |
41 | |
42 | %install | |
43 | rm -rf $RPM_BUILD_ROOT | |
ee59e496 | 44 | install -d $RPM_BUILD_ROOT%{_mandir}/man8 |
32e1f313 | 45 | install -d $RPM_BUILD_ROOT%{_mandir}/man5 |
55493cf1 | 46 | |
0d8626af | 47 | %{__make} root=$RPM_BUILD_ROOT install |
ee59e496 | 48 | |
32e1f313 | 49 | bzip2 -d -c %{SOURCE1} |tar x |
50 | cp *.8 $RPM_BUILD_ROOT%{_mandir}/man8 | |
51 | cp *.5 $RPM_BUILD_ROOT%{_mandir}/man5 | |
ee59e496 | 52 | |
32e1f313 | 53 | |
54 | gzip -9nf README ChangeLog TODO | |
55493cf1 JR |
55 | |
56 | %clean | |
57 | rm -rf $RPM_BUILD_ROOT | |
58 | ||
59 | %files | |
ee59e496 | 60 | %defattr(644,root,root,755) |
79133c10 | 61 | %doc README.gz |
ee59e496 | 62 | %attr(755,root,root) /sbin/* |
63 | %attr(640,root,root) /boot/bootlx | |
64 | %{_mandir}/man8/* | |
32e1f313 | 65 | %{_mandir}/man5/* |