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