9 License: LGPL v2.1 or GPL v3.0
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
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 %define _noautoreqdep libGL.so.1 libGLU.so.1
23 %define _noautostrip '.*_debug\\.so*'
25 %define specflags -fno-strict-aliasing
26 %define _qtdir %{_libdir}/qt5
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.
35 %setup -q -n %{orgname}-opensource-src-%{version}
43 rm -rf $RPM_BUILD_ROOT
45 INSTALL_ROOT=$RPM_BUILD_ROOT
47 %{__make} install_docs \
48 INSTALL_ROOT=$RPM_BUILD_ROOT
50 rm -rf $RPM_BUILD_ROOT
53 %defattr(644,root,root,755)