File refine.spec of Package refine

#
# spec file for package refine
#
# Copyright (c) 2025 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/
#


Name:           refine
Version:        0.5.8
Release:        0
Summary:        Tweak various aspects of GNOME
License:        GPL-3.0+
URL:            https://gitlab.gnome.org/TheEvilSkeleton/Refine
Source:         https://gitlab.gnome.org/TheEvilSkeleton/Refine/-/archive/%{version}/Refine-%{version}.tar.gz
Patch:          fix.patch
BuildRequires:  meson
BuildRequires:  pkgconfig(blueprint-compiler)
BuildRequires:  pkgconfig(glib-2.0)
BuildRequires:  pkgconfig(gtk4)
BuildRequires:  pkgconfig(libadwaita-1)
BuildRequires:  pkgconfig(gobject-introspection-1.0)
BuildRequires:  gtk4-tools
BuildRequires:  desktop-file-utils
BuildArch:      noarch

%description
Tweak various aspects of GNOME.

%lang_package

%prep
%autosetup -n Refine-%{version} -p1

%build
%meson
%meson_build

%install
%meson_install
%find_lang %{name}

%check
%meson_test

%files
%license COPYING
%doc README.md
%{_bindir}/Refine
%{_datadir}/applications/*.desktop
%{_datadir}/dbus-1/services/*.service
%{_datadir}/glib-2.0/schemas/*.gschema.xml
%{_datadir}/icons/hicolor/*/*/*.svg
%{_datadir}/metainfo/*.metainfo.xml
%{_datadir}/Refine/

%files lang -f %{name}.lang

%changelog

openSUSE Build Service is sponsored by