File virt-utils.spec of Package virt-utils
#
# spec file for package virt-utils
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define internal_utils 1
Name: virt-utils
Version: 1.1.9
Release: 0
Summary: Virtualization Utilities
License: GPL-2.0
Group: System/Kernel
Source1: vm-snapshot-disk
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: qemu-tools
%description
Various virtualization solutions have a common need for ancillary
utilities which manage storage, snapshotting, monitoring, etc.
Both KVM and Xen derive their device and machine model from QEMU and
inherit a lot from its approach to emulation/virtualization. This
package is hence a good place to have QEMU related tools reside.
Additionally, any other utilities which have use across the various
virtualization solutions available have a home here.
Authors:
--------
Ron Terry
%prep
%build
%install
%if %{?internal_utils}0
install -d -m 755 $RPM_BUILD_ROOT/%_bindir
install -m 755 %SOURCE1 $RPM_BUILD_ROOT/%_bindir
%endif
%clean
rm -rf ${RPM_BUILD_ROOT}
%files
%defattr(-, root, root)
%if %{?internal_utils}0
%_bindir/vm-snapshot-disk
%endif
%changelog