Sisyphus repositório
Última atualização: 22 setembro 2019 | SRPMs: 17472 | Visitas: 15140425
en ru br
ALT Linux repositórios
S:3.32.2-alt1

Group :: Emuladores
RPM: gnome-boxes

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

# since 3.29.x depends on modules in %_libdir/%name
%set_verify_elf_method unresolved=relaxed

%def_disable snapshot
%define _libexecdir %_prefix/libexec
%define ver_major 3.32
%define xdg_name org.gnome.Boxes
%def_disable ovirt
%def_disable installed_tests

Name: gnome-boxes
Version: %ver_major.1
Release: alt1

Summary: A simple GNOME 3 application to access remote or virtual systems
Packager: GNOME Maintainers Team <gnome at packages.altlinux.org>
Group: Emulators
License: LGPLv3+
Url: https://wiki.gnome.org/Apps/Boxes

%if_disabled snapshot
Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version.tar.xz
%else
Source: %name-%version.tar
%endif

%define govirt_ver 0.3.4
%define glib_ver 2.50.0
%define gtk_ver 3.22.20
%define gtk_vnc_ver 0.4.4
%define libvirt_glib_ver 2.0.0
%define libxml2_ver 2.7.8
%define libusb_ver 1.0.9
%define spice_gtk_ver 0.32
%define gudev_ver 165
%define osinfo_ver 0.2.12
%define tracker_ver 0.13.1
%define uuid_ver 1.41.3
%define libsoup_ver 2.38
%define libarchive_ver 3.0.0

Requires: gnome-keyring

BuildRequires(pre): meson
BuildRequires: yelp-tools
BuildRequires: gobject-introspection-devel >= 0.9.6
BuildRequires: libvala-devel >= 0.28.0.16
BuildRequires: vala-tools
BuildRequires: glib2-devel >= %glib_ver libgio-devel >= %glib_ver
BuildRequires: libgtk+3-devel >= %gtk_ver libgtk+3-gir-devel
BuildRequires: libgtk3vnc-devel >= %gtk_vnc_ver
BuildRequires: libsecret-devel libsecret-gir-devel
BuildRequires: libvirt-gobject-devel >= %libvirt_glib_ver
BuildRequires: libvirt-gconfig-devel >= %libvirt_glib_ver
BuildRequires: libxml2-devel >= %libxml2_ver
BuildRequires: libusb-devel >= %libusb_ver
BuildRequires: libspice-gtk3-devel >= %spice_gtk_ver
BuildRequires: libgudev-devel >= %gudev_ver
BuildRequires: libosinfo-devel >= %osinfo_ver
BuildRequires: tracker-devel >= %tracker_ver
BuildRequires: libuuid-devel >= %uuid_ver
BuildRequires: libsoup-devel >= %libsoup_ver
BuildRequires: libarchive-devel >= %libarchive_ver
%{?_enable_ovirt:BuildRequires: pkgconfig(govirt-1.0) >= %govirt_ver}
BuildRequires: libwebkit2gtk-devel
BuildRequires: libfreerdp-devel
BuildRequires: libvte3-devel

# Need libvirtd and an hypervisor to do anything useful

Requires: libvirt-daemon
Requires: qemu-kvm

# Needed for unattended installations

Requires: fuseiso
Requires: mtools

# gnome-boxes uses a dark theme

Requires: gnome-icon-theme

%description
gnome-boxes lets you easily create, setup, access, and use:
 * remote machines
 * remote virtual machines
 * local virtual machines
 * When technology permits, set up access for applications on
   local virtual machines

%package tests
Summary: Tests for the Boxes
Group: Development/Other
BuildArch: noarch
Requires: %name = %version-%release

%description tests
This package provides tests programs that can be used to verify
the functionality of the Boxes.


%prep
%setup

%build
%meson \
%{?_disable_ovirt:-Dovirt=false} \
%{?_enable_installed_tests:-Dinstalled_tests=true}
%meson_build

%install
%meson_install
%find_lang %name --with-gnome

%files -f %name.lang
%doc AUTHORS README* NEWS TODO
%_bindir/%name
%_libdir/%name/
%_datadir/%name
%_desktopdir/%xdg_name.desktop
%_datadir/glib-2.0/schemas/org.gnome.boxes.gschema.xml
%_iconsdir/hicolor/*/apps/%{xdg_name}*
%_libexecdir/gnome-boxes-search-provider
%_datadir/dbus-1/services/*.service
%_datadir/gnome-shell/search-providers/gnome-boxes-search-provider.ini
%_datadir/metainfo/*.xml

%if_enabled installed_tests
%files tests
%_libexecdir/%name/installed-tests/
%_datadir/installed-tests/%name/
%endif

%exclude %_includedir/%name/

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009