1 %global opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
2 %global debug_package %{nil}
5 Version: @PACKAGE_VERSION@
6 Release: @RPM_RELEASE@%{?dist}
7 Summary: Find clusters of similar/cloned virtual machines
10 URL: http://people.redhat.com/~rjones/virt-similarity
11 Source0: http://people.redhat.com/~rjones/virt-similarity/files/%{name}-%{version}.tar.gz
13 BuildRequires: ocaml >= 3.12.0
14 BuildRequires: ocaml-ocamldoc
15 BuildRequires: ocaml-findlib-devel
16 BuildRequires: ocaml-libguestfs-devel >= 1.14
18 # For building manual pages.
19 BuildRequires: /usr/bin/perldoc
23 Virt-similarity is a tool for doing cluster analysis of groups of
24 virtual machines. It can automatically detect machines which have
25 been cloned from each other. It can produce a "cladogram" showing the
26 "family history" of each guest, or you can use it to create the most
27 efficient tree of backing files which will use the least disk space.
44 make DESTDIR=$RPM_BUILD_ROOT install
46 # Strip binaries (why doesn't RPM do this?)
47 strip --strip-all $RPM_BUILD_ROOT%{_bindir}/virt-similarity
52 %{_bindir}/virt-similarity
57 * Thu Jan 31 2013 Richard W.M. Jones <rjones@redhat.com> - @PACKAGE_VERSION@-@RPM_RELEASE@