Name: kde-qdoc-common Version: 1.0.0 Release: 1%{?dist} Summary: Common files for KDE's API documentation (using QDoc) BuildArch: noarch License: GFDL-1.3-no-invariants-only AND BSD-3-Clause AND CC0-1.0 URL: https://invent.kde.org/sdk/kde-qdoc-common Source0: https://download.kde.org/stable/%{name}/%{name}-%{version}.tar.xz Source1: https://download.kde.org/stable/%{name}/%{name}-%{version}.tar.xz.sig BuildRequires: qt6-rpm-macros %description This package contains common files for KDE's API documentation. Individual projects include it in their documentation builds. The files in the 'global' folder are forked from Qt. We can modify them at will, however we should periodically sync them with upstream to incorporate improvements from there. %prep %autosetup -p1 %build # Intentionally left blank %install mkdir -p %{buildroot}%{_qt6_docdir}/%{name} cp -ar global %{buildroot}%{_qt6_docdir}/%{name}/global/ cp classes.qdoc %{buildroot}%{_qt6_docdir}/%{name}/ cp CMakeLists.txt %{buildroot}%{_qt6_docdir}/%{name}/ cp empty.cpp %{buildroot}%{_qt6_docdir}/%{name}/ cp index.qdoc %{buildroot}%{_qt6_docdir}/%{name}/ cp kde.qdocconf %{buildroot}%{_qt6_docdir}/%{name}/ # Empty file, gives an error on review. Also unused in Fedora anyway. rm -f LICENSES/LicenseRef-Qt-Commercial.txt %files %license LICENSES/* %doc README.md %{_qt6_docdir}/kde-qdoc-common %changelog * Sat Jun 7 2025 Steve Cossette - 1.0.0-1 - Initial release