1 # TODO: qtdemo? (LGPL v2.1+exception/GPL v3 licensed)
4 %define qtbase_ver %{version}
5 %define qttools_ver %{version}
6 Summary: The Qt5 qtdoc documentation module
7 Summary(pl.UTF-8): Moduł dokumentacji Qt5 qtdoc
13 Source0: http://download.qt.io/official_releases/qt/5.14/%{version}/submodules/%{orgname}-everywhere-src-%{version}.tar.xz
14 # Source0-md5: 8c69a29dd60235cca73096cf8355de0c
15 URL: http://www.qt.io/
16 BuildRequires: qt5-assistant >= %{qttools_ver}
17 BuildRequires: qt5-build >= %{qtbase_ver}
18 BuildRequires: qt5-qmake >= %{qtbase_ver}
19 BuildRequires: rpmbuild(macros) >= 1.654
20 BuildRequires: tar >= 1:1.22
22 Requires: qt5-doc-common >= %{qtbase_ver}
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 Qt5 qtdoc package contains the main Qt Reference Documentation, which
28 includes overviews, Qt topics, and examples not specific to any Qt
31 %description -l pl.UTF-8
32 Pakiet Qt5 qtdoc zawiera podstawową część dokumentacji referencyjnej
33 Qt, obejmującą artykuły przeglądowe, tematy związane z Qt oraz
34 przykłady niespecyficzne dla żadnego modułu Qt.
37 Summary: The Qt5 qtdoc documentation module - QCH format
38 Summary(pl.UTF-8): Moduł dokumentacji Qt5 qtdoc - w formacie QCH
40 Requires: qt5-doc-common >= %{qtbase_ver}
43 The Qt5 qtdoc documentation module - QCH format.
45 %description qch -l pl.UTF-8
46 Moduł dokumentacji Qt5 qtdoc - w formacie QCH.
49 %setup -q -n %{orgname}-everywhere-src-%{version}
57 rm -rf $RPM_BUILD_ROOT
59 INSTALL_ROOT=$RPM_BUILD_ROOT
61 %{__make} install_docs \
62 INSTALL_ROOT=$RPM_BUILD_ROOT
65 rm -rf $RPM_BUILD_ROOT
68 %defattr(644,root,root,755)
69 %doc README dist/changes-*
70 %{_docdir}/qt5-doc/qtcmake
71 %{_docdir}/qt5-doc/qtdoc
74 %defattr(644,root,root,755)
75 %{_docdir}/qt5-doc/qtcmake.qch
76 %{_docdir}/qt5-doc/qtdoc.qch