File snowglobe.spec of Package snowglobe

#
# spec file for package snowglobe
#
# Copyright (c) 2023 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#


%define lname   com.belmoussaoui.snowglobe
Name:           snowglobe
Version:        0.1.2
Release:        0
Summary:        Virtualization viewer using QEMU over DBus
License:        GPL-3.0-or-later
URL:            https://gitlab.gnome.org/bilelmoussaoui/snowglobe
Source:         %{url}/-/archive/%{version}/%{name}-/%{name}-%{version}.tar.bz2
BuildRequires:  desktop-file-utils
BuildRequires:  meson
BuildRequires:  pkgconfig(gtk4)
BuildRequires:  pkgconfig(libmks-1) 

%description
A virtualization viewer for QEMU. The application communicates with the running QEMU
instance over DBus. It supports keyboard, mouse and multi-touch gestures.

%prep
%autosetup

%build
%meson
%meson_build

%install
%meson_install

%files
%license LICENSE.md
%doc README*
%{_bindir}/%{name}
%{_datadir}/applications/%{lname}.desktop
%{_datadir}/icons/hicolor/*/*/%{lname}*svg
%{_datadir}/metainfo/%{lname}.metainfo.xml

%changelog

openSUSE Build Service is sponsored by