]> git.pld-linux.org Git - packages/qt5-qtdoc.git/blame_incremental - qt5-qtdoc.spec
updated source url to https
[packages/qt5-qtdoc.git] / qt5-qtdoc.spec
... / ...
CommitLineData
1%define orgname qtdoc
2%define qtbase_ver %{version}
3%define qttools_ver %{version}
4Summary: The Qt5 qtdoc documentation module
5Summary(pl.UTF-8): Moduł dokumentacji Qt5 qtdoc
6Name: qt5-%{orgname}
7Version: 5.15.4
8Release: 1
9License: FDL v1.3
10Group: Documentation
11Source0: https://download.qt.io/official_releases/qt/5.15/%{version}/submodules/%{orgname}-everywhere-opensource-src-%{version}.tar.xz
12# Source0-md5: 9b2a0f291a9c61c3e5a90de38ebd24ad
13URL: https://www.qt.io/
14BuildRequires: qt5-assistant >= %{qttools_ver}
15BuildRequires: qt5-build >= %{qtbase_ver}
16BuildRequires: qt5-qmake >= %{qtbase_ver}
17BuildRequires: rpmbuild(macros) >= 1.654
18BuildRequires: tar >= 1:1.22
19BuildRequires: xz
20Requires: qt5-doc-common >= %{qtbase_ver}
21BuildArch: noarch
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25Qt5 qtdoc package contains the main Qt Reference Documentation, which
26includes overviews, Qt topics, and examples not specific to any Qt
27module.
28
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.
33
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.
45
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
58%prep
59%setup -q -n %{orgname}-everywhere-src-%{version}
60
61%build
62qmake-qt5
63%{__make}
64%{__make} docs
65
66%install
67rm -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
76rm -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.031894 seconds and 4 git commands to generate.