- repackaged source with fixed missing ARM32 symlink
[packages/edk2-ovmf.git] / edk2-ovmf.spec
1 Summary:        Open Virtual Machine Firmware
2 Name:           edk2-ovmf
3 Version:        20190308
4 Release:        2
5 License:        BSD and OpenSSL
6 Group:          Development/Tools
7 Source0:        edk2-ovmf-%{version}.tar.xz
8 # Source0-md5:  67986cc2bb49d38e22ce0aa89cef2be9
9 URL:            http://www.tianocore.org/edk2/
10 BuildArch:      noarch
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13 %description
14 Open Virtual Machine Firmware
15
16 %description -l pl.UTF-8
17 Open Virtual Machine Firmware
18
19 %package -n edk2-aarch64
20 Summary:        AARCH64 Virtual Machine Firmware
21 License:        BSD and OpenSSL
22 Group:          Development/Tools
23
24 %description -n edk2-aarch64
25 AARCH64 Virtual Machine Firmware
26
27 %package -n edk2-arm
28 Summary:        ARM Virtual Machine Firmware
29 License:        BSD and OpenSSL
30 Group:          Development/Tools
31
32 %description -n edk2-arm
33 ARM Virtual Machine Firmware
34
35 %package -n edk2-ovmf-ia32
36 Summary:        Open Virtual Machine Firmware
37 License:        BSD and OpenSSL
38 Group:          Development/Tools
39
40 %description -n edk2-ovmf-ia32
41 Open Virtual Machine Firmware
42
43 %define no_install_post_strip   1
44
45 %prep
46 %setup -q
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT%{_datadir}
51 cp -a . $RPM_BUILD_ROOT%{_datadir}
52 %{__rm} -rf $RPM_BUILD_ROOT%{_datadir}/{doc,licenses}
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files
58 %defattr(644,root,root,755)
59 %doc doc/edk2-ovmf/README doc/edk2-ovmf/ovmf-whitepaper-c770f8c.txt licenses/edk2-ovmf/LICENSE.openssl licenses/edk2-ovmf/License.txt
60 %{_datadir}/OVMF
61 %dir %{_datadir}/edk2
62 %{_datadir}/edk2/ovmf
63
64 %files -n edk2-aarch64
65 %defattr(644,root,root,755)
66 %doc licenses/edk2-aarch64/LICENSE.openssl licenses/edk2-aarch64/License.txt
67 %dir %{_datadir}/AAVMF
68 %{_datadir}/AAVMF/AAVMF_*
69 %dir %{_datadir}/edk2
70 %{_datadir}/edk2/aarch64
71
72 %files -n edk2-arm
73 %defattr(644,root,root,755)
74 %doc licenses/edk2-arm/LICENSE.openssl licenses/edk2-arm/License.txt
75 %dir %{_datadir}/AAVMF
76 %{_datadir}/AAVMF/AAVMF32_*
77 %dir %{_datadir}/edk2
78 %{_datadir}/edk2/arm
79
80 %files -n edk2-ovmf-ia32
81 %defattr(644,root,root,755)
82 %doc doc/edk2-ovmf-ia32/README doc/edk2-ovmf-ia32/ovmf-whitepaper-c770f8c.txt licenses/edk2-ovmf-ia32/LICENSE.openssl licenses/edk2-ovmf-ia32/License.txt
83 %dir %{_datadir}/edk2
84 %{_datadir}/edk2/ovmf-ia32