]> git.pld-linux.org Git - packages/qt5-qtdoc.git/blame - qt5-qtdoc.spec
- updated to 5.3.0
[packages/qt5-qtdoc.git] / qt5-qtdoc.spec
CommitLineData
c9139340 1# TODO: qtdemo? (LGPL v2.1+exception/GPL v3 licensed)
7dec3749
JB
2#
3# Conditional build:
4%bcond_without qch # documentation in QCH format
715c0fad
WF
5
6%define orgname qtdoc
7dec3749
JB
7%define qtbase_ver %{version}
8%define qttools_ver %{version}
9Summary: The Qt5 qtdoc documentation module
10Summary(pl.UTF-8): Moduł dokumentacji Qt5 qtdoc
715c0fad 11Name: qt5-%{orgname}
c9139340
JB
12Version: 5.3.0
13Release: 1
14License: FDL v1.3
7dec3749 15Group: Documentation
c9139340
JB
16Source0: http://download.qt-project.org/official_releases/qt/5.3/%{version}/submodules/%{orgname}-opensource-src-%{version}.tar.xz
17# Source0-md5: 38787fc8cd52d6734b63b24afde4cae4
715c0fad 18URL: http://qt-project.org/
7dec3749
JB
19%if %{with qch}
20BuildRequires: qt5-assistant >= %{qttools_ver}
21%endif
22BuildRequires: qt5-build >= %{qtbase_ver}
23BuildRequires: qt5-qmake >= %{qtbase_ver}
715c0fad 24BuildRequires: rpmbuild(macros) >= 1.654
39c15829
ER
25BuildRequires: tar >= 1:1.22
26BuildRequires: xz
7dec3749 27Requires: qt5-doc-common >= %{qtbase_ver}
39c15829 28BuildArch: noarch
715c0fad
WF
29BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
7dec3749
JB
31%description
32Qt5 qtdoc package contains the main Qt Reference Documentation, which
33includes overviews, Qt topics, and examples not specific to any Qt
34module.
715c0fad 35
7dec3749
JB
36%description -l pl.UTF-8
37Pakiet Qt5 qtdoc zawiera podstawową część dokumentacji referencyjnej
38Qt, obejmującą artykuły przeglądowe, tematy związane z Qt oraz
39przykłady niespecyficzne dla żadnego modułu Qt.
715c0fad 40
7dec3749
JB
41%package qch
42Summary: The Qt5 qtdoc documentation module - QCH format
43Summary(pl.UTF-8): Moduł dokumentacji Qt5 qtdoc - w formacie QCH
44Group: Documentation
45Requires: qt5-doc-common >= %{qtbase_ver}
46
47%description qch
48The Qt5 qtdoc documentation module - QCH format.
49
50%description qch -l pl.UTF-8
51Moduł dokumentacji Qt5 qtdoc - w formacie QCH.
715c0fad
WF
52
53%prep
54%setup -q -n %{orgname}-opensource-src-%{version}
55
56%build
57qmake-qt5
58%{__make}
7dec3749 59%{__make} %{!?with_qch:html_}docs
715c0fad
WF
60
61%install
62rm -rf $RPM_BUILD_ROOT
63%{__make} install \
64 INSTALL_ROOT=$RPM_BUILD_ROOT
65
7dec3749 66%{__make} install_%{!?with_qch:html_}docs \
715c0fad
WF
67 INSTALL_ROOT=$RPM_BUILD_ROOT
68%clean
69rm -rf $RPM_BUILD_ROOT
70
71%files
72%defattr(644,root,root,755)
c9139340 73%doc README dist/changes-*
7dec3749
JB
74%{_docdir}/qt5-doc/qtdoc
75
76%if %{with qch}
77%files qch
78%defattr(644,root,root,755)
79%{_docdir}/qt5-doc/qtdoc.qch
80%endif
This page took 0.060121 seconds and 4 git commands to generate.