2 %define qtbase_ver %{version}
3 %define qttools_ver %{version}
4 Summary: The Qt5 qtdoc documentation module
5 Summary(pl.UTF-8): Moduł dokumentacji Qt5 qtdoc
11 Source0: https://download.qt.io/official_releases/qt/5.15/%{version}/submodules/%{orgname}-everywhere-opensource-src-%{version}.tar.xz
12 # Source0-md5: f30f0264c468a56daa06ac10b2fb2f02
13 URL: https://www.qt.io/
14 BuildRequires: qt5-assistant >= %{qttools_ver}
15 BuildRequires: qt5-build >= %{qtbase_ver}
16 BuildRequires: qt5-qmake >= %{qtbase_ver}
17 BuildRequires: rpmbuild(macros) >= 2.016
18 BuildRequires: tar >= 1:1.22
20 Requires: qt5-doc-common >= %{qtbase_ver}
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 Qt5 qtdoc package contains the main Qt Reference Documentation, which
26 includes overviews, Qt topics, and examples not specific to any Qt
29 %description -l pl.UTF-8
30 Pakiet Qt5 qtdoc zawiera podstawową część dokumentacji referencyjnej
31 Qt, obejmującą artykuły przeglądowe, tematy związane z Qt oraz
32 przykłady niespecyficzne dla żadnego modułu Qt.
35 Summary: The Qt5 qtdoc documentation module - QCH format
36 Summary(pl.UTF-8): Moduł dokumentacji Qt5 qtdoc - w formacie QCH
38 Requires: qt5-doc-common >= %{qtbase_ver}
41 The Qt5 qtdoc documentation module - QCH format.
43 %description qch -l pl.UTF-8
44 Moduł dokumentacji Qt5 qtdoc - w formacie QCH.
47 Summary: The Qt5 qtdoc documentation module - demos
48 Summary(pl.UTF-8): Moduł dokumentacji Qt5 qtdoc - programy demonstracyjne
49 License: BSD or commercial
53 The Qt5 qtdoc documentation module - demos.
55 %description demos -l pl.UTF-8
56 Moduł dokumentacji Qt5 qtdoc - programy demonstracyjne.
59 %setup -q -n %{orgname}-everywhere-src-%{version}
67 rm -rf $RPM_BUILD_ROOT
70 INSTALL_ROOT=$RPM_BUILD_ROOT
72 %{__make} install_docs \
73 INSTALL_ROOT=$RPM_BUILD_ROOT
76 rm -rf $RPM_BUILD_ROOT
79 %defattr(644,root,root,755)
80 %doc README dist/changes-*
81 %{_docdir}/qt5-doc/qtcmake
82 %{_docdir}/qt5-doc/qtdoc
85 %defattr(644,root,root,755)
86 %{_docdir}/qt5-doc/qtcmake.qch
87 %{_docdir}/qt5-doc/qtdoc.qch
90 %defattr(644,root,root,755)
91 # XXX: dir shared with qt5-qtbase-examples
92 %dir %{_examplesdir}/qt5
93 %{_examplesdir}/qt5/demos