]> git.pld-linux.org Git - packages/qt5-qtdoc.git/blob - qt5-qtdoc.spec
up to 5.15.13
[packages/qt5-qtdoc.git] / qt5-qtdoc.spec
1 %define         orgname         qtdoc
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
6 Name:           qt5-%{orgname}
7 Version:        5.15.13
8 Release:        1
9 License:        FDL v1.3
10 Group:          Documentation
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
19 BuildRequires:  xz
20 Requires:       qt5-doc-common >= %{qtbase_ver}
21 BuildArch:      noarch
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
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.
28
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.
33
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.
45
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
58 %prep
59 %setup -q -n %{orgname}-everywhere-src-%{version}
60
61 %build
62 %{qmake_qt5}
63 %{__make}
64 %{__make} docs
65
66 %install
67 rm -rf $RPM_BUILD_ROOT
68
69 %{__make} install \
70         INSTALL_ROOT=$RPM_BUILD_ROOT
71
72 %{__make} install_docs \
73         INSTALL_ROOT=$RPM_BUILD_ROOT
74
75 %clean
76 rm -rf $RPM_BUILD_ROOT
77
78 %files
79 %defattr(644,root,root,755)
80 %doc README dist/changes-*
81 %{_docdir}/qt5-doc/qtcmake
82 %{_docdir}/qt5-doc/qtdoc
83
84 %files qch
85 %defattr(644,root,root,755)
86 %{_docdir}/qt5-doc/qtcmake.qch
87 %{_docdir}/qt5-doc/qtdoc.qch
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
This page took 0.244971 seconds and 4 git commands to generate.