]> git.pld-linux.org Git - packages/aboot.git/blob - aboot.spec
25069cf7426170359ec975300402bcbf9d1d43f3
[packages/aboot.git] / aboot.spec
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
6 Group:          Utilities/System
7 Group(pl):      Narzêdzia/System
8 Source:         ftp://ftp.azstarnet.com/pub/linux/axp/aboot/%{name}-%{version}.tar.gz
9 Patch0:         aboot-0.5-make.patch.gz
10 Patch1:         aboot-0.5-elf.patch.gz
11 Patch2:         aboot-0.5-glibc2.patch.gz
12 Patch3:         aboot-0.5-rth.patch.gz
13 Patch4:         aboot-0.5-jay.patch
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 ExclusiveArch:  alpha
16
17 %description
18 The aboot program is the preferred way of booting Linux when using SRM
19 firmware (the firmware normally used to boot an DEC UNIX). Aboot supports
20 the creation of bootable block devices and contains a program which can
21 load Linux kernels from a filesystem which is bootable by SRM.  Aboot
22 also supports direct booting from various filesystems (ext2, ISO9660,
23 UFS), booting of executable object files (ELF and ECOFF), booting of
24 compressed kernels, network booting (using bootp), partition tables in
25 DEC UNIX format, and interactive booting and default configurations for
26 SRM consoles that cannot pass long option strings.
27
28 If you are installing Red Hat Linux on an Alpha, you'll need to install
29 the aboot package.
30
31 %prep
32 %setup -q
33 %patch0 -p1
34 %patch1 -p1
35 %patch2 -p1
36 %patch3 -p1
37 %patch4 -p0
38
39 %build
40 make
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44 install -d $RPM_BUILD_ROOT%{_mandir}/man8
45
46 make root=$RPM_BUILD_ROOT install
47
48 cp sdisklabel/swriteboot.8 tools/e2writeboot.8 $RPM_BUILD_ROOT%{_mandir}/man8
49
50 gzip -9nf README doc/* \
51         $RPM_BUILD_ROOT%{_mandir}/man8/*
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files
57 %defattr(644,root,root,755)
58 %doc README.gz doc/*
59 %attr(755,root,root) /sbin/*
60 %attr(640,root,root) /boot/bootlx
61 %{_mandir}/man8/*
This page took 0.068283 seconds and 2 git commands to generate.