From 5df84b04f5f891353d2307a5bea031f425757de8 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 15 Nov 2022 01:31:37 -0500 Subject: [PATCH] import qt5-doc-5.15.3-1.el9 --- .gitignore | 2 +- .qt5-doc.metadata | 2 +- SOURCES/generate-qt-doc.sh | 12 ++- SPECS/qt5-doc.spec | 146 ++++++++----------------------------- 4 files changed, 43 insertions(+), 119 deletions(-) diff --git a/.gitignore b/.gitignore index f6d28ea..3caf3b1 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/qt-doc-opensource-src-5.15.1.tar.xz +SOURCES/qt-doc-opensource-src-5.15.3.tar.xz diff --git a/.qt5-doc.metadata b/.qt5-doc.metadata index 3f3940b..01b3159 100644 --- a/.qt5-doc.metadata +++ b/.qt5-doc.metadata @@ -1 +1 @@ -ca8072ac9185f28754a38e81e03fc3c2c0bf8206 SOURCES/qt-doc-opensource-src-5.15.1.tar.xz +71c044bce298014d97e9fd5cf4e4e34df0d81c8d SOURCES/qt-doc-opensource-src-5.15.3.tar.xz diff --git a/SOURCES/generate-qt-doc.sh b/SOURCES/generate-qt-doc.sh index 1a3b51e..07eda37 100755 --- a/SOURCES/generate-qt-doc.sh +++ b/SOURCES/generate-qt-doc.sh @@ -1,7 +1,9 @@ #!/bin/bash -x +QT_MODULES=('qt3d' 'qtbase' 'qtcanvas3d' 'qtconnectivity' 'qtdeclarative' 'qtdoc' 'qtgraphicaleffects' 'qtimageformats' 'qtlocation' 'qtmultimedia' 'qtquickcontrols' 'qtquickcontrols2' 'qtscript' 'qtsensors' 'qtserialbus' 'qtserialport' 'qtsvg' 'qttools' 'qtwayland' 'qtwebchannel' 'qtwebsockets' 'qtx11extras' 'qtxmlpatterns') + QT_BRANCH=5.15 -QT_VERSION=5.15.1 +QT_VERSION=5.15.3 make_build="$(rpm --eval %make_build)" # Clone full qt tree @@ -17,7 +19,9 @@ git submodule foreach "git fetch" git submodule foreach "git pull" # Init the base source -./init-repository +MODULES_LIST=$(printf ",%s" "${QT_MODULES[@]}") +MODULES_LIST=${MODULES_LIST:1} +./init-repository --module-subset=$MODULES_LIST # hard-code docdir for now, rpm --eval %{_qt5_docdir} yields unexpanded %{_docdir}/qt5 , wtf -- rex ./configure -confirm-license -opensource -prefix $(rpm --eval "%{_qt5_prefix}") \ @@ -30,7 +34,9 @@ git submodule foreach "git pull" -platform linux-g++ -release -shared -accessibility -dbus-runtime -fontconfig -glib -gtk \ -icu -journald -nomake examples -nomake tests -no-rpath -no-separate-debug-info -no-strip \ -system-libjpeg -system-libpng -system-zlib -no-directfb -skip qtmacextras -skip qtandroidextras \ - -skip qtactiveqt -skip qtwinextras -skip qtqa + -skip qtactiveqt -skip qtwinextras -skip qtqa -skip qtwebengine -skip qtwebview -skip qtdatavis3d \ + -skip qtgamepad -skip qtcharts -skip qtnetworkauth -skip qtremoteobjects -skip qtscxml \ + -skip qtvirtualkeyboard -skip qtspeech $make_build qmake_all diff --git a/SPECS/qt5-doc.spec b/SPECS/qt5-doc.spec index c0a461a..c883dea 100644 --- a/SPECS/qt5-doc.spec +++ b/SPECS/qt5-doc.spec @@ -1,7 +1,7 @@ Name: qt5-doc Summary: Qt5 - Complete documentation -Version: 5.15.1 -Release: 4%{?dist} +Version: 5.15.3 +Release: 1%{?dist} BuildArch: noarch License: GFDL @@ -18,9 +18,8 @@ BuildRequires: qt5-rpm-macros >= 5.5.0 Obsoletes: qt5-qtcanvas3d-doc < 5.13 -Requires: qt5-qtbase-doc >= %{version} Requires: qt5-qt3d-doc >= %{version} -Requires: qt5-qtcharts-doc >= %{version} +Requires: qt5-qtbase-doc >= %{version} Requires: qt5-qtconnectivity-doc >= %{version} Requires: qt5-qtdeclarative-doc >= %{version} Requires: qt5-qtgraphicaleffects-doc >= %{version} @@ -30,32 +29,28 @@ Requires: qt5-qtmultimedia-doc >= %{version} Requires: qt5-qtquickcontrols2-doc >= %{version} Requires: qt5-qtquickcontrols-doc >= %{version} Requires: qt5-qtscript-doc >= %{version} -Requires: qt5-qtscxml-doc >= %{version} Requires: qt5-qtsensors-doc >= %{version} Requires: qt5-qtserialbus-doc >= %{version} Requires: qt5-qtserialport-doc >= %{version} Requires: qt5-qtsvg-doc >= %{version} Requires: qt5-qttools-doc >= %{version} -Requires: qt5-qtvirtualkeyboard-doc >= %{version} +Requires: qt5-qtwayland-doc >= %{version} Requires: qt5-qtwebchannel-doc >= %{version} Requires: qt5-qtwebsockets-doc >= %{version} Requires: qt5-qtx11extras-doc >= %{version} Requires: qt5-qtxmlpatterns-doc >= %{version} -Requires: qt5-qtdatavis3d-doc >= %{version} -Requires: qt5-qtgamepad-doc >= %{version} -Requires: qt5-qtlocation-doc >= %{version} -Requires: qt5-qtwayland-doc >= %{version} -Requires: qt5-qtwebview-doc >= %{version} -Requires: qt5-qtspeech-doc >= %{version} -Requires: qt5-qtremoteobjects-doc >= %{version} -Requires: qt5-qtcharts-doc >= %{version} -Requires: qt5-qtpurchasing-doc >= %{version} %description This is the meta package for all Qt library documentation -# Empty files to produce qt5-doc package for easier installation of complete documentation -%files +%package -n qt5-qtcanvas3d-doc +Summary: Documentation for qtcanvas3d + +%description -n qt5-qtcanvas3d-doc +%{summary}. + +%files -n qt5-qtcanvas3d-doc +%{_qt5_docdir}/qtcanvas3d* %package -n qt5-qtbase-doc Summary: Documentation for qtbase @@ -87,16 +82,6 @@ Summary: Documentation for qt3d %files -n qt5-qt3d-doc %{_qt5_docdir}/qt3d* -%package -n qt5-qtcharts-doc -Summary: Documentation for qtcharts - -%description -n qt5-qtcharts-doc -%{summary}. - -%files -n qt5-qtcharts-doc -%{_qt5_docdir}/qtcharts* -%{_qt5_docdir}/qtlabs* - %package -n qt5-qtconnectivity-doc Summary: Documentation for qtconnectivity @@ -151,7 +136,7 @@ Summary: Documentation for qtquickcontrols2 %{summary}. %files -n qt5-qtquickcontrols2-doc -%{_qt5_docdir}/qtquickcontrols/ +%{_qt5_docdir}/qtquickcontrols* %package -n qt5-qtquickcontrols-doc Summary: Documentation for qtquickcontrols @@ -160,7 +145,7 @@ Summary: Documentation for qtquickcontrols %{summary}. %files -n qt5-qtquickcontrols-doc -%{_qt5_docdir}/qtquickcontrols1/ +%{_qt5_docdir}/qtquickcontrols1 %package -n qt5-qtscript-doc Summary: Documentation for qtscript @@ -171,15 +156,6 @@ Summary: Documentation for qtscript %files -n qt5-qtscript-doc %{_qt5_docdir}/qtscript* -%package -n qt5-qtscxml-doc -Summary: Documentation for qtscxml - -%description -n qt5-qtscxml-doc -%{summary}. - -%files -n qt5-qtscxml-doc -%{_qt5_docdir}/qtscxml* - %package -n qt5-qtsensors-doc Summary: Documentation for qtsensors @@ -223,22 +199,13 @@ Summary: Documentation for qttools %{summary}. %files -n qt5-qttools-doc -#{_qt5_docdir}/qdoc* +%{_qt5_docdir}/qdoc* %{_qt5_docdir}/qtassistant* %{_qt5_docdir}/qtdesigner* %{_qt5_docdir}/qthelp* %{_qt5_docdir}/qtlinguist* %{_qt5_docdir}/qtuitools* -%package -n qt5-qtvirtualkeyboard-doc -Summary: Documentation for qtvirtualkeyboard - -%description -n qt5-qtvirtualkeyboard-doc -%{summary}. - -%files -n qt5-qtvirtualkeyboard-doc -%{_qt5_docdir}/qtvirtualkeyboard* - %package -n qt5-qtwebchannel-doc Summary: Documentation for qtwebchannel @@ -266,32 +233,18 @@ Summary: Documentation for qtx11extras %files -n qt5-qtx11extras-doc %{_qt5_docdir}/qtx11extras* -%package -n qt5-qtspeech-doc -Summary: Documentation for qtspeech +## omit from here, conflicts with real qt5-qtdoc -- rex +## https://bugzilla.redhat.com/show_bug.cgi?id=1520355 +%if 0 +%package -n qt5-qtdoc-doc +Summary: Documentation for qtdoc -%description -n qt5-qtspeech-doc +%description -n qt5-qtdoc-doc %{summary}. -%files -n qt5-qtspeech-doc -%{_qt5_docdir}/qtspeech* - -%package -n qt5-qtremoteobjects-doc -Summary: Documentation for qtremoteobjects - -%description -n qt5-qtremoteobjects-doc -%{summary}. - -%files -n qt5-qtremoteobjects-doc -%{_qt5_docdir}/qtremoteobjects* - -%package -n qt5-qtpurchasing-doc -Summary: Documentation for qtpurchasing - -%description -n qt5-qtpurchasing-doc -%{summary}. - -%files -n qt5-qtpurchasing-doc -%{_qt5_docdir}/qtpurchasing* +%files -n qt5-qtdoc-doc +%{_qt5_docdir}/qtdoc* +%endif %package -n qt5-qtwayland-doc Summary: Documentation for qtwayland @@ -302,15 +255,6 @@ Summary: Documentation for qtwayland %files -n qt5-qtwayland-doc %{_qt5_docdir}/qtwayland* -%package -n qt5-qtwebview-doc -Summary: Documentation for qtwebview - -%description -n qt5-qtwebview-doc -%{summary}. - -%files -n qt5-qtwebview-doc -%{_qt5_docdir}/qtwebview* - %package -n qt5-qtlocation-doc Summary: Documentation for qtlocation @@ -330,53 +274,27 @@ Summary: Documentation for qtxmlpatterns %files -n qt5-qtxmlpatterns-doc %{_qt5_docdir}/qtxmlpatterns* -%package -n qt5-qtdatavis3d-doc -Summary: Documentation for qtdatavis3d - -%description -n qt5-qtdatavis3d-doc -%{summary}. - -%files -n qt5-qtdatavis3d-doc -%{_qt5_docdir}/qtdatavis3d* -%{_qt5_docdir}/qtdatavisualization* - -%package -n qt5-qtgamepad-doc -Summary: Documentation for qtgamepad - -%description -n qt5-qtgamepad-doc -%{summary}. - -%files -n qt5-qtgamepad-doc -%{_qt5_docdir}/qtgamepad* - - %prep # intentionally left blank # though could be used to initially unpack (rex) - %build # intentionally left blank - %install mkdir -p %{buildroot} -tar xf %{SOURCE0} -C %{buildroot} +cd %{buildroot} +tar xf %{SOURCE0} -## unpackaged files -pushd %{buildroot}%{_qt5_docdir} -rm -rfv \ - qdoc* \ - qtdistancefieldgenerator* \ - qtdoc* qtcmake* \ - qtlottieanimation* \ - qtpdf* \ - qtwebengine* - -popd +cd %{buildroot}%{_docdir}/qt5 +rm -rfv qtdoc* qtcmake* qtdistancefieldgenerator* qtlabs* %changelog +* Fri Apr 01 2022 Jan Grulich - 5.15.3-1 +- 5.15.3 + Resolves: bz#2061353 + * Tue Aug 10 2021 Mohan Boddu - 5.15.1-4 - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags Related: rhbz#1991688