Compare commits

...
Sign in to create a new pull request.

9 commits

Author SHA1 Message Date
Fedora Release Engineering
df65638f09 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-24 21:11:04 +00:00
Neal Gompa
f48f0ee61a Fix sbin-bin merge logic 2025-03-20 20:30:00 -04:00
Neal Gompa
ba0bfd9af5 Modernize spec and handle sbin-bin merge 2025-03-20 20:17:53 -04:00
Fedora Release Engineering
3d5ed19498 Unretirement request: pagure.io/releng/issue/12642
Revert "Orphaned for 6+ weeks"

This reverts commit da1c3e396c.

Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2025-03-20 16:28:59 +00:00
Maxwell G
da1c3e396c Orphaned for 6+ weeks 2025-01-07 12:17:49 -06:00
Miroslav Suchý
c6adc844cf convert GPLv2+ license to SPDX
This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4
2024-07-26 01:12:43 +02:00
Fedora Release Engineering
d478e7cdfe Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-18 16:34:33 +00:00
Fedora Release Engineering
1ed7c4ef77 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-25 05:36:29 +00:00
Fedora Release Engineering
69f58c6f33 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-21 06:45:20 +00:00

View file

@ -1,20 +1,21 @@
Name: mactel-boot
Version: 0.9
Release: 30%{?dist}
Release: 36%{?dist}
Summary: Intel Mac boot files
License: GPLv2+
License: GPL-2.0-or-later
URL: http://www.codon.org.uk/~mjg59/mactel-boot/
Source: http://www.codon.org.uk/~mjg59/mactel-boot/%{name}-%{version}.tar.bz2
Source1: mactel-boot-setup
Patch0: mactel-boot-c99.patch
Patch0: mactel-boot-c99.patch
ExclusiveArch: x86_64
ExclusiveArch: %{x86_64}
BuildRequires: make
BuildRequires: gcc
Requires: coreutils
BuildRequires: make
BuildRequires: gcc
%description
Files for booting Fedora on Intel-based Apple hardware using EFI.
@ -22,34 +23,60 @@ Files for booting Fedora on Intel-based Apple hardware using EFI.
%autosetup -p1
%build
make PRODUCTVERSION="Fedora %{fedora}" %{?_smp_mflags}
%make_build PRODUCTVERSION="Fedora %{fedora}"
%install
make install DESTDIR=$RPM_BUILD_ROOT
install -D -m 644 SystemVersion.plist $RPM_BUILD_ROOT/boot/efi/System/Library/CoreServices/SystemVersion.plist
echo "This file is required for booting" >$RPM_BUILD_ROOT/boot/efi/mach_kernel
touch $RPM_BUILD_ROOT/boot/efi/System/Library/CoreServices/boot.efi
touch $RPM_BUILD_ROOT/boot/efi/.VolumeIcon.icns
install -D %{SOURCE1} $RPM_BUILD_ROOT/usr/libexec/mactel-boot-setup
%make_install
install -Dpm 644 SystemVersion.plist %{buildroot}/boot/efi/System/Library/CoreServices/SystemVersion.plist
echo "This file is required for booting" >%{buildroot}/boot/efi/mach_kernel
touch %{buildroot}/boot/efi/System/Library/CoreServices/boot.efi
touch %{buildroot}/boot/efi/.VolumeIcon.icns
install -D %{SOURCE1} %{buildroot}%{_libexecdir}/mactel-boot-setup
%if "%{_sbindir}" != "/usr/sbin"
# If sbin-bin merge, move everything accordingly
mkdir -p %{buildroot}%{_sbindir}
mv %{buildroot}%{_prefix}/sbin/* %{buildroot}%{_sbindir}
rmdir %{buildroot}%{_prefix}/sbin
%endif
%files
%license GPL
%license Copyright
/usr/share/man/man1/hfs-bless.1.gz
%{_mandir}/man1/hfs-bless.1*
/boot/efi/mach_kernel
%dir /boot/efi/System/
%dir /boot/efi/System/Library/
%dir /boot/efi/System/Library/CoreServices/
/boot/efi/System/Library/CoreServices/SystemVersion.plist
/usr/sbin/hfs-bless
/usr/libexec/mactel-boot-setup
%{_sbindir}/hfs-bless
%{_libexecdir}/mactel-boot-setup
%attr(0755, root, root) %ghost /boot/efi/System/Library/CoreServices/boot.efi
%attr(0644, root, root) %ghost /boot/efi/.VolumeIcon.icns
%triggerin -- grub-efi grub2-efi fedora-logos generic-logos
/usr/libexec/mactel-boot-setup
%{_libexecdir}/mactel-boot-setup
%changelog
* Thu Jul 24 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-36
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Fri Mar 21 2025 Neal Gompa <ngompa@fedoraproject.org> - 0.9-35
- Modernize spec and handle sbin-bin merge
* Fri Jul 26 2024 Miroslav Suchý <msuchy@redhat.com> - 0.9-34
- convert license to SPDX
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-33
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-32
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-31
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-30
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild