]>
Commit | Line | Data |
---|---|---|
9f5323a5 JB |
1 | Summary: Open VMDK - assistant tool for creating Open Virtual Appliance (OVA) |
2 | Summary(pl.UTF-8): Open VMDK - narzędzie pomagające przy tworzeniu Open Virtual Appliance (OVA) | |
3 | Name: open-vmdk | |
4 | %define gitref 875f4162c91c7fc7bc450dccaf7b896a927fa42b | |
5 | %define snap 20211104 | |
6 | Version: 0 | |
7 | Release: 0.%{snap}.1 | |
8 | License: Apache v2.0 | |
9 | Group: Applications/File | |
10 | Source0: https://github.com/vmware/open-vmdk/archive/%{gitref}/%{name}-%{snap}.tar.gz | |
11 | # Source0-md5: ab2448b64262ccb43a0ec545f18156d2 | |
0396ebeb | 12 | Patch0: %{name}-extern.patch |
9f5323a5 JB |
13 | URL: https://github.com/vmware/open-vmdk |
14 | BuildRequires: zlib-devel | |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %description | |
18 | Open VMDK is an assistant tool for creating Open Virtual Appliance | |
19 | (OVA). An OVA is a tar archive file with Open Virtualization Format | |
20 | (OVF) files inside, which is composed of an OVF descriptor with | |
21 | extension .ovf, a virtual machine disk image file with extension | |
22 | .vmdk, and a manifest file with extension .mf. | |
23 | ||
24 | %description -l pl.UTF-8 | |
25 | Open VMDK to narzędzie pomagające przy tworzeniu OVA (Open Virtual | |
26 | Appliance). OVA to plik archiwum tar zawierające pliki OVF (Open | |
27 | Virtualization Format), składające się z opisu OVF z rozszerzeniem | |
28 | .ovf, pliku obrazu dysku maszyny wirtualnej z rozszerzeniem .vmdk | |
29 | oraz pliku manifestu z rozszerzeniem .mf. | |
30 | ||
31 | %prep | |
32 | %setup -q -n %{name}-%{gitref} | |
0396ebeb | 33 | %patch0 -p1 |
9f5323a5 JB |
34 | |
35 | %build | |
36 | %{__make} \ | |
37 | CC="%{__cc}" \ | |
38 | CFLAGS="%{rpmcflags} -W -Wall" \ | |
39 | LDFLAGS="%{rpmldflags} -lz" | |
40 | ||
41 | %install | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | ||
44 | %{__make} install \ | |
45 | DESTDIR=$RPM_BUILD_ROOT | |
46 | ||
47 | %clean | |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
50 | %files | |
51 | %defattr(644,root,root,755) | |
52 | %doc README.md | |
53 | %attr(755,root,root) %{_bindir}/mkova.sh | |
54 | %attr(755,root,root) %{_bindir}/vmdk-convert |