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