Blob Blame Raw
%global gittagdate 20130430
%global gittag qemu-slof-%{gittagdate}

Name:           SLOF
Version:        0.1.git%{gittagdate}
Release:        2%{?dist}
Summary:        Slimline Open Firmware

License:        BSD
BuildArch:      noarch

# There are no upstream tarballs.  To prepare a tarball, do:
# git clone git://
# cd SLOF
# git archive -o ../SLOF-%{gittagdate}.tar.gz \
#     --prefix=SLOF-%{gittagdate}/ %{gittag}
Source0:        SLOF-%{gittagdate}.tar.gz

BuildRequires:  gcc-powerpc64-linux-gnu
BuildRequires:  perl(Data::Dumper)

Slimline Open Firmware (SLOF) is initialization and boot source code
based on the IEEE-1275 (Open Firmware) standard, developed by
engineers of the IBM Corporation.

The SLOF source code provides illustrates what's needed to initialize
and boot Linux or a hypervisor on the industry Open Firmware boot

Note that you normally wouldn't need to install this package
separately.  It is a dependency of qemu-system-ppc64.

%setup -q -n SLOF-%{gittagdate}

export CROSS="powerpc64-linux-gnu-"
make qemu %{?_smp_mflags} V=2

mkdir -p $RPM_BUILD_ROOT%{_datadir}/qemu
cp -a boot_rom.bin $RPM_BUILD_ROOT%{_datadir}/qemu/slof.bin

%doc FlashingSLOF.pdf
%dir %{_datadir}/qemu

* Fri Aug 02 2013 Fedora Release Engineering <> - 0.1.git20130430-2
- Rebuilt for

* Tue May 21 2013 Cole Robinson <> - 0.1.git20130430-1
- Update to version shipped with qemu 1.5

* Tue Feb 19 2013 Cole Robinson <> 0.1.git20121018-1
- Update to version shipped with qemu 1.4

* Wed Feb 13 2013 Fedora Release Engineering <> - 0.1.git20120731-2
- Rebuilt for

* Tue Oct 16 2012 Paolo Bonzini <> - 0.1.git20120731-1
- Move date from release to version.

* Fri Sep 14 2012 Paolo Bonzini <> - 0-0.1.git20120731
- SLOF packages is very out of date with respect to what qemu expects (bug #855246)
- SLOF package builds wrong version of SLOF (bug #855236)
- build verbosely

* Tue Jul 31 2012 Richard W.M. Jones <> - 0-0.1.git20120217
- Initial release in Fedora.