47 lines
1.5 KiB
RPMSpec
47 lines
1.5 KiB
RPMSpec
# 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}
|