]> git.pld-linux.org Git - packages/qt5-qtdoc.git/blame - qt5-qtdoc.spec
up to 5.15.13
[packages/qt5-qtdoc.git] / qt5-qtdoc.spec
CommitLineData
715c0fad 1%define orgname qtdoc
7dec3749
JB
2%define qtbase_ver %{version}
3%define qttools_ver %{version}
4Summary: The Qt5 qtdoc documentation module
5Summary(pl.UTF-8): Moduł dokumentacji Qt5 qtdoc
715c0fad 6Name: qt5-%{orgname}
e4e0102f 7Version: 5.15.13
0b3bead0 8Release: 1
c9139340 9License: FDL v1.3
7dec3749 10Group: Documentation
9855132a 11Source0: https://download.qt.io/official_releases/qt/5.15/%{version}/submodules/%{orgname}-everywhere-opensource-src-%{version}.tar.xz
e4e0102f 12# Source0-md5: f30f0264c468a56daa06ac10b2fb2f02
25dd0554 13URL: https://www.qt.io/
7dec3749 14BuildRequires: qt5-assistant >= %{qttools_ver}
7dec3749
JB
15BuildRequires: qt5-build >= %{qtbase_ver}
16BuildRequires: qt5-qmake >= %{qtbase_ver}
bd563777 17BuildRequires: rpmbuild(macros) >= 2.016
39c15829
ER
18BuildRequires: tar >= 1:1.22
19BuildRequires: xz
7dec3749 20Requires: qt5-doc-common >= %{qtbase_ver}
39c15829 21BuildArch: noarch
715c0fad
WF
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
7dec3749
JB
24%description
25Qt5 qtdoc package contains the main Qt Reference Documentation, which
26includes overviews, Qt topics, and examples not specific to any Qt
27module.
715c0fad 28
7dec3749
JB
29%description -l pl.UTF-8
30Pakiet Qt5 qtdoc zawiera podstawową część dokumentacji referencyjnej
31Qt, obejmującą artykuły przeglądowe, tematy związane z Qt oraz
32przykłady niespecyficzne dla żadnego modułu Qt.
715c0fad 33
7dec3749
JB
34%package qch
35Summary: The Qt5 qtdoc documentation module - QCH format
36Summary(pl.UTF-8): Moduł dokumentacji Qt5 qtdoc - w formacie QCH
37Group: Documentation
38Requires: qt5-doc-common >= %{qtbase_ver}
39
40%description qch
41The Qt5 qtdoc documentation module - QCH format.
42
43%description qch -l pl.UTF-8
44Moduł dokumentacji Qt5 qtdoc - w formacie QCH.
715c0fad 45
25dd0554
JB
46%package demos
47Summary: The Qt5 qtdoc documentation module - demos
48Summary(pl.UTF-8): Moduł dokumentacji Qt5 qtdoc - programy demonstracyjne
49License: BSD or commercial
50Group: Documentation
51
52%description demos
53The Qt5 qtdoc documentation module - demos.
54
55%description demos -l pl.UTF-8
56Moduł 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
67rm -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
76rm -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
This page took 0.377488 seconds and 4 git commands to generate.