SPECS: add python-qiling

Signed-off-by: Jvle <keke.oerv@isrc.iscas.ac.cn>
This commit is contained in:
Jvle
2026-03-01 17:11:08 +08:00
commit 75e17fffe7

46
python-qiling.spec Normal file
View File

@@ -0,0 +1,46 @@
# 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 qiling
Name: %{srcname}
Version: 1.4.6
Release: %autorelease
Summary: An advanced binary emulation framework
License: GPL-2.0-or-later
URL: https://www.unicorn-engine.org/
VCS: git:https://github.com/unicorn-engine/unicorn/
#!RemoteAsset
Source0: https://files.pythonhosted.org/packages/source/q/%{srcname}/%{srcname}-%{version}.tar.gz
BuildSystem: pyproject
BuildOption(install): -l %{srcname}
BuildRequires: pkgconfig(python3)
# Much of Unicorn follows from QEMU, which the Unicorn project forked in
# 2015. Since then, the Unicorn team has applied a number of bugfixes to
# the forked QEMU code along with the modifications necessary for Unicorn.
# QEMU 2.2.1 formed the basis of this work. The Unicorn project documents
# the relationship between Unicorn and QEMU at
# http://www.unicorn-engine.org/docs/beyond_qemu.html.
Provides: bundled(qemu) = 2.2.1
%description
A True Instrumentable Binary Emulation Framework
Provides: python3-%{srcname}
%python_provide python3-%{srcname}
%generate_buildrequires
%pyproject_buildrequires
%files -f %{pyproject_files}
%license COPYING
%doc README.md
%changelog
%{?autochangelog}