import qt5-doc-5.15.3-1.el8

This commit is contained in:
CentOS Sources 2022-07-21 18:09:50 +00:00 committed by Stepan Oksanichenko
parent a5925d1082
commit b0b56b0469
4 changed files with 28 additions and 13 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/qt-doc-opensource-src-5.12.5.tar.xz SOURCES/qt-doc-opensource-src-5.15.3.tar.xz

View File

@ -1 +1 @@
063253dd49ffcf5425afd029f383488042aa8f9d SOURCES/qt-doc-opensource-src-5.12.5.tar.xz 71c044bce298014d97e9fd5cf4e4e34df0d81c8d SOURCES/qt-doc-opensource-src-5.15.3.tar.xz

View File

@ -2,15 +2,15 @@
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_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.12 QT_BRANCH=5.15
QT_VERSION=5.12.5 QT_VERSION=5.15.3
make_build="$(rpm --eval %make_build)" make_build="$(rpm --eval %make_build)"
# Clone full qt tree # Clone full qt tree
git clone -b $QT_BRANCH git://code.qt.io/qt/qt5.git git clone -b $QT_BRANCH git://code.qt.io/qt/qt5.git
# Install fedora deps for qt5-qtbase # Install fedora deps for qt5-qtbase, qt5-qttools
# sudo dnf builddep qt5-qtbase sudo dnf builddep qt5-qtbase qt5-qttools -y
# Configure using fedora configure basic options # Configure using fedora configure basic options
cd qt5 || return cd qt5 || return
@ -34,23 +34,26 @@ MODULES_LIST=${MODULES_LIST:1}
-platform linux-g++ -release -shared -accessibility -dbus-runtime -fontconfig -glib -gtk \ -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 \ -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 \ -system-libjpeg -system-libpng -system-zlib -no-directfb -skip qtmacextras -skip qtandroidextras \
-skip qtactiveqt -skip qtwinextras -skip qtcharts -skip qtdatavis3d -skip qtgamepad -skip qtnetworkauth \ -skip qtactiveqt -skip qtwinextras -skip qtqa -skip qtwebengine -skip qtwebview -skip qtdatavis3d \
-skip qtremoteobjects -skip qtscxml -skip qtspeech -skip qtvirtualkeyboard -skip qtwebengine -skip qtwebview -skip qtgamepad -skip qtcharts -skip qtnetworkauth -skip qtremoteobjects -skip qtscxml \
-skip qtvirtualkeyboard -skip qtspeech
$make_build qmake_all $make_build qmake_all
$make_build -C qtbase || exit $make_build -C qtbase || exit
$make_build -C qtbase/src/tools/bootstrap
$make_build -C qtbase/src/tools/rcc
$make_build sub-qmldevtools -C qtdeclarative/src/ $make_build sub-qmldevtools -C qtdeclarative/src/
$make_build sub-qdoc sub-qtattributionsscanner -C qttools/src/ $make_build sub-qdoc sub-qtattributionsscanner -C qttools/src/
$make_build sub-qhelpgenerator -C qttools/src/assistant/ $make_build sub-qhelpgenerator -C qttools/src/assistant/
$make_build docs echo "INFO: make docs"
$make_build -j1 docs || echo "ERROR: make docs" ; exit 1
# Install docs on tmp directory # Install docs on tmp directory
DEST=${PWD}/install DEST=${PWD}/install
rm -rf $DEST/ && mkdir -p ${DEST} rm -rf $DEST/ && mkdir -p ${DEST}
make install_docs INSTALL_ROOT=$DEST $make_build install_docs INSTALL_ROOT=$DEST -k
XZ_OPT="-T 2" XZ_OPT="-T 2"
tar -C $DEST -cJf ../qt-doc-opensource-src-${QT_VERSION}.tar.xz . tar -C $DEST -cJf ../qt-doc-opensource-src-${QT_VERSION}.tar.xz .

View File

@ -1,6 +1,6 @@
Name: qt5-doc Name: qt5-doc
Summary: Qt5 - Complete documentation Summary: Qt5 - Complete documentation
Version: 5.12.5 Version: 5.15.3
Release: 1%{?dist} Release: 1%{?dist}
BuildArch: noarch BuildArch: noarch
@ -286,9 +286,21 @@ cd %{buildroot}
tar xf %{SOURCE0} tar xf %{SOURCE0}
cd %{buildroot}%{_docdir}/qt5 cd %{buildroot}%{_docdir}/qt5
rm -rfv qtdoc* qtdistancefieldgenerator* qtlabs* rm -rfv qtdoc* qtcmake* qtdistancefieldgenerator* qtlabs*
%changelog %changelog
* Fri Apr 01 2022 Jan Grulich <jgrulich@redhat.com> - 5.15.3-1
- 5.15.3
Resolves: bz#2061378
* Tue Apr 13 2021 Jan Grulich <jgrulich@redhat.com> - 5.15.2-2
- Drop qtcmake documentation to avoid duplication with qt5-qtdoc
Resolves: bz#1930039
* Mon Apr 05 2021 Jan Grulich <jgrulich@redhat.com> - 5.15.2-1
- 5.15.2
Resolves: bz#1930039
* Thu Nov 07 2019 Jan Grulich <jgrulich@redhat.com> - 5.12.5-1 * Thu Nov 07 2019 Jan Grulich <jgrulich@redhat.com> - 5.12.5-1
- 5.12.5 - 5.12.5
Resolves: bz#1733134 Resolves: bz#1733134