]> git.pld-linux.org Git - packages/efi-shell.git/blame - efi-shell.spec
Release: .2
[packages/efi-shell.git] / efi-shell.spec
CommitLineData
5295e697 1%define svnrev 13902
871def2d
JB
2Summary: Native UDK implementations of a UEFI Shell 2.0
3Summary(pl.UTF-8): Natywne implementacje UDK powłoki UEFI Shell 2.0
5295e697
JK
4Name: efi-shell
5Version: 2.0
302d8387 6Release: 0.%{svnrev}.2
5295e697
JK
7License: BSD-like
8Group: Applications
9#https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2/ShellBinPkg
10Source0: ShellBinPkg-r%{svnrev}.tar.bz2
11# Source0-md5: 00cdc30ad2e6267849be0a2b0c9901b2
12Source1: shell_ia32.efi-boot-update
13Source2: shell_x64.efi-boot-update
14URL: http://sourceforge.net/apps/mediawiki/tianocore/index.php?title=ShellPkg
15ExclusiveArch: %{ix86} %{x8664}
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%define _enable_debug_packages 0
19
20%description
871def2d
JB
21Native UDK implementations of a UEFI Shell 2.0.
22
23%description -l pl.UTF-8
24Natywne implementacje UDK powłoki UEFI Shell 2.0.
5295e697
JK
25
26%package ia32
871def2d
JB
27Summary: Native UDK implementation of a UEFI Shell 2.0 for IA32
28Summary(pl.UTF-8): Natywna implementacja UDK powłoki UEFI Shell 2.0 dla IA32
5295e697
JK
29Group: Base
30
31%description ia32
871def2d
JB
3232-bit version of the native UDK implementation of a UEFI Shell 2.0
33(for IA32 architecture).
34
35%description ia32 -l pl.UTF-8
3632-bitowa natywna implementacja UDK powłoki UEFI Shell 2.0 (dla
37architektury IA32).
5295e697
JK
38
39%package x64
871def2d
JB
40Summary: Native UDK implementation of a UEFI Shell 2.0
41Summary(pl.UTF-8): Natywna implementacja UDK powłoki UEFI Shell 2.0 dla x64
5295e697
JK
42Group: Base
43
44%description x64
871def2d
JB
4564-bit version of the native UDK implemenations of a UEFI Shell 2.0
46for x64 (x86_64) platform.
47
48%description x64 -l pl.UTF-8
4964-bitowa natywna implementacja UDK powłoki UEFI Shell 2.0 dla
50architektury x64 (x86_64).
5295e697
JK
51
52%prep
53%setup -qn ShellBinPkg
54
5295e697
JK
55%install
56rm -rf $RPM_BUILD_ROOT
06b57079 57install -d $RPM_BUILD_ROOT{/lib/efi/{ia32,x64},/etc/efi-boot/update.d}
5295e697
JK
58install UefiShell/Ia32/Shell.efi $RPM_BUILD_ROOT/lib/efi/ia32
59install UefiShell/X64/Shell.efi $RPM_BUILD_ROOT/lib/efi/x64
06b57079
JK
60install %{SOURCE1} $RPM_BUILD_ROOT/etc/efi-boot/update.d/shell_ia32.conf
61install %{SOURCE2} $RPM_BUILD_ROOT/etc/efi-boot/update.d/shell_x64.conf
5295e697
JK
62
63%clean
64rm -rf $RPM_BUILD_ROOT
65
c3f11303 66%post ia32
af5feaae
JK
67[ -x /sbin/efi-boot-update ] && /sbin/efi-boot-update --auto || :
68
c3f11303
JK
69%postun ia32
70[ -x /sbin/efi-boot-update ] && /sbin/efi-boot-update --auto || :
71
72%post x64
73[ -x /sbin/efi-boot-update ] && /sbin/efi-boot-update --auto || :
74
75%postun x64
af5feaae 76[ -x /sbin/efi-boot-update ] && /sbin/efi-boot-update --auto || :
5295e697
JK
77
78%files ia32
79%defattr(644,root,root,755)
80%doc License.txt ReadMe.txt Contributions.txt
871def2d 81/lib/efi/ia32/Shell.efi
06b57079 82/etc/efi-boot/update.d/shell_ia32.conf
5295e697
JK
83
84%files x64
85%defattr(644,root,root,755)
86%doc License.txt ReadMe.txt Contributions.txt
871def2d 87/lib/efi/x64/Shell.efi
06b57079 88/etc/efi-boot/update.d/shell_x64.conf
This page took 0.082645 seconds and 4 git commands to generate.