diff --git a/qt5-qtbase.spec b/qt5-qtbase.spec index 2fbf7fa..3366e81 100644 --- a/qt5-qtbase.spec +++ b/qt5-qtbase.spec @@ -12,6 +12,9 @@ %define rpm_macros_dir %{_sysconfdir}/rpm %endif +# define to build docs (currently broken) +#define docs 1 + Summary: Qt5 - QtBase components Name: qt5-qtbase Version: 5.1.1 @@ -251,14 +254,18 @@ popd make %{?_smp_mflags} -make %{?_smp_mflags} docs +%if 0%{?docs} +make docs +%endif %install make install INSTALL_ROOT=%{buildroot} +%if 0%{?docs} make install_docs INSTALL_ROOT=%{buildroot} +%endif # Qt5.pc cat >%{buildroot}%{_libdir}/pkgconfig/Qt5.pc< - 5.1.1-6 -- -doc subpkg +- -doc subpkg (not enabled, needswork) - enable %%check * Mon Sep 23 2013 Dan HorĂ¡k - 5.1.1-5