]>
Commit | Line | Data |
---|---|---|
c9139340 | 1 | # TODO: qtdemo? (LGPL v2.1+exception/GPL v3 licensed) |
7dec3749 | 2 | # |
715c0fad | 3 | %define orgname qtdoc |
7dec3749 JB |
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 | |
715c0fad | 8 | Name: qt5-%{orgname} |
113b69ee | 9 | Version: 5.15.1 |
c9139340 JB |
10 | Release: 1 |
11 | License: FDL v1.3 | |
7dec3749 | 12 | Group: Documentation |
bbc7c036 | 13 | Source0: http://download.qt.io/official_releases/qt/5.15/%{version}/submodules/%{orgname}-everywhere-src-%{version}.tar.xz |
113b69ee | 14 | # Source0-md5: 1e11f38265ddda2f1423d87f25ea0eb4 |
9bbfb7bf | 15 | URL: http://www.qt.io/ |
7dec3749 | 16 | BuildRequires: qt5-assistant >= %{qttools_ver} |
7dec3749 JB |
17 | BuildRequires: qt5-build >= %{qtbase_ver} |
18 | BuildRequires: qt5-qmake >= %{qtbase_ver} | |
715c0fad | 19 | BuildRequires: rpmbuild(macros) >= 1.654 |
39c15829 ER |
20 | BuildRequires: tar >= 1:1.22 |
21 | BuildRequires: xz | |
7dec3749 | 22 | Requires: qt5-doc-common >= %{qtbase_ver} |
39c15829 | 23 | BuildArch: noarch |
715c0fad WF |
24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
25 | ||
7dec3749 JB |
26 | %description |
27 | Qt5 qtdoc package contains the main Qt Reference Documentation, which | |
28 | includes overviews, Qt topics, and examples not specific to any Qt | |
29 | module. | |
715c0fad | 30 | |
7dec3749 JB |
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. | |
715c0fad | 35 | |
7dec3749 JB |
36 | %package qch |
37 | Summary: The Qt5 qtdoc documentation module - QCH format | |
38 | Summary(pl.UTF-8): Moduł dokumentacji Qt5 qtdoc - w formacie QCH | |
39 | Group: Documentation | |
40 | Requires: qt5-doc-common >= %{qtbase_ver} | |
41 | ||
42 | %description qch | |
43 | The Qt5 qtdoc documentation module - QCH format. | |
44 | ||
45 | %description qch -l pl.UTF-8 | |
46 | Moduł dokumentacji Qt5 qtdoc - w formacie QCH. | |
715c0fad WF |
47 | |
48 | %prep | |
46461ea3 | 49 | %setup -q -n %{orgname}-everywhere-src-%{version} |
715c0fad WF |
50 | |
51 | %build | |
52 | qmake-qt5 | |
53 | %{__make} | |
e9061d7d | 54 | %{__make} docs |
715c0fad WF |
55 | |
56 | %install | |
57 | rm -rf $RPM_BUILD_ROOT | |
58 | %{__make} install \ | |
59 | INSTALL_ROOT=$RPM_BUILD_ROOT | |
60 | ||
e9061d7d | 61 | %{__make} install_docs \ |
715c0fad | 62 | INSTALL_ROOT=$RPM_BUILD_ROOT |
e9061d7d | 63 | |
715c0fad WF |
64 | %clean |
65 | rm -rf $RPM_BUILD_ROOT | |
66 | ||
67 | %files | |
68 | %defattr(644,root,root,755) | |
c9139340 | 69 | %doc README dist/changes-* |
475ea433 | 70 | %{_docdir}/qt5-doc/qtcmake |
7dec3749 JB |
71 | %{_docdir}/qt5-doc/qtdoc |
72 | ||
7dec3749 JB |
73 | %files qch |
74 | %defattr(644,root,root,755) | |
475ea433 | 75 | %{_docdir}/qt5-doc/qtcmake.qch |
7dec3749 | 76 | %{_docdir}/qt5-doc/qtdoc.qch |