diff --git a/qt5-qtbase.spec b/qt5-qtbase.spec index 6efe017..2fbf7fa 100644 --- a/qt5-qtbase.spec +++ b/qt5-qtbase.spec @@ -15,7 +15,7 @@ Summary: Qt5 - QtBase components Name: qt5-qtbase Version: 5.1.1 -Release: 5%{?dist} +Release: 6%{?dist} # See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details License: LGPLv2 with exceptions or GPLv3 with exceptions @@ -62,6 +62,8 @@ Patch51: qtbase-opensource-src-5.1.1-bigendian.patch %define _qt5_sysconfdir %{_qt5_settingsdir} %define _qt5_translationdir %{_datadir}/qt5/translations +# for %%check +BuildRequires: cmake BuildRequires: cups-devel BuildRequires: desktop-file-utils BuildRequires: findutils @@ -112,6 +114,13 @@ Requires: pkgconfig(gl) %description devel %{summary}. +%package doc +Summary: API documentation for %{name} +Requires: %{name} = %{version}-%{release} +BuildArch: noarch +%description doc +%{summary}. + %package static Summary: Static library files for %{name} Requires: %{name}-devel%{?_isa} = %{version}-%{release} @@ -242,11 +251,15 @@ popd make %{?_smp_mflags} +make %{?_smp_mflags} docs + %install make install INSTALL_ROOT=%{buildroot} +make install_docs INSTALL_ROOT=%{buildroot} + # Qt5.pc cat >%{buildroot}%{_libdir}/pkgconfig/Qt5.pc< - 5.1.1-6 +- -doc subpkg +- enable %%check + * Mon Sep 23 2013 Dan HorĂ¡k - 5.1.1-5 - fix big endian builds