2020-08-03 18:18:25 +00:00
|
|
|
%global gittagdate 20200717
|
2021-02-02 21:34:42 +00:00
|
|
|
%global gittagcommit e18ddad8
|
2012-08-01 08:58:03 +00:00
|
|
|
|
2017-11-17 08:26:03 +00:00
|
|
|
# Disable debuginfo because it is of no use to us.
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
%if 0%{?fedora:1}
|
|
|
|
%define cross 1
|
2021-02-02 21:34:42 +00:00
|
|
|
%define targetdir qemu
|
|
|
|
%else
|
|
|
|
%define targetdir qemu-kvm
|
2017-11-17 08:26:03 +00:00
|
|
|
%endif
|
|
|
|
|
2019-11-12 19:37:02 +00:00
|
|
|
%global gittag qemu-slof-%{gittagdate}
|
|
|
|
|
2012-08-01 08:58:03 +00:00
|
|
|
Name: SLOF
|
2021-02-02 21:34:42 +00:00
|
|
|
Version: %{gittagdate}
|
|
|
|
Release: 3.git%{gittagcommit}%{?dist}
|
2012-08-01 08:58:03 +00:00
|
|
|
Summary: Slimline Open Firmware
|
|
|
|
|
|
|
|
License: BSD
|
|
|
|
URL: http://www.openfirmware.info/SLOF
|
2017-11-17 08:26:03 +00:00
|
|
|
|
2021-02-02 21:34:42 +00:00
|
|
|
Source0: https://github.com/aik/SLOF/archive/qemu-slof-%{gittagdate}.tar.gz
|
2018-03-26 15:11:23 +00:00
|
|
|
|
2012-08-01 08:58:03 +00:00
|
|
|
|
2017-11-17 08:26:03 +00:00
|
|
|
%if 0%{?cross:1}
|
|
|
|
BuildArch: noarch
|
2012-08-01 08:58:03 +00:00
|
|
|
BuildRequires: gcc-powerpc64-linux-gnu
|
2017-11-17 08:26:03 +00:00
|
|
|
%else
|
|
|
|
ExclusiveArch: ppc64le
|
2021-02-02 21:34:42 +00:00
|
|
|
BuildArch: noarch
|
2017-11-17 08:26:03 +00:00
|
|
|
%endif
|
|
|
|
|
2021-01-11 23:26:41 +00:00
|
|
|
BuildRequires: make
|
2018-07-19 14:30:10 +00:00
|
|
|
BuildRequires: gcc
|
2020-08-03 18:18:25 +00:00
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
BuildRequires: perl(Getopt::Std)
|
2012-08-01 08:58:03 +00:00
|
|
|
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
|
2021-02-02 21:34:42 +00:00
|
|
|
%setup -q -n SLOF-qemu-slof-%{gittagdate}
|
2017-11-22 15:35:44 +00:00
|
|
|
%autopatch -p1
|
2012-08-01 08:58:03 +00:00
|
|
|
|
|
|
|
%build
|
2017-11-17 08:26:03 +00:00
|
|
|
%if 0%{?cross:1}
|
2012-08-01 08:58:03 +00:00
|
|
|
export CROSS="powerpc64-linux-gnu-"
|
2021-02-02 21:34:42 +00:00
|
|
|
%else
|
|
|
|
export CROSS=""
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%if 0%{?rhel:1}
|
|
|
|
# Workaround for problems on the TPS machines. They have a
|
|
|
|
# environment variable called "RELEASE" which somehow confuses the
|
|
|
|
# SLOF Makefiles which also use a variable named RELEASE.
|
|
|
|
unset RELEASE
|
2017-11-17 08:26:03 +00:00
|
|
|
%endif
|
2012-08-01 08:58:03 +00:00
|
|
|
|
2021-02-02 21:34:42 +00:00
|
|
|
make qemu %{?_smp_mflags} V=2
|
2012-08-01 08:58:03 +00:00
|
|
|
|
|
|
|
%install
|
2021-02-02 21:34:42 +00:00
|
|
|
mkdir -p %{buildroot}%{_datadir}/%{targetdir}
|
|
|
|
install -c -m 0644 boot_rom.bin %{buildroot}%{_datadir}/%{targetdir}/slof.bin
|
2012-08-01 08:58:03 +00:00
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%doc LICENSE
|
|
|
|
%doc README
|
2021-02-02 21:34:42 +00:00
|
|
|
%dir %{_datadir}/%{targetdir}
|
|
|
|
%{_datadir}/%{targetdir}/slof.bin
|
2012-08-01 08:58:03 +00:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2021-01-25 23:37:26 +00:00
|
|
|
* Mon Jan 25 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.git20200717-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-08-03 18:18:25 +00:00
|
|
|
* Mon Aug 03 2020 Cole Robinson <aintdiscole@gmail.com> - 0.1.git20200717-1
|
|
|
|
- Update to SLOF 20200717
|
|
|
|
|
2020-07-27 11:33:16 +00:00
|
|
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.git20200327-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-03-30 19:07:42 +00:00
|
|
|
* Mon Mar 30 2020 Cole Robinson <aintdiscole@gmail.com> - 0.1.git20200327-1
|
|
|
|
- Update to SLOF 20200327
|
|
|
|
|
2020-01-28 10:58:40 +00:00
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.git20191022-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-11-12 19:37:02 +00:00
|
|
|
* Tue Nov 12 2019 Cole Robinson <aintdiscole@gmail.com> - 0.1.git20191022-1
|
|
|
|
- Update to SLOF 20191022 for qemu-4.2
|
|
|
|
|
2019-07-24 17:17:24 +00:00
|
|
|
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.git20190114-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-03-27 21:49:46 +00:00
|
|
|
* Wed Mar 27 2019 Cole Robinson <aintdiscole@gmail.com> - 0.1.git20190114-1
|
|
|
|
- Update to SLOF 20190114 for qemu-4.0
|
|
|
|
|
2019-01-31 12:44:07 +00:00
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.git20180702-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-12-12 17:01:54 +00:00
|
|
|
* Wed Dec 12 2018 Cole Robinson <crobinso@redhat.com> - 0.1.git20180702-2
|
|
|
|
- Fix gcc 8.1 build compat (bz #1653655)
|
|
|
|
|
2018-11-15 20:14:32 +00:00
|
|
|
* Thu Nov 15 2018 Cole Robinson <crobinso@redhat.com> - 0.1.git20180702-1
|
|
|
|
- Update to SLOF 20180702 for qemu-3.1
|
|
|
|
|
2018-07-31 15:53:24 +00:00
|
|
|
* Tue Jul 31 2018 Cole Robinson <crobinso@redhat.com> - 0.1.git20180621-1
|
|
|
|
- Update to SLOF 20180621 for qemu-3.0
|
|
|
|
|
2018-07-19 14:30:10 +00:00
|
|
|
* Thu Jul 19 2018 Richard W.M. Jones <rjones@redhat.com> - 0.1.git20171214-4
|
|
|
|
- BR gcc, needed even when cross-compiling to make a build tool.
|
|
|
|
|
2018-07-12 19:50:09 +00:00
|
|
|
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.git20171214-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-03-26 15:13:36 +00:00
|
|
|
* Mon Mar 26 2018 Cole Robinson <crobinso@redhat.com> - 0.1.git20171214-2
|
|
|
|
- Drop documentation patch
|
|
|
|
|
2018-03-22 14:37:49 +00:00
|
|
|
* Thu Mar 22 2018 Cole Robinson <crobinso@redhat.com> - 0.1.git20171214-1
|
|
|
|
- Update to SLOF 20171214 for qemu-2.12
|
|
|
|
|
2018-02-07 01:33:42 +00:00
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.git20170724-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-11-22 15:35:44 +00:00
|
|
|
* Wed Nov 22 2017 Paolo Bonzini <pbonzini@redhat.com> - 0.1.git120170724-3
|
|
|
|
- Add two patches from RHEL
|
|
|
|
|
2017-11-17 08:26:03 +00:00
|
|
|
* Fri Nov 17 2017 Paolo Bonzini <pbonzini@redhat.com> - 0.1.git120170724-2
|
|
|
|
- Disable cross compilation for RHEL
|
|
|
|
|
2017-08-03 16:11:23 +00:00
|
|
|
* Thu Aug 03 2017 Cole Robinson <crobinso@redhat.com> - 0.1.git120170724-1
|
|
|
|
- Update to SLOF 20170724 for qemu 2.10
|
|
|
|
|
2017-07-26 02:23:23 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.git20170303-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-03-15 15:42:54 +00:00
|
|
|
* Wed Mar 15 2017 Cole Robinson <crobinso@redhat.com> - 0.1.git20170303-1
|
|
|
|
- Update to SLOF 20170303 for qemu 2.9
|
|
|
|
|
2017-02-10 05:35:05 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.git20161019-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-12-04 22:42:14 +00:00
|
|
|
* Sun Dec 04 2016 Cole Robinson <crobinso@redhat.com> 0.1.git20161019-1
|
|
|
|
- Update to SLOF 20161019 for qemu 2.8
|
|
|
|
|
2016-04-07 14:19:42 +00:00
|
|
|
* Thu Apr 07 2016 Cole Robinson <crobinso@redhat.com> 0.1.git20160223-1
|
|
|
|
- Update to SLOF 20160223 for qemu 2.6
|
|
|
|
|
2016-02-03 15:50:18 +00:00
|
|
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.git20151103-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-11-17 16:27:40 +00:00
|
|
|
* Tue Nov 17 2015 Cole Robinson <crobinso@redhat.com> 0.1.git20151103-1
|
|
|
|
- Update to SLOF 20151103 for qemu 2.5
|
|
|
|
|
2015-07-14 19:17:07 +00:00
|
|
|
* Tue Jul 14 2015 Cole Robinson <crobinso@redhat.com> 0.1.git20150429-1
|
|
|
|
- Update to SLOF 20150429 for qemu 2.4
|
|
|
|
|
2015-06-16 23:24:23 +00:00
|
|
|
* 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
|
|
|
|
|
2015-03-18 18:42:59 +00:00
|
|
|
* Wed Mar 18 2015 Cole Robinson <crobinso@redhat.com> 0.1.git20150313-1
|
|
|
|
- Update to SLOF 20150313 for qemu 2.3
|
|
|
|
|
2014-12-02 19:29:37 +00:00
|
|
|
* Tue Dec 02 2014 Cole Robinson <crobinso@redhat.com> - 0.1.git20141202-1
|
|
|
|
- Update to SLOF 20141202
|
|
|
|
|
2014-07-04 19:47:52 +00:00
|
|
|
* Fri Jul 04 2014 Cole Robinson <crobinso@redhat.com> - 0.1.git20140630-1
|
|
|
|
- Update to tag qemu-slof-20140630, queued for qemu 2.1
|
|
|
|
|
2014-06-06 23:42:09 +00:00
|
|
|
* 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
|
|
|
|
|
2014-03-16 20:32:39 +00:00
|
|
|
* Sun Mar 16 2014 Cole Robinson <crobinso@redhat.com> - 0.1.git20140304-1
|
|
|
|
- Update to qemu 2.0 version of SLOF
|
|
|
|
|
2013-11-19 23:01:10 +00:00
|
|
|
* Tue Nov 19 2013 Cole Robinson <crobinso@redhat.com> - 0.1.git20130827-1
|
|
|
|
- Update to version intended for qemu 1.7
|
|
|
|
|
2013-08-02 23:51:35 +00:00
|
|
|
* 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
|
|
|
|
|
2013-05-21 14:33:26 +00:00
|
|
|
* Tue May 21 2013 Cole Robinson <crobinso@redhat.com> - 0.1.git20130430-1
|
|
|
|
- Update to version shipped with qemu 1.5
|
|
|
|
|
2013-02-20 00:35:17 +00:00
|
|
|
* Tue Feb 19 2013 Cole Robinson <crobinso@redhat.com> 0.1.git20121018-1
|
|
|
|
- Update to version shipped with qemu 1.4
|
|
|
|
|
2013-02-13 16:05:06 +00:00
|
|
|
* 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
|
|
|
|
|
2012-09-14 09:38:52 +00:00
|
|
|
* Tue Oct 16 2012 Paolo Bonzini <pbonzini@redhat.com> - 0.1.git20120731-1
|
|
|
|
- Move date from release to version.
|
|
|
|
|
2012-09-14 09:38:52 +00:00
|
|
|
* 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
|
|
|
|
|
2012-08-01 08:58:03 +00:00
|
|
|
* Tue Jul 31 2012 Richard W.M. Jones <rjones@redhat.com> - 0-0.1.git20120217
|
|
|
|
- Initial release in Fedora.
|