65 lines
1.8 KiB
RPMSpec
65 lines
1.8 KiB
RPMSpec
# spec file for qt5-qtdoc
|
|
|
|
%global qt_module qtdoc
|
|
|
|
Name: qt5-%{qt_module}
|
|
Version: 5.15.10
|
|
Release: 1
|
|
Summary: Main Qt5 Reference Documentation
|
|
License: GFDL-1.3-only AND MIT AND X11 AND HPND AND libpng-2.0 AND BSD-3-Clause AND NCSA AND GPL-2.0-only AND BSL-1.0 AND GFDL-1.3-only AND IJG AND Apache-2.0 AND MPL-2.0 AND LGPL-2.0-only AND AFL-2.1 OR GPL-2.0-or-later
|
|
Url: http://www.qt.io
|
|
%global majmin %(echo %{version} | cut -d. -f1-2)
|
|
Source0: https://download.qt.io/official_releases/qt/%{majmin}/%{version}/submodules/%{qt_module}-everywhere-opensource-src-%{version}.tar.xz
|
|
|
|
BuildArch: noarch
|
|
%global _qt5_qmake %{_bindir}/qmake-qt5
|
|
|
|
BuildRequires: make
|
|
BuildRequires: qt5-qtbase-devel
|
|
BuildRequires: qt5-doctools
|
|
BuildRequires: qt5-qtbase-doc
|
|
|
|
Obsoletes: qt5-qtdoc-doc < 5.9.3
|
|
Provides: qt5-qtdoc-doc = %{version}-%{release}
|
|
|
|
%description
|
|
This package contains the main Qt Reference Documentation about
|
|
overviews, Qt topics, and examples not specific to any Qt module.
|
|
|
|
%prep
|
|
%setup -q -n %{qt_module}-everywhere-src-%{version}
|
|
|
|
|
|
%build
|
|
%{qmake_qt5}
|
|
%make_build docs
|
|
|
|
|
|
%install
|
|
make install_docs INSTALL_ROOT=%{buildroot}
|
|
|
|
|
|
%files
|
|
%doc LICENSE.FDL
|
|
%{_qt5_docdir}/qtdoc.qch
|
|
%{_qt5_docdir}/qtdoc/
|
|
%{_qt5_docdir}/qtcmake.qch
|
|
%{_qt5_docdir}/qtcmake/
|
|
|
|
|
|
%changelog
|
|
* Tue Aug 22 2023 peijiankang <peijiankang@kylinos.cn> - 5.15.10-1
|
|
- update to upstream version 5.15.10
|
|
|
|
* Tue May 10 2022 Ge Wang <wangge20@h-partner.com> - 5.15.2-2
|
|
- License compliance rectification
|
|
|
|
* Wed Oct 13 2021 peijiankang <peijiankang@kylinos.cn> - 5.15.2-1
|
|
- update to upstream version 5.15.2
|
|
|
|
* Mon Sep 14 2020 liuweibo <liuweibo10@huawei.com> - 5.11.1-4
|
|
- Fix Source0
|
|
|
|
* Tue Nov 26 2019 openEuler Buildteam <buildteam@openeuler.org> - 5.11.1-3
|
|
- refactor qt5-doc.spec
|