]> git.pld-linux.org Git - packages/open-vmdk.git/blob - open-vmdk.spec
ad60f9be51f121a81797f5217fffee3044effae2
[packages/open-vmdk.git] / open-vmdk.spec
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
12 URL:            https://github.com/vmware/open-vmdk
13 BuildRequires:  zlib-devel
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 Open VMDK is an assistant tool for creating Open Virtual Appliance
18 (OVA). An OVA is a tar archive file with Open Virtualization Format
19 (OVF) files inside, which is composed of an OVF descriptor with
20 extension .ovf, a virtual machine disk image file with extension
21 .vmdk, and a manifest file with extension .mf.
22
23 %description -l pl.UTF-8
24 Open VMDK to narzędzie pomagające przy tworzeniu OVA (Open Virtual
25 Appliance). OVA to plik archiwum tar zawierające pliki OVF (Open
26 Virtualization Format), składające się z opisu OVF z rozszerzeniem
27 .ovf, pliku obrazu dysku maszyny wirtualnej z rozszerzeniem .vmdk
28 oraz pliku manifestu z rozszerzeniem .mf.
29
30 %prep
31 %setup -q -n %{name}-%{gitref}
32
33 %build
34 %{__make} \
35         CC="%{__cc}" \
36         CFLAGS="%{rpmcflags} -W -Wall" \
37         LDFLAGS="%{rpmldflags} -lz"
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41
42 %{__make} install \
43         DESTDIR=$RPM_BUILD_ROOT
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files
49 %defattr(644,root,root,755)
50 %doc README.md
51 %attr(755,root,root) %{_bindir}/mkova.sh
52 %attr(755,root,root) %{_bindir}/vmdk-convert
This page took 0.071918 seconds and 2 git commands to generate.