]>
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 |
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 | ||
55493cf1 JR |
30 | %prep |
31 | %setup -q | |
79133c10 | 32 | #%patch0 -p1 |
33 | #%patch1 -p1 | |
34 | #%patch2 -p1 | |
35 | #%patch3 -p1 | |
36 | #%patch4 -p0 | |
ee59e496 | 37 | |
55493cf1 | 38 | %build |
2d389c97 | 39 | %{__make} |
55493cf1 JR |
40 | |
41 | %install | |
42 | rm -rf $RPM_BUILD_ROOT | |
ee59e496 | 43 | install -d $RPM_BUILD_ROOT%{_mandir}/man8 |
55493cf1 | 44 | |
0d8626af | 45 | %{__make} root=$RPM_BUILD_ROOT install |
ee59e496 | 46 | |
47 | cp sdisklabel/swriteboot.8 tools/e2writeboot.8 $RPM_BUILD_ROOT%{_mandir}/man8 | |
48 | ||
79133c10 | 49 | gzip -9nf README ChangeLog TODO \ |
ee59e496 | 50 | $RPM_BUILD_ROOT%{_mandir}/man8/* |
55493cf1 JR |
51 | |
52 | %clean | |
53 | rm -rf $RPM_BUILD_ROOT | |
54 | ||
55 | %files | |
ee59e496 | 56 | %defattr(644,root,root,755) |
79133c10 | 57 | %doc README.gz |
ee59e496 | 58 | %attr(755,root,root) /sbin/* |
59 | %attr(640,root,root) /boot/bootlx | |
60 | %{_mandir}/man8/* |