AdwSteamGtk/AdwSteamGtk.spec
2024-01-31 13:16:27 +00:00

74 lines
2.1 KiB
RPMSpec

#
# spec file for package AdwSteamGtk
#
# 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/
#
Name: AdwSteamGtk
Version: 0.6.9
Release: 0
Summary: A simple Gtk wrapper for Adwaita-for-Steam
License: GPL-3.0-only
URL: https://github.com/Foldex/AdwSteamGtk
Source: %{url}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: meson
BuildRequires: patch
BuildRequires: update-desktop-files
BuildRequires: python3-packaging
BuildRequires: appstream-glib
BuildRequires: pkgconfig(gtk4)
BuildRequires: pkgconfig(blueprint-compiler)
BuildRequires: pkgconfig(libadwaita-1)
BuildRequires: python-gobject2-devel
BuildRequires: pkgconfig(libportal)
%description
A simple GTK wrapper that installs and updates the Adwaita for Steam skin.
%package lang
Summary: Language files for %{name}
%description lang
%summary.
%prep
%autosetup
%build
%meson
%meson_build
%install
%meson_install
%find_lang adwaita-steam-gtk
%files
%license LICENSE
%doc README.md
%{_bindir}/adwaita-steam-gtk
%dir %{_datadir}/adwaita-steam-gtk
%{_datadir}/adwaita-steam-gtk/*
%{_datadir}/appdata/io.github.Foldex.AdwSteamGtk.appdata.xml
%{_datadir}/applications/io.github.Foldex.AdwSteamGtk.desktop
%{_datadir}/glib-2.0/schemas/io.github.Foldex.AdwSteamGtk.gschema.xml
%{_datadir}/icons/hicolor/scalable/apps/io.github.Foldex.AdwSteamGtk.svg
%{_datadir}/icons/hicolor/symbolic/apps/io.github.Foldex.AdwSteamGtk-symbolic.svg
%files lang -f adwaita-steam-gtk.lang
%changelog