]> git.pld-linux.org Git - packages/qt5-qtdoc.git/blob - qt5-qtdoc.spec
up to 5.14.0
[packages/qt5-qtdoc.git] / qt5-qtdoc.spec
1 # TODO: qtdemo? (LGPL v2.1+exception/GPL v3 licensed)
2 #
3 %define         orgname         qtdoc
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
8 Name:           qt5-%{orgname}
9 Version:        5.14.0
10 Release:        1
11 License:        FDL v1.3
12 Group:          Documentation
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
21 BuildRequires:  xz
22 Requires:       qt5-doc-common >= %{qtbase_ver}
23 BuildArch:      noarch
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
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.
30
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.
35
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.
47
48 %prep
49 %setup -q -n %{orgname}-everywhere-src-%{version}
50
51 %build
52 qmake-qt5
53 %{__make}
54 %{__make} docs
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58 %{__make} install \
59         INSTALL_ROOT=$RPM_BUILD_ROOT
60
61 %{__make} install_docs \
62         INSTALL_ROOT=$RPM_BUILD_ROOT
63
64 %clean
65 rm -rf $RPM_BUILD_ROOT
66
67 %files
68 %defattr(644,root,root,755)
69 %doc README dist/changes-*
70 %{_docdir}/qt5-doc/qtcmake
71 %{_docdir}/qt5-doc/qtdoc
72
73 %files qch
74 %defattr(644,root,root,755)
75 %{_docdir}/qt5-doc/qtcmake.qch
76 %{_docdir}/qt5-doc/qtdoc.qch
This page took 0.094478 seconds and 3 git commands to generate.