e5b9aa
%global gittagdate 20161019
8accd3
%global gittag qemu-slof-%{gittagdate}
8accd3
8accd3
Name:           SLOF
4d2a8a
Version:        0.1.git%{gittagdate}
c38bda
Release:        1%{?dist}
8accd3
Summary:        Slimline Open Firmware
8accd3
8accd3
License:        BSD
8accd3
URL:            http://www.openfirmware.info/SLOF
8accd3
BuildArch:      noarch
8accd3
8accd3
# There are no upstream tarballs.  To prepare a tarball, do:
8accd3
#
91f32d
# git clone git://github.com/aik/SLOF.git
8accd3
# cd SLOF
8accd3
# git archive -o ../SLOF-%{gittagdate}.tar.gz \
8accd3
#     --prefix=SLOF-%{gittagdate}/ %{gittag}
8accd3
Source0:        SLOF-%{gittagdate}.tar.gz
8accd3
8accd3
BuildRequires:  gcc-powerpc64-linux-gnu
8accd3
BuildRequires:  perl(Data::Dumper)
8accd3
8accd3
8accd3
%description
8accd3
Slimline Open Firmware (SLOF) is initialization and boot source code
8accd3
based on the IEEE-1275 (Open Firmware) standard, developed by
8accd3
engineers of the IBM Corporation.
8accd3
8accd3
The SLOF source code provides illustrates what's needed to initialize
8accd3
and boot Linux or a hypervisor on the industry Open Firmware boot
8accd3
standard.
8accd3
8accd3
Note that you normally wouldn't need to install this package
8accd3
separately.  It is a dependency of qemu-system-ppc64.
8accd3
8accd3
8accd3
%prep
8accd3
%setup -q -n SLOF-%{gittagdate}
8accd3
8accd3
8accd3
%build
8accd3
export CROSS="powerpc64-linux-gnu-"
6bdc3b
make qemu %{?_smp_mflags} V=2
8accd3
8accd3
8accd3
%install
8accd3
mkdir -p $RPM_BUILD_ROOT%{_datadir}/qemu
8accd3
cp -a boot_rom.bin $RPM_BUILD_ROOT%{_datadir}/qemu/slof.bin
8accd3
8accd3
8accd3
%files
8accd3
%doc FlashingSLOF.pdf
8accd3
%doc LICENSE
8accd3
%doc README
8accd3
%dir %{_datadir}/qemu
8accd3
%{_datadir}/qemu/slof.bin
8accd3
8accd3
8accd3
%changelog
e5b9aa
* Sun Dec 04 2016 Cole Robinson <crobinso@redhat.com> 0.1.git20161019-1
e5b9aa
- Update to SLOF 20161019 for qemu 2.8
e5b9aa
c38bda
* Thu Apr 07 2016 Cole Robinson <crobinso@redhat.com> 0.1.git20160223-1
c38bda
- Update to SLOF 20160223 for qemu 2.6
c38bda
8c0ae3
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.git20151103-2
8c0ae3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
8c0ae3
0bce0c
* Tue Nov 17 2015 Cole Robinson <crobinso@redhat.com> 0.1.git20151103-1
0bce0c
- Update to SLOF 20151103 for qemu 2.5
0bce0c
eb2ddc
* Tue Jul 14 2015 Cole Robinson <crobinso@redhat.com> 0.1.git20150429-1
eb2ddc
- Update to SLOF 20150429 for qemu 2.4
eb2ddc
6fc189
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.git20150313-2
6fc189
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
6fc189
e19823
* Wed Mar 18 2015 Cole Robinson <crobinso@redhat.com> 0.1.git20150313-1
e19823
- Update to SLOF 20150313 for qemu 2.3
e19823
e71c74
* Tue Dec 02 2014 Cole Robinson <crobinso@redhat.com> - 0.1.git20141202-1
e71c74
- Update to SLOF 20141202
e71c74
7b281b
* Fri Jul 04 2014 Cole Robinson <crobinso@redhat.com> - 0.1.git20140630-1
7b281b
- Update to tag qemu-slof-20140630, queued for qemu 2.1
7b281b
da39b3
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.git20140304-2
da39b3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
da39b3
eb45d2
* Sun Mar 16 2014 Cole Robinson <crobinso@redhat.com> - 0.1.git20140304-1
eb45d2
- Update to qemu 2.0 version of SLOF
eb45d2
be5c72
* Tue Nov 19 2013 Cole Robinson <crobinso@redhat.com> - 0.1.git20130827-1
be5c72
- Update to version intended for qemu 1.7
be5c72
059762
* Fri Aug 02 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.git20130430-2
059762
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
059762
91f32d
* Tue May 21 2013 Cole Robinson <crobinso@redhat.com> - 0.1.git20130430-1
91f32d
- Update to version shipped with qemu 1.5
91f32d
4d88c2
* Tue Feb 19 2013 Cole Robinson <crobinso@redhat.com> 0.1.git20121018-1
4d88c2
- Update to version shipped with qemu 1.4
4d88c2
6c7026
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.git20120731-2
6c7026
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
6c7026
4d2a8a
* Tue Oct 16 2012 Paolo Bonzini <pbonzini@redhat.com> - 0.1.git20120731-1
4d2a8a
- Move date from release to version.
4d2a8a
6bdc3b
* Fri Sep 14 2012 Paolo Bonzini <pbonzini@redhat.com> - 0-0.1.git20120731
6bdc3b
- SLOF packages is very out of date with respect to what qemu expects (bug #855246)
6bdc3b
- SLOF package builds wrong version of SLOF (bug #855236)
6bdc3b
- build verbosely
6bdc3b
8accd3
* Tue Jul 31 2012 Richard W.M. Jones <rjones@redhat.com> - 0-0.1.git20120217
8accd3
- Initial release in Fedora.