149 lines
4.7 KiB
RPMSpec
149 lines
4.7 KiB
RPMSpec
%global gittagdate 20170724
|
|
%global gittag qemu-slof-%{gittagdate}
|
|
|
|
# Disable debuginfo because it is of no use to us.
|
|
%global debug_package %{nil}
|
|
|
|
%if 0%{?fedora:1}
|
|
%define cross 1
|
|
%endif
|
|
|
|
Name: SLOF
|
|
Version: 0.1.git%{gittagdate}
|
|
Release: 2%{?dist}
|
|
Summary: Slimline Open Firmware
|
|
|
|
License: BSD
|
|
URL: http://www.openfirmware.info/SLOF
|
|
|
|
|
|
# There are no upstream tarballs. To prepare a tarball, do:
|
|
#
|
|
# git clone git://github.com/aik/SLOF.git
|
|
# cd SLOF
|
|
# git archive -o ../SLOF-%{gittagdate}.tar.gz \
|
|
# --prefix=SLOF-%{gittagdate}/ %{gittag}
|
|
Source0: SLOF-%{gittagdate}.tar.gz
|
|
|
|
%if 0%{?cross:1}
|
|
BuildArch: noarch
|
|
BuildRequires: gcc-powerpc64-linux-gnu
|
|
%else
|
|
ExclusiveArch: ppc64le
|
|
%endif
|
|
|
|
BuildRequires: perl(Data::Dumper)
|
|
|
|
|
|
%description
|
|
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
|
|
standard.
|
|
|
|
Note that you normally wouldn't need to install this package
|
|
separately. It is a dependency of qemu-system-ppc64.
|
|
|
|
|
|
%prep
|
|
%setup -q -n SLOF-%{gittagdate}
|
|
|
|
|
|
%build
|
|
%if 0%{?cross:1}
|
|
export CROSS="powerpc64-linux-gnu-"
|
|
%endif
|
|
make qemu %{?_smp_mflags} V=2
|
|
|
|
|
|
%install
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/qemu
|
|
cp -a boot_rom.bin $RPM_BUILD_ROOT%{_datadir}/qemu/slof.bin
|
|
|
|
|
|
%files
|
|
%doc FlashingSLOF.pdf
|
|
%doc LICENSE
|
|
%doc README
|
|
%dir %{_datadir}/qemu
|
|
%{_datadir}/qemu/slof.bin
|
|
|
|
|
|
%changelog
|
|
* Fri Nov 17 2017 Paolo Bonzini <pbonzini@redhat.com> - 0.1.git120170724-2
|
|
- Disable cross compilation for RHEL
|
|
|
|
* Thu Aug 03 2017 Cole Robinson <crobinso@redhat.com> - 0.1.git120170724-1
|
|
- Update to SLOF 20170724 for qemu 2.10
|
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.git20170303-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
* Wed Mar 15 2017 Cole Robinson <crobinso@redhat.com> - 0.1.git20170303-1
|
|
- Update to SLOF 20170303 for qemu 2.9
|
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.git20161019-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
* Sun Dec 04 2016 Cole Robinson <crobinso@redhat.com> 0.1.git20161019-1
|
|
- Update to SLOF 20161019 for qemu 2.8
|
|
|
|
* Thu Apr 07 2016 Cole Robinson <crobinso@redhat.com> 0.1.git20160223-1
|
|
- Update to SLOF 20160223 for qemu 2.6
|
|
|
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.git20151103-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
* Tue Nov 17 2015 Cole Robinson <crobinso@redhat.com> 0.1.git20151103-1
|
|
- Update to SLOF 20151103 for qemu 2.5
|
|
|
|
* Tue Jul 14 2015 Cole Robinson <crobinso@redhat.com> 0.1.git20150429-1
|
|
- Update to SLOF 20150429 for qemu 2.4
|
|
|
|
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.git20150313-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
* Wed Mar 18 2015 Cole Robinson <crobinso@redhat.com> 0.1.git20150313-1
|
|
- Update to SLOF 20150313 for qemu 2.3
|
|
|
|
* Tue Dec 02 2014 Cole Robinson <crobinso@redhat.com> - 0.1.git20141202-1
|
|
- Update to SLOF 20141202
|
|
|
|
* Fri Jul 04 2014 Cole Robinson <crobinso@redhat.com> - 0.1.git20140630-1
|
|
- Update to tag qemu-slof-20140630, queued for qemu 2.1
|
|
|
|
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.git20140304-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
* Sun Mar 16 2014 Cole Robinson <crobinso@redhat.com> - 0.1.git20140304-1
|
|
- Update to qemu 2.0 version of SLOF
|
|
|
|
* Tue Nov 19 2013 Cole Robinson <crobinso@redhat.com> - 0.1.git20130827-1
|
|
- Update to version intended for qemu 1.7
|
|
|
|
* Fri Aug 02 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.git20130430-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
* Tue May 21 2013 Cole Robinson <crobinso@redhat.com> - 0.1.git20130430-1
|
|
- Update to version shipped with qemu 1.5
|
|
|
|
* Tue Feb 19 2013 Cole Robinson <crobinso@redhat.com> 0.1.git20121018-1
|
|
- Update to version shipped with qemu 1.4
|
|
|
|
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.git20120731-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
* Tue Oct 16 2012 Paolo Bonzini <pbonzini@redhat.com> - 0.1.git20120731-1
|
|
- Move date from release to version.
|
|
|
|
* Fri Sep 14 2012 Paolo Bonzini <pbonzini@redhat.com> - 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 <rjones@redhat.com> - 0-0.1.git20120217
|
|
- Initial release in Fedora.
|