File mate-wayland-session.spec of Package mate-wayland-session

#
# spec file for package mate-wayland-session
#
# Copyright (c) 2024 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 _version 1.28

Name:           mate-wayland-session
Version:        @SERVICE
Release:        0
Summary:        Wayland session using wayfire for the MATE desktop
License:        GPL-2.0-or-later
Group:          System/GUI/Other
URL:            https://mate-desktop.org/
Source:         https://github.com/mate-desktop/mate-wayland-session/archive/v%{version}/%{name}-%{version}.tar.gz
Patch0:         install-translations.patch
BuildRequires:  gettext-tools
BuildRequires:  meson
BuildRequires:  pkgconfig(glib-2.0)
BuildArch:      noarch
Recommends:     %{name}-lang

%description
Wayland session using wayfire for the MATE desktop.

%lang_package

%prep
%autosetup -p1

%build
%meson
%meson_build

%install
%meson_install

%find_lang %{name}

%check

%files
%doc README.md NEWS
%license LICENSE
#%dir %{_datadir}/doc/firedecor
#%doc %{_datadir}/doc/firedecor/firedecor.config
%{_bindir}/mate-wayland*
#%{_datadir}/firedecor
%{_datadir}/glib-2.0/schemas/10_mate-wayland.gschema.override
%dir %{_datadir}/wayland-sessions
%{_datadir}/wayland-sessions/MATE.desktop

%files lang -f %{name}.lang

%changelog

openSUSE Build Service is sponsored by