|
|
91f32de |
%global gittagdate 20130430
|
|
|
8accd3f |
%global gittag qemu-slof-%{gittagdate}
|
|
|
8accd3f |
|
|
|
8accd3f |
Name: SLOF
|
|
|
4d2a8ac |
Version: 0.1.git%{gittagdate}
|
|
|
4d88c27 |
Release: 1%{?dist}
|
|
|
8accd3f |
Summary: Slimline Open Firmware
|
|
|
8accd3f |
|
|
|
8accd3f |
License: BSD
|
|
|
8accd3f |
URL: http://www.openfirmware.info/SLOF
|
|
|
8accd3f |
BuildArch: noarch
|
|
|
8accd3f |
|
|
|
8accd3f |
# There are no upstream tarballs. To prepare a tarball, do:
|
|
|
8accd3f |
#
|
|
|
91f32de |
# git clone git://github.com/aik/SLOF.git
|
|
|
8accd3f |
# cd SLOF
|
|
|
8accd3f |
# git archive -o ../SLOF-%{gittagdate}.tar.gz \
|
|
|
8accd3f |
# --prefix=SLOF-%{gittagdate}/ %{gittag}
|
|
|
8accd3f |
Source0: SLOF-%{gittagdate}.tar.gz
|
|
|
8accd3f |
|
|
|
8accd3f |
BuildRequires: gcc-powerpc64-linux-gnu
|
|
|
8accd3f |
BuildRequires: perl(Data::Dumper)
|
|
|
8accd3f |
|
|
|
8accd3f |
|
|
|
8accd3f |
%description
|
|
|
8accd3f |
Slimline Open Firmware (SLOF) is initialization and boot source code
|
|
|
8accd3f |
based on the IEEE-1275 (Open Firmware) standard, developed by
|
|
|
8accd3f |
engineers of the IBM Corporation.
|
|
|
8accd3f |
|
|
|
8accd3f |
The SLOF source code provides illustrates what's needed to initialize
|
|
|
8accd3f |
and boot Linux or a hypervisor on the industry Open Firmware boot
|
|
|
8accd3f |
standard.
|
|
|
8accd3f |
|
|
|
8accd3f |
Note that you normally wouldn't need to install this package
|
|
|
8accd3f |
separately. It is a dependency of qemu-system-ppc64.
|
|
|
8accd3f |
|
|
|
8accd3f |
|
|
|
8accd3f |
%prep
|
|
|
8accd3f |
%setup -q -n SLOF-%{gittagdate}
|
|
|
8accd3f |
|
|
|
8accd3f |
|
|
|
8accd3f |
%build
|
|
|
8accd3f |
export CROSS="powerpc64-linux-gnu-"
|
|
|
6bdc3bd |
make qemu %{?_smp_mflags} V=2
|
|
|
8accd3f |
|
|
|
8accd3f |
|
|
|
8accd3f |
%install
|
|
|
8accd3f |
mkdir -p $RPM_BUILD_ROOT%{_datadir}/qemu
|
|
|
8accd3f |
cp -a boot_rom.bin $RPM_BUILD_ROOT%{_datadir}/qemu/slof.bin
|
|
|
8accd3f |
|
|
|
8accd3f |
|
|
|
8accd3f |
%files
|
|
|
8accd3f |
%doc FlashingSLOF.pdf
|
|
|
8accd3f |
%doc LICENSE
|
|
|
8accd3f |
%doc README
|
|
|
8accd3f |
%dir %{_datadir}/qemu
|
|
|
8accd3f |
%{_datadir}/qemu/slof.bin
|
|
|
8accd3f |
|
|
|
8accd3f |
|
|
|
8accd3f |
%changelog
|
|
|
91f32de |
* Tue May 21 2013 Cole Robinson <crobinso@redhat.com> - 0.1.git20130430-1
|
|
|
91f32de |
- Update to version shipped with qemu 1.5
|
|
|
91f32de |
|
|
|
4d88c27 |
* Tue Feb 19 2013 Cole Robinson <crobinso@redhat.com> 0.1.git20121018-1
|
|
|
4d88c27 |
- Update to version shipped with qemu 1.4
|
|
|
4d88c27 |
|
|
|
6c70266 |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.git20120731-2
|
|
|
6c70266 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
6c70266 |
|
|
|
4d2a8ac |
* Tue Oct 16 2012 Paolo Bonzini <pbonzini@redhat.com> - 0.1.git20120731-1
|
|
|
4d2a8ac |
- Move date from release to version.
|
|
|
4d2a8ac |
|
|
|
6bdc3bd |
* Fri Sep 14 2012 Paolo Bonzini <pbonzini@redhat.com> - 0-0.1.git20120731
|
|
|
6bdc3bd |
- SLOF packages is very out of date with respect to what qemu expects (bug #855246)
|
|
|
6bdc3bd |
- SLOF package builds wrong version of SLOF (bug #855236)
|
|
|
6bdc3bd |
- build verbosely
|
|
|
6bdc3bd |
|
|
|
8accd3f |
* Tue Jul 31 2012 Richard W.M. Jones <rjones@redhat.com> - 0-0.1.git20120217
|
|
|
8accd3f |
- Initial release in Fedora.
|