## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %bcond_without tests %global pypi_name steam Name: python-%{pypi_name} Version: 1.6.1 Release: %autorelease Summary: Python package for interacting with Steam. Fork of ValvePython/steam BuildArch: noarch License: MIT URL: https://github.com/solsticegamestudios/steam # Tests works only woth GitHub sources Source: %{url}/archive/v%{version}/%{pypi_name}-%{version}.tar.gz BuildRequires: python3-devel %if %{with tests} BuildRequires: python3dist(gevent-eventemitter) >= 2.1 BuildRequires: python3dist(gevent) >= 1.3.0 BuildRequires: python3dist(mock) BuildRequires: python3dist(protobuf) >= 3.0.0 BuildRequires: python3dist(pytest-cov) BuildRequires: python3dist(pytest) BuildRequires: python3dist(vcrpy) %endif # For client #Requires: python3dist(gevent-eventemitter) >= 2.1 #Requires: python3dist(gevent) >= 1.3.0 #Requires: python3dist(protobuf) >= 3.0.0 %global _description %{expand: A python module for interacting with various parts of Steam. A fork of ValvePython/steam, which has apparently been abandoned.} %description %{_description} %package -n python3-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python3-%{pypi_name}} %description -n python3-%{pypi_name} %{_description} %prep %autosetup -n %{pypi_name}-%{version} sed -i 's/urllib3<2/urllib3/' \ setup.py %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l %{pypi_name} %if %{with tests} %check %pyproject_check_import %dnl %pytest %endif %files -n python3-%{pypi_name} -f %{pyproject_files} %license LICENSE %doc README.rst CHANGES.md %changelog ## START: Generated by rpmautospec * Fri Jan 23 2026 Artem Polishchuk - 1.6.1-2 - Enable basic tests * Fri Jan 23 2026 Artem Polishchuk - 1.6.1-1 - 1.6.1 - Port on new Python packaging paradigm - Switch to new fork https://github.com/solsticegamestudios/steam * Sun May 08 2022 Artem Polishchuk - 1.2.1-1 - chore(update): 1.2.1 * Fri Jan 21 2022 Fedora Release Engineering - 1.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 1.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jun 23 2021 Artem Polishchuk - 1.2.0-1 - build(update): 1.2.0 * Fri Jun 04 2021 Python Maint - 1.1.1-2 - Rebuilt for Python 3.10 * Mon Jan 25 2021 Artem Polishchuk - 1.1.1-1 - build: Update to 1.1.1 and polish to conform Fedora guidelines * Wed Sep 16 2020 gasinvein - 1.0.2-0.1 - Initial package ## END: Generated by rpmautospec