40 lines
1.1 KiB
RPMSpec
40 lines
1.1 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 fx
|
|
%global pypi_name python_fx
|
|
|
|
Name: python-%{srcname}
|
|
Version: 0.4.0
|
|
Release: %autorelease
|
|
Summary: A python-native JSON Viewer TUI.
|
|
License: MIT
|
|
URL: https://github.com/cielong/pyfx
|
|
#!RemoteAsset: sha256:e5d8e7c405f71475b652528a21fce8b82472802bd8e3a642b05be5518f3e2c8e
|
|
Source0: https://files.pythonhosted.org/packages/source/p/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
|
|
BuildArch: noarch
|
|
BuildSystem: pyproject
|
|
|
|
BuildOption(install): -l %{srcname}
|
|
|
|
BuildRequires: pyproject-rpm-macros
|
|
BuildRequires: pkgconfig(python3)
|
|
|
|
Provides: python3-%{srcname} = %{version}-%{release}
|
|
%python_provide python3-%{srcname}
|
|
|
|
%description
|
|
A python-native JSON Viewer TUI
|
|
|
|
%generate_buildrequires
|
|
%pyproject_buildrequires
|
|
|
|
%files -f %{pyproject_files}
|
|
%license LICENSE.txt
|
|
%doc README.md
|
|
|
|
%changelog
|
|
%{?autochangelog} |