]> git.pld-linux.org Git - packages/qt5-qtdoc.git/blame - qt5-qtdoc.spec
noarch; tar.xz deps
[packages/qt5-qtdoc.git] / qt5-qtdoc.spec
CommitLineData
715c0fad
WF
1# TODO:
2# - cleanup
3
4%define orgname qtdoc
5Summary: The Qt5 Qtdoc
6Name: qt5-%{orgname}
7Version: 5.2.0
8Release: 0.1
9License: LGPL v2.1 or GPL v3.0
10Group: X11/Libraries
11Source0: http://download.qt-project.org/official_releases/qt/5.2/%{version}/submodules/%{orgname}-opensource-src-%{version}.tar.xz
12# Source0-md5: 76936bc86bb0b58cc340c5b9e4a24308
13URL: http://qt-project.org/
14BuildRequires: qt5-qtbase-devel = %{version}
15BuildRequires: qt5-qttools-devel = %{version}
16BuildRequires: rpmbuild(macros) >= 1.654
39c15829
ER
17BuildRequires: tar >= 1:1.22
18BuildRequires: xz
19BuildArch: noarch
715c0fad
WF
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%define _noautoreqdep libGL.so.1 libGLU.so.1
23%define _noautostrip '.*_debug\\.so*'
24
25%define specflags -fno-strict-aliasing
26%define _qtdir %{_libdir}/qt5
27
28%description
29qtdoc contains the main Qt Reference Documentation, which includes
30overviews, Qt topics, and examples not specific to any Qt module.The
31configuration files are located in qtdoc/doc/config and the articles
32in qtdoc/doc/src. Note that QDoc is located in qtbase.
33
34%prep
35%setup -q -n %{orgname}-opensource-src-%{version}
36
37%build
38qmake-qt5
39%{__make}
40%{__make} docs
41
42%install
43rm -rf $RPM_BUILD_ROOT
44%{__make} install \
45 INSTALL_ROOT=$RPM_BUILD_ROOT
46
47%{__make} install_docs \
48 INSTALL_ROOT=$RPM_BUILD_ROOT
49%clean
50rm -rf $RPM_BUILD_ROOT
51
52%files
53%defattr(644,root,root,755)
54%{_docdir}/qt5-doc
This page took 0.050667 seconds and 4 git commands to generate.