67 lines
1.4 KiB
RPMSpec
67 lines
1.4 KiB
RPMSpec
|
Name: qt6-doc
|
||
|
Summary: Qt6 - Complete documentation
|
||
|
Version: 6.6.1
|
||
|
Release: 2%{?dist}
|
||
|
BuildArch: noarch
|
||
|
|
||
|
License: GFDL
|
||
|
# The tarball for this docs are self generated through provided script on SOURCES generate-qt-doc.sh
|
||
|
Url: http://qt-project.org/
|
||
|
Source0: qt-doc-opensource-src-%{version}.tar.xz
|
||
|
Source1: generate-qt6-doc.sh
|
||
|
|
||
|
# optimize build, skip unecessary steps
|
||
|
%global debug_package %{nil}
|
||
|
%global __spec_install_post %{nil}
|
||
|
|
||
|
BuildRequires: qt6-rpm-macros
|
||
|
|
||
|
%description
|
||
|
Documentation for Qt6 API in QCH format
|
||
|
%{summary}.
|
||
|
|
||
|
%package html
|
||
|
Summary: Qt API Documentation in HTML format
|
||
|
|
||
|
%description html
|
||
|
%{summary}.
|
||
|
|
||
|
|
||
|
%package devel
|
||
|
Summary: tags files for crosslinking to Qt QCH files
|
||
|
|
||
|
%description devel
|
||
|
%{summary}.
|
||
|
|
||
|
|
||
|
%prep
|
||
|
# intentionally left blank
|
||
|
# though could be used to initially unpack (rex)
|
||
|
|
||
|
|
||
|
%build
|
||
|
# intentionally left blank
|
||
|
|
||
|
|
||
|
%install
|
||
|
mkdir -p %{buildroot}
|
||
|
tar xf %{SOURCE0} -C %{buildroot}
|
||
|
|
||
|
%files
|
||
|
%{_qt6_docdir}/*.qch
|
||
|
|
||
|
%files html
|
||
|
%{_qt6_docdir}/*/*
|
||
|
%exclude %{_qt6_docdir}/*/*.tags
|
||
|
|
||
|
%files devel
|
||
|
%{_qt6_docdir}/*/*.tags
|
||
|
|
||
|
%changelog
|
||
|
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 6.6.1-2
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||
|
|
||
|
* Tue Jan 02 2024 Marie Loise Nolden <loise@kde.org> - 6.6.1-1
|
||
|
- Initial import based on qt5-doc. Simplify and split into qt6-doc,
|
||
|
qt6-doc-devel (QCH) and qt6-doc-html (only HTML files)
|