2 Summary: Native UDK implementations of a UEFI Shell 2.0
3 Summary(pl.UTF-8): Natywne implementacje UDK powłoki UEFI Shell 2.0
9 #https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2/ShellBinPkg
10 Source0: ShellBinPkg-r%{svnrev}.tar.bz2
11 # Source0-md5: 00cdc30ad2e6267849be0a2b0c9901b2
12 Source1: shell_ia32.efi-boot-update
13 Source2: shell_x64.efi-boot-update
14 URL: http://sourceforge.net/apps/mediawiki/tianocore/index.php?title=ShellPkg
15 ExclusiveArch: %{ix86} %{x8664}
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 %define _enable_debug_packages 0
21 Native UDK implementations of a UEFI Shell 2.0.
23 %description -l pl.UTF-8
24 Natywne implementacje UDK powłoki UEFI Shell 2.0.
27 Summary: Native UDK implementation of a UEFI Shell 2.0 for IA32
28 Summary(pl.UTF-8): Natywna implementacja UDK powłoki UEFI Shell 2.0 dla IA32
32 32-bit version of the native UDK implementation of a UEFI Shell 2.0
33 (for IA32 architecture).
35 %description ia32 -l pl.UTF-8
36 32-bitowa natywna implementacja UDK powłoki UEFI Shell 2.0 (dla
40 Summary: Native UDK implementation of a UEFI Shell 2.0
41 Summary(pl.UTF-8): Natywna implementacja UDK powłoki UEFI Shell 2.0 dla x64
45 64-bit version of the native UDK implemenations of a UEFI Shell 2.0
46 for x64 (x86_64) platform.
48 %description x64 -l pl.UTF-8
49 64-bitowa natywna implementacja UDK powłoki UEFI Shell 2.0 dla
50 architektury x64 (x86_64).
53 %setup -qn ShellBinPkg
56 rm -rf $RPM_BUILD_ROOT
57 install -d $RPM_BUILD_ROOT{/lib/efi/{ia32,x64},/etc/efi-boot/update.d}
58 install UefiShell/Ia32/Shell.efi $RPM_BUILD_ROOT/lib/efi/ia32
59 install UefiShell/X64/Shell.efi $RPM_BUILD_ROOT/lib/efi/x64
60 install %{SOURCE1} $RPM_BUILD_ROOT/etc/efi-boot/update.d/shell_ia32.conf
61 install %{SOURCE2} $RPM_BUILD_ROOT/etc/efi-boot/update.d/shell_x64.conf
64 rm -rf $RPM_BUILD_ROOT
67 [ -x /sbin/efi-boot-update ] && /sbin/efi-boot-update --auto || :
70 [ -x /sbin/efi-boot-update ] && /sbin/efi-boot-update --auto || :
73 [ -x /sbin/efi-boot-update ] && /sbin/efi-boot-update --auto || :
76 [ -x /sbin/efi-boot-update ] && /sbin/efi-boot-update --auto || :
79 %defattr(644,root,root,755)
80 %doc License.txt ReadMe.txt Contributions.txt
81 /lib/efi/ia32/Shell.efi
82 /etc/efi-boot/update.d/shell_ia32.conf
85 %defattr(644,root,root,755)
86 %doc License.txt ReadMe.txt Contributions.txt
87 /lib/efi/x64/Shell.efi
88 /etc/efi-boot/update.d/shell_x64.conf