add python-pyxbe

This commit is contained in:
Keke Ming
2026-01-21 13:16:43 +08:00
commit d0a22cc445

40
python-pyxbe.spec Normal file
View File

@@ -0,0 +1,40 @@
# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS)
# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors
# SPDX-FileContributor: Jvle <keke.oerv@isrc.iscas.ac.cn>
#
# SPDX-License-Identifier: MulanPSL-2.0
%global srcname pyxbe
Name: python-%{srcname}
Version: 1.0.3
Release: %autorelease
Summary: Simple construction, analysis and modification of binary data
License: MIT
URL: https://github.com/mborgerson/pyxbe
#!RemoteAsset
Source0: https://files.pythonhosted.org/packages/source/p/%{srcname}/%{srcname}-%{version}.tar.gz
BuildArch: noarch
BuildSystem: pyproject
BuildOption(install): -l xbe
BuildRequires: pyproject-rpm-macros
BuildRequires: python3-devel
Provides: python3-%{srcname}
%python_provide python3-%{srcname}
%description
Python 3 library to read and write XBE files, the executable file format
for the original Xbox game console.
%generate_buildrequires
%pyproject_buildrequires
%files -f %{pyproject_files}
%license LICENSE.txt
%doc README.md
%changelog
%{?autochangelog}