File gnome-boxes.spec of Package gnome-boxes
#
# spec file for package gnome-boxes
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2011 Dominique Leuenberger, Amsterdam, The Netherlands.
#
# 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/
#
Name: gnome-boxes
Version: 3.6.3
Release: 0
Summary: A simple GNOME 3 application to access remote or virtual systems
License: LGPL-2.0+
Group: System/GUI/GNOME
Url: https://live.gnome.org/Design/Apps/Boxes
Source: http://download.gnome.org/sources/gnome-boxes/3.6/%{name}-%{version}.tar.xz
# For directory ownership
BuildRequires: gnome-shell
BuildRequires: intltool
BuildRequires: update-desktop-files
BuildRequires: vala >= 0.17.2
BuildRequires: pkgconfig(clutter-1.0) >= 1.11.14
BuildRequires: pkgconfig(clutter-gtk-1.0) >= 1.3.2
BuildRequires: pkgconfig(glib-2.0) >= 2.29.90
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 0.9.6
BuildRequires: pkgconfig(gtk+-3.0) >= 3.5.5
BuildRequires: pkgconfig(gtk-vnc-2.0) >= 0.4.4
BuildRequires: pkgconfig(gudev-1.0) >= 165
BuildRequires: pkgconfig(libosinfo-1.0) >= 0.2.1
BuildRequires: pkgconfig(libsoup-2.4) >= 2.38
BuildRequires: pkgconfig(libvirt-gconfig-1.0) >= 0.1.0
BuildRequires: pkgconfig(libvirt-gobject-1.0) >= 0.1.2
BuildRequires: pkgconfig(libxml-2.0) >= 2.7.8
BuildRequires: pkgconfig(spice-client-gtk-3.0) >= 0.12.101
BuildRequires: pkgconfig(tracker-sparql-0.14) >= 0.13.1
BuildRequires: pkgconfig(uuid) >= 1.41.3
# Needed for unattended installations
Requires: fuseiso
# Need an hypervisor
%ifarch %arm
Requires: qemu
%else
Requires: kvm
%endif
# Need libvirtd
Requires: libvirt
# Needed for unattended installations
Requires: mtools
# gnome-boxes requires org.freedesktop.Tracker.FTS schema to be available (bnc#785356).
Requires: tracker
Recommends: %{name}-lang
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%glib2_gsettings_schema_requires
%description
Boxes is an application to easily create, setup, access, and use: remote
machines, remote and local virtual machines, and, when technology permits,
applications on local virtual machines.
%package -n gnome-shell-search-provider-boxes
Summary: Boxes -- Search Provider for GNOME Shell
Group: System/GUI/GNOME
Requires: %{name} = %{version}
Requires: gnome-shell
Supplements: packageand(%{name}:gnome-shell)
%description -n gnome-shell-search-provider-boxes
Boxes is an application to easily create, setup, access, and use: remote
machines, remote and local virtual machines, and, when technology permits,
applications on local virtual machines.
This package contains a search provider to enable GNOME Shell to get
search results from Boxes.
%lang_package
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
%suse_update_desktop_file %{name}
%find_lang %{name}
%post
%glib2_gsettings_schema_post
%desktop_database_post
%icon_theme_cache_post
%postun
%glib2_gsettings_schema_postun
%desktop_database_postun
%icon_theme_cache_post
%files
%defattr(-,root,root)
%doc AUTHORS COPYING NEWS README
%{_bindir}/gnome-boxes
%{_datadir}/applications/gnome-boxes.desktop
%{_datadir}/glib-2.0/schemas/org.gnome.boxes.gschema.xml
%{_datadir}/gnome-boxes/
%{_datadir}/icons/hicolor/*/apps/gnome-boxes.*
%files -n gnome-shell-search-provider-boxes
%defattr(-,root,root)
%{_datadir}/dbus-1/services/org.gnome.Boxes.SearchProvider.service
%{_datadir}/gnome-shell/search-providers/gnome-boxes-search-provider.ini
%{_libexecdir}/gnome-boxes-search-provider
%files lang -f %{name}.lang
%changelog