forked from Boria138/PortProtonQt
67 lines
1.8 KiB
RPMSpec
67 lines
1.8 KiB
RPMSpec
%global pypi_name portprotonqt
|
|
%global pypi_version 0.1.1
|
|
%global oname PortProtonQt
|
|
|
|
Name: python-%{pypi_name}
|
|
Version: %{pypi_version}
|
|
Release: 1%{?dist}
|
|
Summary: Modern GUI for managing and launching games from PortProton, Steam, and Epic Games Store
|
|
|
|
License: GPL-3.0
|
|
URL: https://git.linux-gaming.ru/Boria138/PortProtonQt
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: python3-devel
|
|
BuildRequires: python3-wheel
|
|
BuildRequires: python3-pip
|
|
BuildRequires: python3-build
|
|
BuildRequires: pyproject-rpm-macros
|
|
BuildRequires: python3dist(setuptools)
|
|
BuildRequires: git
|
|
|
|
%description
|
|
%{summary}
|
|
|
|
%package -n python3-%{pypi_name}
|
|
Summary: %{summary}
|
|
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
Requires: python3dist(babel)
|
|
Requires: python3dist(evdev)
|
|
Requires: python3dist(icoextract)
|
|
Requires: python3dist(numpy)
|
|
Requires: python3dist(orjson)
|
|
Requires: python3dist(psutil)
|
|
Requires: python3dist(pyside6)
|
|
Requires: python3dist(pyudev)
|
|
Requires: python3dist(requests)
|
|
Requires: python3dist(tqdm)
|
|
Requires: python3dist(vdf)
|
|
Requires: python3dist(pefile)
|
|
Requires: python3dist(pillow)
|
|
Requires: perl-Image-ExifTool
|
|
Requires: xdg-utils
|
|
|
|
%description -n python3-%{pypi_name}
|
|
PortProtonQt is a modern, user-friendly graphical interface designed to streamline the management and launching of games across multiple platforms, including PortProton, Steam, and Epic Games Store.
|
|
|
|
%prep
|
|
git clone https://git.linux-gaming.ru/Boria138/PortProtonQt
|
|
cd %{oname}
|
|
git checkout v%{pypi_version}
|
|
|
|
%build
|
|
cd %{oname}
|
|
%pyproject_wheel
|
|
|
|
%install
|
|
cd %{oname}
|
|
%pyproject_install
|
|
%pyproject_save_files %{pypi_name}
|
|
cp -r build-aux/share %{buildroot}/usr/
|
|
|
|
%files -n python3-%{pypi_name} -f %{pyproject_files}
|
|
%{_bindir}/%{pypi_name}
|
|
%{_datadir}/*
|
|
|
|
%changelog
|