%global framework kapidox Name: kf6-%{framework} Version: 5.247.0 Release: 1%{?dist} Summary: KDE Frameworks 6 Tier 4 scripts and data for building API documentation License: BSD-2-Clause AND CC0-1.0 AND LGPL-3.0-or-later URL: https://invent.kde.org/frameworks/%{framework} Source0: https://download.kde.org/%{stable_kf6}/frameworks/%{majmin_ver_kf6}/%{framework}-%{version}.tar.xz ## downstream patches ## upstream patches # make sure BuildArch comes *after* patches, to ensure %%autosetup works right BuildArch: noarch BuildRequires: kf6-rpm-macros BuildRequires: python3-devel Requires: kf6-filesystem # Required for the import test BuildRequires: python3dist(gv) %global __python %{__python3} %global python_sitelib %{python3_sitelib} %description Scripts and data for building API documentation (dox) in a standard format and style. %prep %autosetup -n %{framework}-%{version} -p1 %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files kapidox %check # Test suite don't run, so we'll do a simple import test. %pyproject_check_import %files -f %{pyproject_files} %license LICENSES/*.txt %{_kf6_bindir}/depdiagram_generate_all %{_kf6_bindir}/kapidox-depdiagram-generate %{_kf6_bindir}/kapidox-depdiagram-prepare %{_kf6_bindir}/kapidox-generate %changelog * Thu Jan 04 2024 Steve Cossette - 5.247.0-1 - 5.247.0 for KF6 API