1 # This is overridden when we call rpmbuild in the Makefile so you
2 # don't need to set it here (unless you are not using the Makefile).
3 #global vddkdir /some/path
5 # The minimum version of nbdkit that we can build/install with.
6 %global minimum_version 1.1.2
9 Name: nbdkit-plugin-vddk
10 # NB: The Version field is parsed out of this file by Makefile, so it
11 # can only be a simple number. Also it must correspond to an nbdkit
12 # released version (ideally the latest version).
16 Summary: VDDK plugin for nbdkit
19 Source0: nbdkit-%{version}.tar.gz
21 BuildRequires: nbdkit-devel >= %{minimum_version}
23 Requires: nbdkit >= %{minimum_version}
25 # Make sure the final package doesn't actually depend on the
27 %global __requires_exclude .*libvixDiskLib\\.so.*
31 This package contains the VDDK plugin for nbdkit.
32 NB: it does not contain VDDK itself. You have to download that
37 %setup -q -n nbdkit-%{version}
47 --without-libguestfs \
48 --with-vddk=%{vddkdir}
52 # Note we're only building the plugin, and we want to build it
53 # against the installed nbdkit.
60 mkdir -p $RPM_BUILD_ROOT%{_libdir}/nbdkit/plugins
61 mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
66 # Kill libtool files with fire.
67 find $RPM_BUILD_ROOT -name '*.la' -delete
71 %{_libdir}/nbdkit/plugins/nbdkit-vddk-plugin.so
72 %{_mandir}/man1/nbdkit-vddk-plugin.1*
76 * Tue Aug 08 2017 Richard W.M. Jones <rjones@redhat.com> - 5-2
79 * Tue Aug 8 2017 Richard W.M. Jones <rjones@redhat.com> - 5-1
80 - Add new macro ocaml_native_profiling.
82 * Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4-3
83 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
85 * Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4-2
86 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
88 * Tue Nov 8 2016 Richard W.M. Jones <rjones@redhat.com> - 4-1
89 - s390x is now a native architecture with OCaml 4.04 in Fedora >= 26.
90 - Add riscv64 as a native arch using out of tree backend.
92 * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2-4
93 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
95 * Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2-3
96 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
98 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2-2
99 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
101 * Fri May 2 2014 Richard W.M. Jones <rjones@redhat.com> - 2-1
102 - Move macros to _rpmconfigdir (RHBZ#1093528).
104 * Tue Apr 22 2014 Richard W.M. Jones <rjones@redhat.com> - 1-1