]> git.pld-linux.org Git - packages/qt5-qtdoc.git/blob - qt5-qtdoc.spec
b05aca415807acdfa9fb56cf8624b7b2fcfa7e36
[packages/qt5-qtdoc.git] / qt5-qtdoc.spec
1 # TODO:
2 # - cleanup
3
4 %define         orgname         qtdoc
5 Summary:        The Qt5 Qtdoc
6 Name:           qt5-%{orgname}
7 Version:        5.2.0
8 Release:        0.1
9 License:        LGPL v2.1 or GPL v3.0
10 Group:          X11/Libraries
11 Source0:        http://download.qt-project.org/official_releases/qt/5.2/%{version}/submodules/%{orgname}-opensource-src-%{version}.tar.xz
12 # Source0-md5:  76936bc86bb0b58cc340c5b9e4a24308
13 URL:            http://qt-project.org/
14 BuildRequires:  qt5-qtbase-devel = %{version}
15 BuildRequires:  qt5-qttools-devel = %{version}
16 BuildRequires:  rpmbuild(macros) >= 1.654
17 BuildRequires:  tar >= 1:1.22
18 BuildRequires:  xz
19 BuildArch:      noarch
20 BuildRoot:      %{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
29 qtdoc contains the main Qt Reference Documentation, which includes
30 overviews, Qt topics, and examples not specific to any Qt module.The
31 configuration files are located in qtdoc/doc/config and the articles
32 in qtdoc/doc/src. Note that QDoc is located in qtbase.
33
34 %prep
35 %setup -q -n %{orgname}-opensource-src-%{version}
36
37 %build
38 qmake-qt5
39 %{__make}
40 %{__make} docs
41
42 %install
43 rm -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
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(644,root,root,755)
54 %{_docdir}/qt5-doc
This page took 0.060497 seconds and 2 git commands to generate.