d12b74a
%define			prever	pre20040408
d12b74a
Summary:		A bootloader which can be started from the SRM console
d12b74a
Name:			aboot
d12b74a
Version:		1.0
5863c0b
Release:		0.18.%{prever}%{?dist}
d12b74a
ExclusiveArch:	alpha
d12b74a
License:		GPLv2+
d12b74a
URL:			http://www.sf.net/projects/aboot
d12b74a
Source0:		http://aboot.sourceforge.net/tarballs/aboot-%{version}_%{prever}.tar.bz2
d12b74a
Patch0:			aboot_1.0~%{prever}-2.diff.gz
d12b74a
Patch1:			aboot-1.0.doc_install_fix.patch
d12b74a
Patch2:			aboot-optflags.patch
d12b74a
BuildRequires:	kernel-devel, docbook-utils
d12b74a
d12b74a
%description
d12b74a
The aboot program is the preferred way of booting Linux when using SRM
d12b74a
firmware (the firmware normally used to boot an DEC UNIX). Aboot supports
d12b74a
the creation of bootable block devices and contains a program which can
d12b74a
load Linux kernels from a filesystem which is bootable by SRM.  Aboot
d12b74a
also supports direct booting from various filesystems (ext2, ISO9660,
d12b74a
UFS), booting of executable object files (ELF and ECOFF), booting of
d12b74a
compressed kernels, network booting (using bootp), partition tables in
d12b74a
DEC UNIX format, and interactive booting and default configurations for
d12b74a
SRM consoles that cannot pass long option strings.
d12b74a
d12b74a
If you are installing Fedora or Red Hat Linux on an Alpha, you'll need to
d12b74a
install the aboot package.
d12b74a
d12b74a
%prep
d12b74a
%setup -q -n %{name}-%{version}_%{prever}
d12b74a
%patch0 -p1
d12b74a
%patch1 -p1 -b .doc_install_fix
d12b74a
%patch2 -p1 -b .optflags
d12b74a
d12b74a
%build
d12b74a
sed -ie "s^KSRC.*=.*$^KSRC=/lib/modules/`uname -r`/build^" Makefile
d12b74a
export OPTFLAGS="%{optflags}"
d12b74a
make
d12b74a
cd doc/man && make
d12b74a
d12b74a
%install
d12b74a
rm -rf $RPM_BUILD_ROOT
d12b74a
mkdir -p $RPM_BUILD_ROOT
d12b74a
chmod go= $RPM_BUILD_ROOT
d12b74a
d12b74a
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man8
d12b74a
make root=$RPM_BUILD_ROOT bindir=$RPM_BUILD_ROOT/sbin install
d12b74a
d12b74a
mv -f sdisklabel/README sdisklabel/README-sdisklabel || true
d12b74a
d12b74a
%files
d12b74a
%doc INSTALL README ChangeLog TODO aboot.conf sdisklabel/README-sdisklabel COPYING
d12b74a
%attr(644, root, root) /boot/bootlx
d12b74a
/sbin/abootconf
d12b74a
/sbin/e2writeboot
d12b74a
/sbin/isomarkboot
d12b74a
/sbin/swriteboot
d12b74a
%defattr(0644,root,root)
d12b74a
%{_mandir}/man8/*
d12b74a
%{_mandir}/man5/*
d12b74a
%{_mandir}/man1/*
d12b74a
d12b74a
%changelog
5863c0b
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-0.18.pre20040408
5863c0b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
5863c0b
05eb823
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-0.17.pre20040408
05eb823
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
05eb823
7c4a3e5
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-0.16.pre20040408
7c4a3e5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
7c4a3e5
3b23362
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-0.15.pre20040408
3b23362
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
3b23362
689b8bb
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-0.14.pre20040408
689b8bb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
689b8bb
c4fa8e7
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-0.13.pre20040408
c4fa8e7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
c4fa8e7
a6bd4f7
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-0.12.pre20040408
a6bd4f7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
a6bd4f7
c55bb13
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-0.11.pre20040408
c55bb13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
c55bb13
9fba68e
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-0.10.pre20040408
9fba68e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
9fba68e
2a79353
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-0.9.pre20040408
2a79353
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
2a79353
ee0cc19
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-0.8.pre20040408
ee0cc19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
ee0cc19
6195991
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-0.7.pre20040408
6195991
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
6195991
fae62ce
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-0.6.pre20040408
fae62ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
fae62ce
c5e65c8
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-0.5.pre20040408
c5e65c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
c5e65c8
6f5d896
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-0.4.pre20040408
6f5d896
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
6f5d896
6d11978
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-0.3.pre20040408
6d11978
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
6d11978
3014d96
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-0.2.pre20040408
3014d96
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
3014d96
d12b74a
* Thu Sep 27 2007 Oliver Falk <oliver@linux-kernel.at> - 1.0-0.1.pre20040408
d12b74a
- bz#294641:
d12b74a
  - New versioning - versioning guidelines
d12b74a
  - Add patch to add global rpm cflags and use 'em
d12b74a
  - Fix manpage attrs - defattr
d12b74a
d12b74a
* Fri Sep 21 2007 Oliver Falk <oliver@linux-kernel.at> - 1.0_pre20040408-2
d12b74a
- Fix some rpmlint warnings, bz#294641
d12b74a
- Fix license: GPLv2+, bz#294641
d12b74a
d12b74a
* Mon Aug 20 2007 Oliver Falk <oliver@linux-kernel.at> - 1.0_pre20040408-1
d12b74a
- Rebuild in koji
d12b74a
- Cleanup spec; Merge RH, AC, MDK spec
d12b74a
- To be included into upstream fp.o hopefully
d12b74a
d12b74a
* Mon Apr  18 2005 Balint Cristian <rezso@rdsor.ro>
d12b74a
- Latest from CVS
d12b74a
- Build for alphacore 1.0
d12b74a
- Fix build with 2.6
d12b74a
d12b74a
* Tue Nov 30 1999 Matt Wilson <msw@redhat.com>
d12b74a
- changed to use ext2 patch based from Ruediger Oertel <ro@suse.de>
d12b74a
d12b74a
* Mon Nov 22 1999 Matt Wilson <msw@redhat.com>
d12b74a
- patched ext2 read code to deal with rev1 filesystems
d12b74a
- added a patch to properly guess IDE cdroms
d12b74a
  (well, sort of)
d12b74a
d12b74a
* Tue Sep 07 1999 Cristian Gafton <gafton@redhat.com>
d12b74a
- add patch to allow it to boot on *large* disks
d12b74a
d12b74a
* Mon Apr 26 1999 Cristian Gafton <gafton@redhat.com>
d12b74a
- patch from Jay Estabrook to make it work with EXT2 filesystems larger
d12b74a
  than 2Gb
d12b74a
d12b74a
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
d12b74a
- auto rebuild in the new build environment (release 9)
d12b74a
d12b74a
* Tue Jan 19 1999 Erik Troan <ewt@redhat.com>
d12b74a
- built for Red HAt 6.0
d12b74a
d12b74a
* Tue Sep 15 1998 Richard Henderson <rth@cygnus.com>
d12b74a
- use aboot.lds for elf, so that the phdr comes out right.
d12b74a
- relax the need to have a compiled kernel installed.
d12b74a
- make sdisklabel take partition sizes in sectors, not kilobytes.
d12b74a
d12b74a
* Thu Aug 20 1998 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
d12b74a
- corrected a small but essential error in the ELF patch
d12b74a
d12b74a
* Mon Aug  3 1998 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
d12b74a
- added a patch to allow booting of ELF images created with binutils >= 2.9
d12b74a
- compiled against glibc 2.0.94
d12b74a
d12b74a
* Sun May 31 1998 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
d12b74a
- made changes needed for glibc2 and 2.1.x kernels
d12b74a