81 lines
		
	
	
		
			2.7 KiB
		
	
	
	
		
			RPMSpec
		
	
	
	
	
	
			
		
		
	
	
			81 lines
		
	
	
		
			2.7 KiB
		
	
	
	
		
			RPMSpec
		
	
	
	
	
	
%global pypi_name portprotonqt
 | 
						|
%global pypi_version 0.1.1
 | 
						|
%global oname PortProtonQt
 | 
						|
%global build_timestamp %(date +"%Y%m%d")
 | 
						|
%global _python_no_extras_requires 1
 | 
						|
 | 
						|
%global rel_build 1.git.%{build_timestamp}%{?dist}
 | 
						|
 | 
						|
Name:           python-%{pypi_name}-git
 | 
						|
Version:        %{pypi_version}
 | 
						|
Release:        %{rel_build}
 | 
						|
Summary:        Modern GUI for managing and launching games from PortProton, Steam, and Epic Games Store (development build)
 | 
						|
 | 
						|
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}-git
 | 
						|
Summary:        %{summary}
 | 
						|
%{?python_provide:%python_provide python3-%{pypi_name}}
 | 
						|
Requires:       python3-babel
 | 
						|
Requires:       python3-evdev
 | 
						|
Requires:       python3-icoextract
 | 
						|
Requires:       python3-numpy
 | 
						|
Requires:       python3-websocket-client
 | 
						|
Requires:       python3-orjson
 | 
						|
Requires:       python3-psutil
 | 
						|
Requires:       python3-pyside6
 | 
						|
Requires:       python3-pyudev
 | 
						|
Requires:       python3-requests
 | 
						|
Requires:       python3-tqdm
 | 
						|
Requires:       python3-vdf
 | 
						|
Requires:       python3-pefile
 | 
						|
Requires:       python3-pillow
 | 
						|
Requires:       perl-Image-ExifTool
 | 
						|
Requires:       xdg-utils
 | 
						|
Requires:       python3-beautifulsoup4
 | 
						|
Requires:       cabextract
 | 
						|
Requires:       gzip
 | 
						|
Requires:       unzip
 | 
						|
Requires:       curl
 | 
						|
Requires:       unrar
 | 
						|
 | 
						|
%description -n python3-%{pypi_name}-git
 | 
						|
This application provides a sleek, intuitive graphical interface for managing and launching games from PortProton, Steam, and Epic Games Store. It consolidates your game libraries into a single, user-friendly hub for seamless navigation and organization. Its lightweight structure and cross-platform support deliver a cohesive gaming experience, eliminating the need for multiple launchers. Unique PortProton integration enhances Linux gaming, enabling effortless play of Windows-based titles with minimal setup.
 | 
						|
 | 
						|
%{?python_disable_dependency_generator}
 | 
						|
 | 
						|
%prep
 | 
						|
git clone https://git.linux-gaming.ru/Boria138/PortProtonQt.git
 | 
						|
 | 
						|
%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}-git -f %{pyproject_files}
 | 
						|
%{_bindir}/%{pypi_name}
 | 
						|
%{_datadir}/icons/hicolor/scalable/apps/ru.linux_gaming.PortProtonQt.svg
 | 
						|
%{_metainfodir}/ru.linux_gaming.PortProtonQt.metainfo.xml
 | 
						|
%{_datadir}/applications/ru.linux_gaming.PortProtonQt.desktop
 | 
						|
%{bash_completions_dir}/portprotonqt
 | 
						|
 | 
						|
%changelog
 |