qt5-qtdoc/qt5-qtdoc.spec

59 lines
1.4 KiB
RPMSpec
Raw Normal View History

2019-12-14 21:26:32 +08:00
# spec file for qt5-qtdoc
%global qt_module qtdoc
2021-10-14 11:11:05 +08:00
Name: qt5-%{qt_module}
Version: 5.15.2
Release: 1
Summary: Main Qt5 Reference Documentation
License: GFDL
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-src-%{version}.tar.xz
BuildArch: noarch
2019-12-14 21:26:32 +08:00
%global _qt5_qmake %{_bindir}/qmake-qt5
2021-10-14 11:11:05 +08:00
BuildRequires: make
2019-12-14 21:26:32 +08:00
BuildRequires: qt5-qtbase-devel
BuildRequires: qt5-doctools
2021-10-14 11:11:05 +08:00
BuildRequires: qt5-qtbase-doc
2019-12-14 21:26:32 +08:00
2021-10-14 11:11:05 +08:00
Obsoletes: qt5-qtdoc-doc < 5.9.3
Provides: qt5-qtdoc-doc = %{version}-%{release}
2019-12-14 21:26:32 +08:00
%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/
2021-10-14 11:11:05 +08:00
%{_qt5_docdir}/qtcmake.qch
%{_qt5_docdir}/qtcmake/
2019-12-14 21:26:32 +08:00
%changelog
2021-10-14 11:11:05 +08:00
* Wed Oct 13 2021 peijiankang <peijiankang@kylinos.cn> - 5.15.2-1
- update to upstream version 5.15.2
2020-09-14 11:08:53 +08:00
* Mon Sep 14 2020 liuweibo <liuweibo10@huawei.com> - 5.11.1-4
- Fix Source0
2019-12-14 21:26:32 +08:00
* Tue Nov 26 2019 openEuler Buildteam <buildteam@openeuler.org> - 5.11.1-3
- refactor qt5-doc.spec