ProtonPlus/ProtonPlus.spec

67 lines
2.2 KiB
RPMSpec
Raw Normal View History

#
# spec file for package ProtonPlus
#
# 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/
#
Name: ProtonPlus
Version: 0.4.4
Release: 0
Summary: A simple Wine and Proton-based compatibility tools manager for GNOME
License: GPL-3.0-only
URL: https://github.com/vysp3r/ProtonPlus
Source: %{name}-%{version}.tar
BuildRequires: meson
BuildRequires: cmake
BuildRequires: ninja
BuildRequires: git
BuildRequires: vala
BuildRequires: fdupes
BuildRequires: pkgconfig(gtk4)
BuildRequires: pkgconfig(libadwaita-1)
BuildRequires: desktop-file-utils
BuildRequires: pkgconfig(libarchive)
BuildRequires: libgee-devel
BuildRequires: libsoup-devel
BuildRequires: json-glib-devel
%description
ProtonPlus is a simple Proton version manager that make it easy to install and manage Proton versions. It works with Steam, Lutris, Heroic Games Launcher and Bottles. It was made in Vala with GTK4 and Libadwaita using GNOME Builder. This project is still in its early phase, so please keep that in mind before using it.
%prep
%autosetup
%build
%meson --prefix=/usr
%meson_build
%install
%meson_install
%find_lang com.vysp3r.ProtonPlus
%fdupes %{buildroot}
%files -f com.vysp3r.ProtonPlus.lang
%{_bindir}/com.vysp3r.ProtonPlus
%{_datadir}/appdata/com.vysp3r.ProtonPlus.appdata.xml
%{_datadir}/applications/com.vysp3r.ProtonPlus.desktop
%{_datadir}/glib-2.0/schemas/com.vysp3r.ProtonPlus.gschema.xml
%{_datadir}/icons/hicolor/scalable/apps/com.vysp3r.ProtonPlus.svg
%{_datadir}/icons/hicolor/symbolic/apps/com.vysp3r.ProtonPlus-symbolic.svg
%changelog