File pantheon-tweaks.spec of Package pantheon-tweaks

#
# spec file for package pantheon-tweaks
#
# 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         appid io.github.pantheon_tweaks.pantheon-tweaks
Name:           pantheon-tweaks
Version:        2.1.0
Release:        0
Summary:        A system customization app for Pantheon
License:        GPL-3.0-or-later
URL:            https://github.com/pantheon-tweaks/pantheon-tweaks
Source0:        %{url}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires:  cmake
BuildRequires:  hicolor-icon-theme
BuildRequires:  meson
BuildRequires:  pkgconfig
BuildRequires:  sassc
BuildRequires:  update-desktop-files
BuildRequires:  vala
BuildRequires:  pkgconfig(gee-0.8)
BuildRequires:  pkgconfig(glib-2.0)
BuildRequires:  pkgconfig(granite-7)
BuildRequires:  pkgconfig(gtk4)
BuildRequires:  pkgconfig(pango)
BuildRequires:  pkgconfig(switchboard-3) >= 8.0.0

%description
A system customization app for the Pantheon Desktop that lets you
easily and safely customise your desktop's appearance.

%lang_package

%prep
%autosetup

%build
%meson
%meson_build
%suse_update_desktop_file %{appid}

%install
%meson_install

%files
%license COPYING
%doc README.md AUTHORS CONTRIBUTORS
%{_bindir}/%{name}
%{_datadir}/applications/%{appid}.desktop
%{_datadir}/icons/hicolor/*/apps/%{appid}.png
%{_datadir}/metainfo/%{appid}.metainfo.xml
%{_datadir}/glib-2.0/schemas/pantheon-tweaks.gschema.xml

%files lang
%{_datadir}/locale/*

%changelog
openSUSE Build Service is sponsored by