]>
Commit | Line | Data |
---|---|---|
715c0fad | 1 | %define orgname qtdoc |
7dec3749 JB |
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 | |
715c0fad | 6 | Name: qt5-%{orgname} |
e4e0102f | 7 | Version: 5.15.13 |
0b3bead0 | 8 | Release: 1 |
c9139340 | 9 | License: FDL v1.3 |
7dec3749 | 10 | Group: Documentation |
9855132a | 11 | Source0: https://download.qt.io/official_releases/qt/5.15/%{version}/submodules/%{orgname}-everywhere-opensource-src-%{version}.tar.xz |
e4e0102f | 12 | # Source0-md5: f30f0264c468a56daa06ac10b2fb2f02 |
25dd0554 | 13 | URL: https://www.qt.io/ |
7dec3749 | 14 | BuildRequires: qt5-assistant >= %{qttools_ver} |
7dec3749 JB |
15 | BuildRequires: qt5-build >= %{qtbase_ver} |
16 | BuildRequires: qt5-qmake >= %{qtbase_ver} | |
bd563777 | 17 | BuildRequires: rpmbuild(macros) >= 2.016 |
39c15829 ER |
18 | BuildRequires: tar >= 1:1.22 |
19 | BuildRequires: xz | |
7dec3749 | 20 | Requires: qt5-doc-common >= %{qtbase_ver} |
39c15829 | 21 | BuildArch: noarch |
715c0fad WF |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
23 | ||
7dec3749 JB |
24 | %description |
25 | Qt5 qtdoc package contains the main Qt Reference Documentation, which | |
26 | includes overviews, Qt topics, and examples not specific to any Qt | |
27 | module. | |
715c0fad | 28 | |
7dec3749 JB |
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. | |
715c0fad | 33 | |
7dec3749 JB |
34 | %package qch |
35 | Summary: The Qt5 qtdoc documentation module - QCH format | |
36 | Summary(pl.UTF-8): Moduł dokumentacji Qt5 qtdoc - w formacie QCH | |
37 | Group: Documentation | |
38 | Requires: qt5-doc-common >= %{qtbase_ver} | |
39 | ||
40 | %description qch | |
41 | The Qt5 qtdoc documentation module - QCH format. | |
42 | ||
43 | %description qch -l pl.UTF-8 | |
44 | Moduł dokumentacji Qt5 qtdoc - w formacie QCH. | |
715c0fad | 45 | |
25dd0554 JB |
46 | %package demos |
47 | Summary: The Qt5 qtdoc documentation module - demos | |
48 | Summary(pl.UTF-8): Moduł dokumentacji Qt5 qtdoc - programy demonstracyjne | |
49 | License: BSD or commercial | |
50 | Group: Documentation | |
51 | ||
52 | %description demos | |
53 | The Qt5 qtdoc documentation module - demos. | |
54 | ||
55 | %description demos -l pl.UTF-8 | |
56 | Moduł dokumentacji Qt5 qtdoc - programy demonstracyjne. | |
57 | ||
715c0fad | 58 | %prep |
46461ea3 | 59 | %setup -q -n %{orgname}-everywhere-src-%{version} |
715c0fad WF |
60 | |
61 | %build | |
bd563777 | 62 | %{qmake_qt5} |
715c0fad | 63 | %{__make} |
e9061d7d | 64 | %{__make} docs |
715c0fad WF |
65 | |
66 | %install | |
67 | rm -rf $RPM_BUILD_ROOT | |
25dd0554 | 68 | |
715c0fad WF |
69 | %{__make} install \ |
70 | INSTALL_ROOT=$RPM_BUILD_ROOT | |
71 | ||
e9061d7d | 72 | %{__make} install_docs \ |
715c0fad | 73 | INSTALL_ROOT=$RPM_BUILD_ROOT |
e9061d7d | 74 | |
715c0fad WF |
75 | %clean |
76 | rm -rf $RPM_BUILD_ROOT | |
77 | ||
78 | %files | |
79 | %defattr(644,root,root,755) | |
c9139340 | 80 | %doc README dist/changes-* |
475ea433 | 81 | %{_docdir}/qt5-doc/qtcmake |
7dec3749 JB |
82 | %{_docdir}/qt5-doc/qtdoc |
83 | ||
7dec3749 JB |
84 | %files qch |
85 | %defattr(644,root,root,755) | |
475ea433 | 86 | %{_docdir}/qt5-doc/qtcmake.qch |
7dec3749 | 87 | %{_docdir}/qt5-doc/qtdoc.qch |
25dd0554 JB |
88 | |
89 | %files demos | |
90 | %defattr(644,root,root,755) | |
91 | # XXX: dir shared with qt5-qtbase-examples | |
92 | %dir %{_examplesdir}/qt5 | |
93 | %{_examplesdir}/qt5/demos |