%global framework kdoctools Name: kf6-%{framework} Version: 5.247.0 Release: 1%{?dist} Summary: KDE Frameworks 6 Tier 2 addon for generating documentation License: BSD-3-Clause AND CC0-1.0 AND GPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-or-later AND LGPL-3.0-only AND LicenseRef-KDE-Accepted-LGPL URL: https://invent.kde.org/frameworks/%{framework} Source0: http://download.kde.org/%{stable_kf6}/frameworks/%{majmin_ver_kf6}/%{framework}-%{version}.tar.xz BuildRequires: docbook-dtds BuildRequires: docbook-style-xsl BuildRequires: cmake BuildRequires: kf6-rpm-macros BuildRequires: extra-cmake-modules >= %{version} BuildRequires: gcc-c++ BuildRequires: cmake(KF6Archive) BuildRequires: cmake(KF6I18n) BuildRequires: libxml2-devel BuildRequires: libxslt-devel BuildRequires: perl-generators BuildRequires: perl(Any::URI::Escape) BuildRequires: qt6-qtbase-devel Requires: docbook-dtds Requires: docbook-style-xsl %description Provides tools to generate documentation in various format from DocBook files. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} Provides: kf6-kdoctools-static = %{version}-%{release} Requires: qt6-qtbase-devel Requires: perl(Any::URI::Escape) %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %autosetup -n %{framework}-%{version} -p1 %build %cmake_kf6 %cmake_build %install %cmake_install %find_lang %{name} --all-name --with-man --with-html %files -f %{name}.lang %doc README.md %license LICENSES/*.txt %{_kf6_libdir}/libKF6DocTools.so.5* %{_kf6_libdir}/libKF6DocTools.so.6 %{_kf6_bindir}/checkXML6 %{_kf6_bindir}/meinproc6 %{_kf6_mandir}/man1/*.1* %{_kf6_mandir}/man7/*.7* %{_kf6_datadir}/kf6/kdoctools/ %files devel %{_kf6_includedir}/KDocTools/ %{_kf6_libdir}/libKF6DocTools.so %{_kf6_libdir}/cmake/KF6DocTools/ %changelog * Wed Dec 20 2023 Marc Deop i Argemí - 5.247.0-1 - 5.247.0 * Sat Dec 02 2023 Justin Zobel - 5.246.0-1 - Update to 5.246.0 * Thu Nov 09 2023 Steve Cossette - 5.245.0-1 - 5.245.0 * Tue Oct 03 2023 Steve Cossette - 5.240.0^20231005.103639.d33466d-1 - Initial Release