]> git.pld-linux.org Git - packages/efi-shell.git/blob - efi-shell.spec
Release: .2
[packages/efi-shell.git] / efi-shell.spec
1 %define svnrev  13902
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
4 Name:           efi-shell
5 Version:        2.0
6 Release:        0.%{svnrev}.2
7 License:        BSD-like
8 Group:          Applications
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)
17
18 %define         _enable_debug_packages  0
19
20 %description
21 Native UDK implementations of a UEFI Shell 2.0.
22
23 %description -l pl.UTF-8
24 Natywne implementacje UDK powłoki UEFI Shell 2.0.
25
26 %package ia32
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
29 Group:          Base
30
31 %description ia32
32 32-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
36 32-bitowa natywna implementacja UDK powłoki UEFI Shell 2.0 (dla
37 architektury IA32).
38
39 %package x64
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
42 Group:          Base
43
44 %description x64
45 64-bit version of the native UDK implemenations of a UEFI Shell 2.0
46 for x64 (x86_64) platform.
47
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).
51
52 %prep
53 %setup -qn ShellBinPkg
54
55 %install
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
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %post ia32
67 [ -x /sbin/efi-boot-update ] && /sbin/efi-boot-update --auto || :
68
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
76 [ -x /sbin/efi-boot-update ] && /sbin/efi-boot-update --auto || :
77
78 %files ia32
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
83
84 %files x64
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
This page took 0.06936 seconds and 3 git commands to generate.