parent
1a89dbce83
commit
6dd363f139
|
@ -12,6 +12,9 @@
|
||||||
%define rpm_macros_dir %{_sysconfdir}/rpm
|
%define rpm_macros_dir %{_sysconfdir}/rpm
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
# define to build docs (currently broken)
|
||||||
|
#define docs 1
|
||||||
|
|
||||||
Summary: Qt5 - QtBase components
|
Summary: Qt5 - QtBase components
|
||||||
Name: qt5-qtbase
|
Name: qt5-qtbase
|
||||||
Version: 5.1.1
|
Version: 5.1.1
|
||||||
|
@ -251,14 +254,18 @@ popd
|
||||||
|
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
make %{?_smp_mflags} docs
|
%if 0%{?docs}
|
||||||
|
make docs
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
|
||||||
make install INSTALL_ROOT=%{buildroot}
|
make install INSTALL_ROOT=%{buildroot}
|
||||||
|
|
||||||
|
%if 0%{?docs}
|
||||||
make install_docs INSTALL_ROOT=%{buildroot}
|
make install_docs INSTALL_ROOT=%{buildroot}
|
||||||
|
%endif
|
||||||
|
|
||||||
# Qt5.pc
|
# Qt5.pc
|
||||||
cat >%{buildroot}%{_libdir}/pkgconfig/Qt5.pc<<EOF
|
cat >%{buildroot}%{_libdir}/pkgconfig/Qt5.pc<<EOF
|
||||||
|
@ -412,6 +419,7 @@ popd
|
||||||
%dir %{_qt5_plugindir}/sqldrivers/
|
%dir %{_qt5_plugindir}/sqldrivers/
|
||||||
%{_qt5_plugindir}/sqldrivers/libqsqlite.so
|
%{_qt5_plugindir}/sqldrivers/libqsqlite.so
|
||||||
|
|
||||||
|
%if 0%{?docs}
|
||||||
%files doc
|
%files doc
|
||||||
%{_qt5_docdir}/*.qch
|
%{_qt5_docdir}/*.qch
|
||||||
%{_qt5_docdir}/global/
|
%{_qt5_docdir}/global/
|
||||||
|
@ -428,6 +436,7 @@ popd
|
||||||
%{_qt5_docdir}/qttestlib/
|
%{_qt5_docdir}/qttestlib/
|
||||||
%{_qt5_docdir}/qtwidgets/
|
%{_qt5_docdir}/qtwidgets/
|
||||||
%{_qt5_docdir}/qtxml/
|
%{_qt5_docdir}/qtxml/
|
||||||
|
%endif
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{rpm_macros_dir}/macros.qt5
|
%{rpm_macros_dir}/macros.qt5
|
||||||
|
@ -568,7 +577,7 @@ popd
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Sep 27 2013 Rex Dieter <rdieter@fedoraproject.org> - 5.1.1-6
|
* Fri Sep 27 2013 Rex Dieter <rdieter@fedoraproject.org> - 5.1.1-6
|
||||||
- -doc subpkg
|
- -doc subpkg (not enabled, needswork)
|
||||||
- enable %%check
|
- enable %%check
|
||||||
|
|
||||||
* Mon Sep 23 2013 Dan Horák <dan[at]danny.cz> - 5.1.1-5
|
* Mon Sep 23 2013 Dan Horák <dan[at]danny.cz> - 5.1.1-5
|
||||||
|
|
Loading…
Reference in New Issue