- New package
This commit is contained in:
parent
d9738daaff
commit
63a529f896
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
||||
/qt-doc-opensource-src-5.9.0.tar.xz
|
57
generate-qt-doc.sh
Executable file
57
generate-qt-doc.sh
Executable file
@ -0,0 +1,57 @@
|
||||
#!/bin/bash -x
|
||||
|
||||
# Clone full qt tree
|
||||
git clone -b 5.9 git://code.qt.io/qt/qt5.git
|
||||
|
||||
# Install fedora deps for qt5-qtbase
|
||||
sudo dnf builddep qt5-qtbase
|
||||
|
||||
# Configure using fedora configure basic options
|
||||
cd qt5 || return
|
||||
git submodule foreach "git checkout 5.9"
|
||||
git submodule foreach "git fetch"
|
||||
git submodule foreach "git pull"
|
||||
|
||||
# Init the base source
|
||||
./init-repository
|
||||
|
||||
./configure -confirm-license -opensource -prefix $(rpm --eval "%{_qt5_prefix}") \
|
||||
-archdatadir $(rpm --eval "%{_qt5_archdatadir}") -bindir $(rpm --eval "%{_qt5_bindir}") \
|
||||
-libdir $(rpm --eval "%{_qt5_libdir}") -libexecdir $(rpm --eval "%{_qt5_libexecdir}") \
|
||||
-datadir $(rpm --eval "%{_qt5_datadir}") -docdir $(rpm --eval "%{_qt5_docdir}") \
|
||||
-examplesdir $(rpm --eval "%{_qt5_examplesdir}") -headerdir $(rpm --eval "%{_qt5_headerdir}") \
|
||||
-importdir $(rpm --eval "%{_qt5_importdir}") -plugindir $(rpm --eval "%{_qt5_plugindir}") \
|
||||
-sysconfdir $(rpm --eval "%{_qt5_sysconfdir}") -translationdir $(rpm --eval "%{_qt5_translationdir}") \
|
||||
-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
|
||||
|
||||
make qmake_all
|
||||
|
||||
pushd qtbase
|
||||
|
||||
make $(rpm --eval '%{_smp_mflags}') || exit
|
||||
|
||||
popd
|
||||
|
||||
pushd qtdeclarative/src
|
||||
make $(rpm --eval '%{_smp_mflags}') sub-qmldevtools
|
||||
popd
|
||||
|
||||
pushd qttools/src/
|
||||
make $(rpm --eval '%{_smp_mflags}') sub-qdoc sub-qtattributionsscanner
|
||||
popd
|
||||
|
||||
pushd qttools/src/assistant
|
||||
make $(rpm --eval '%{_smp_mflags}') sub-qhelpgenerator
|
||||
popd
|
||||
|
||||
make docs
|
||||
|
||||
# Install docs on tmp directory
|
||||
DEST=${PWD}/install
|
||||
mkdir -p ${DEST}
|
||||
make INSTALL_ROOT=${DEST} install_docs
|
||||
|
||||
cd ${DEST}
|
||||
tar cfJ ../qt-doc-opensource-src-5.9.0.tar.xz .
|
389
qt5-doc.spec
Normal file
389
qt5-doc.spec
Normal file
@ -0,0 +1,389 @@
|
||||
Name: qt5-doc
|
||||
Summary: Qt5 - Complete documentation
|
||||
Version: 5.9.0
|
||||
Release: 0.beta.3%{?dist}
|
||||
BuildArch: noarch
|
||||
BuildRequires: qt5-rpm-macros >= 5.5.0
|
||||
License: GFDL
|
||||
# The tarball for this docs are self generated through provided script on SOURCES generate-qt-doc.sh
|
||||
Url: http://qt-project.org/
|
||||
Source0: qt-doc-opensource-src-%{version}.tar.xz
|
||||
Source1: generate-qt-doc.sh
|
||||
Requires: qt5-qtcanvas3d-doc >= %{version}
|
||||
Requires: qt5-qtbase-doc >= %{version}
|
||||
Requires: qt5-qt3d-doc >= %{version}
|
||||
Requires: qt5-qtcharts-doc >= %{version}
|
||||
Requires: qt5-qtconnectivity-doc >= %{version}
|
||||
Requires: qt5-qtdeclarative-doc >= %{version}
|
||||
Requires: qt5-qtgraphicaleffects-doc >= %{version}
|
||||
Requires: qt5-qtimageformats-doc >= %{version}
|
||||
Requires: qt5-qtlocation-doc >= %{version}
|
||||
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-qtwebchannel-doc >= %{version}
|
||||
Requires: qt5-qtwebengine-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
|
||||
|
||||
%package -n qt5-qtcanvas3d-doc
|
||||
Summary: Documentation for qtcanvas3d
|
||||
|
||||
%description -n qt5-qtcanvas3d-doc
|
||||
%{summary}.
|
||||
|
||||
%files -n qt5-qtcanvas3d-doc
|
||||
%{_docdir}/qt5/qtcanvas3d*
|
||||
|
||||
%package -n qt5-qtbase-doc
|
||||
Summary: Documentation for qtbase
|
||||
|
||||
%description -n qt5-qtbase-doc
|
||||
%{summary}.
|
||||
|
||||
%files -n qt5-qtbase-doc
|
||||
%{_docdir}/qt5/qmake*
|
||||
%{_docdir}/qt5/qtconcurrent*
|
||||
%{_docdir}/qt5/qtcore*
|
||||
%{_docdir}/qt5/qtdbus*
|
||||
%{_docdir}/qt5/qtgui*
|
||||
%{_docdir}/qt5/qtnetwork*
|
||||
%{_docdir}/qt5/qtopengl*
|
||||
%{_docdir}/qt5/qtplatformheaders*
|
||||
%{_docdir}/qt5/qtprintsupport*
|
||||
%{_docdir}/qt5/qtsql*
|
||||
%{_docdir}/qt5/qtwidgets*
|
||||
%{_docdir}/qt5/qtxml*
|
||||
%{_docdir}/qt5/qttestlib*
|
||||
|
||||
%package -n qt5-qt3d-doc
|
||||
Summary: Documentation for qt3d
|
||||
|
||||
%description -n qt5-qt3d-doc
|
||||
%{summary}.
|
||||
|
||||
%files -n qt5-qt3d-doc
|
||||
%{_docdir}/qt5/qt3d*
|
||||
|
||||
%package -n qt5-qtcharts-doc
|
||||
Summary: Documentation for qtcharts
|
||||
|
||||
%description -n qt5-qtcharts-doc
|
||||
%{summary}.
|
||||
|
||||
%files -n qt5-qtcharts-doc
|
||||
%{_docdir}/qt5/qtcharts*
|
||||
%{_docdir}/qt5/qtlabs*
|
||||
|
||||
%package -n qt5-qtconnectivity-doc
|
||||
Summary: Documentation for qtconnectivity
|
||||
|
||||
%description -n qt5-qtconnectivity-doc
|
||||
%{summary}.
|
||||
|
||||
%files -n qt5-qtconnectivity-doc
|
||||
%{_docdir}/qt5/qtbluetooth*
|
||||
%{_docdir}/qt5/qtnfc*
|
||||
|
||||
%package -n qt5-qtdeclarative-doc
|
||||
Summary: Documentation for qtdeclarative
|
||||
|
||||
%description -n qt5-qtdeclarative-doc
|
||||
%{summary}.
|
||||
|
||||
%files -n qt5-qtdeclarative-doc
|
||||
%{_docdir}/qt5/qtqml*
|
||||
%{_docdir}/qt5/qtquick*
|
||||
|
||||
%package -n qt5-qtgraphicaleffects-doc
|
||||
Summary: Documentation for qtgraphicaleffects
|
||||
|
||||
%description -n qt5-qtgraphicaleffects-doc
|
||||
%{summary}.
|
||||
|
||||
%files -n qt5-qtgraphicaleffects-doc
|
||||
%{_docdir}/qt5/qtgraphicaleffects*
|
||||
|
||||
%package -n qt5-qtimageformats-doc
|
||||
Summary: Documentation for qtimageformats
|
||||
|
||||
%description -n qt5-qtimageformats-doc
|
||||
%{summary}.
|
||||
|
||||
%files -n qt5-qtimageformats-doc
|
||||
%{_docdir}/qt5/qtimageformats*
|
||||
|
||||
%package -n qt5-qtmultimedia-doc
|
||||
Summary: Documentation for qtmultimedia
|
||||
|
||||
%description -n qt5-qtmultimedia-doc
|
||||
%{summary}.
|
||||
|
||||
%files -n qt5-qtmultimedia-doc
|
||||
%{_docdir}/qt5/qtmultimedia*
|
||||
|
||||
%package -n qt5-qtquickcontrols2-doc
|
||||
Summary: Documentation for qtquickcontrols2
|
||||
|
||||
%description -n qt5-qtquickcontrols2-doc
|
||||
%{summary}.
|
||||
|
||||
%files -n qt5-qtquickcontrols2-doc
|
||||
%{_docdir}/qt5/qtquickcontrols2*
|
||||
|
||||
%package -n qt5-qtquickcontrols-doc
|
||||
Summary: Documentation for qtquickcontrols
|
||||
|
||||
%description -n qt5-qtquickcontrols-doc
|
||||
%{summary}.
|
||||
|
||||
%files -n qt5-qtquickcontrols-doc
|
||||
%{_docdir}/qt5/qtquickcontrols*
|
||||
|
||||
%package -n qt5-qtscript-doc
|
||||
Summary: Documentation for qtscript
|
||||
|
||||
%description -n qt5-qtscript-doc
|
||||
%{summary}.
|
||||
|
||||
%files -n qt5-qtscript-doc
|
||||
%{_docdir}/qt5/qtscript*
|
||||
|
||||
%package -n qt5-qtscxml-doc
|
||||
Summary: Documentation for qtscxml
|
||||
|
||||
%description -n qt5-qtscxml-doc
|
||||
%{summary}.
|
||||
|
||||
%files -n qt5-qtscxml-doc
|
||||
%{_docdir}/qt5/qtscxml*
|
||||
|
||||
%package -n qt5-qtsensors-doc
|
||||
Summary: Documentation for qtsensors
|
||||
|
||||
%description -n qt5-qtsensors-doc
|
||||
%{summary}.
|
||||
|
||||
%files -n qt5-qtsensors-doc
|
||||
%{_docdir}/qt5/qtsensors*
|
||||
|
||||
%package -n qt5-qtserialbus-doc
|
||||
Summary: Documentation for qtserialbus
|
||||
|
||||
%description -n qt5-qtserialbus-doc
|
||||
%{summary}.
|
||||
|
||||
%files -n qt5-qtserialbus-doc
|
||||
%{_docdir}/qt5/qtserialbus*
|
||||
|
||||
%package -n qt5-qtserialport-doc
|
||||
Summary: Documentation for qtserialport
|
||||
|
||||
%description -n qt5-qtserialport-doc
|
||||
%{summary}.
|
||||
|
||||
%files -n qt5-qtserialport-doc
|
||||
%{_docdir}/qt5/qtserialport*
|
||||
|
||||
%package -n qt5-qtsvg-doc
|
||||
Summary: Documentation for qtsvg
|
||||
|
||||
%description -n qt5-qtsvg-doc
|
||||
%{summary}.
|
||||
|
||||
%files -n qt5-qtsvg-doc
|
||||
%{_docdir}/qt5/qtsvg*
|
||||
|
||||
%package -n qt5-qttools-doc
|
||||
Summary: Documentation for qttools
|
||||
|
||||
%description -n qt5-qttools-doc
|
||||
%{summary}.
|
||||
|
||||
%files -n qt5-qttools-doc
|
||||
%{_docdir}/qt5/qdoc*
|
||||
%{_docdir}/qt5/qtassistant*
|
||||
%{_docdir}/qt5/qtdesigner*
|
||||
%{_docdir}/qt5/qthelp*
|
||||
%{_docdir}/qt5/qtlinguist*
|
||||
%{_docdir}/qt5/qtuitools*
|
||||
|
||||
%package -n qt5-qtvirtualkeyboard-doc
|
||||
Summary: Documentation for qtvirtualkeyboard
|
||||
|
||||
%description -n qt5-qtvirtualkeyboard-doc
|
||||
%{summary}.
|
||||
|
||||
%files -n qt5-qtvirtualkeyboard-doc
|
||||
%{_docdir}/qt5/qtvirtualkeyboard*
|
||||
|
||||
%package -n qt5-qtwebchannel-doc
|
||||
Summary: Documentation for qtwebchannel
|
||||
|
||||
%description -n qt5-qtwebchannel-doc
|
||||
%{summary}.
|
||||
|
||||
%files -n qt5-qtwebchannel-doc
|
||||
%{_docdir}/qt5/qtwebchannel*
|
||||
|
||||
%package -n qt5-qtwebengine-doc
|
||||
Summary: Documentation for qtwebengine
|
||||
|
||||
%description -n qt5-qtwebengine-doc
|
||||
%{summary}.
|
||||
|
||||
%files -n qt5-qtwebengine-doc
|
||||
%{_docdir}/qt5/qtwebengine*
|
||||
|
||||
%package -n qt5-qtwebsockets-doc
|
||||
Summary: Documentation for qtwebsockets
|
||||
|
||||
%description -n qt5-qtwebsockets-doc
|
||||
%{summary}.
|
||||
|
||||
%files -n qt5-qtwebsockets-doc
|
||||
%{_docdir}/qt5/qtwebsockets*
|
||||
|
||||
%package -n qt5-qtx11extras-doc
|
||||
Summary: Documentation for qtx11extras
|
||||
|
||||
%description -n qt5-qtx11extras-doc
|
||||
%{summary}.
|
||||
|
||||
%files -n qt5-qtx11extras-doc
|
||||
%{_docdir}/qt5/qtx11extras*
|
||||
|
||||
%package -n qt5-qtdoc-doc
|
||||
Summary: Documentation for qtdoc
|
||||
|
||||
%description -n qt5-qtdoc-doc
|
||||
%{summary}.
|
||||
|
||||
%files -n qt5-qtdoc-doc
|
||||
%{_docdir}/qt5/qtdoc*
|
||||
|
||||
%package -n qt5-qtspeech-doc
|
||||
Summary: Documentation for qtspeech
|
||||
|
||||
%description -n qt5-qtspeech-doc
|
||||
%{summary}.
|
||||
|
||||
%files -n qt5-qtspeech-doc
|
||||
%{_docdir}/qt5/qtspeech*
|
||||
|
||||
%package -n qt5-qtremoteobjects-doc
|
||||
Summary: Documentation for qtremoteobjects
|
||||
|
||||
%description -n qt5-qtremoteobjects-doc
|
||||
%{summary}.
|
||||
|
||||
%files -n qt5-qtremoteobjects-doc
|
||||
%{_docdir}/qt5/qtremoteobjects*
|
||||
|
||||
%package -n qt5-qtpurchasing-doc
|
||||
Summary: Documentation for qtpurchasing
|
||||
|
||||
%description -n qt5-qtpurchasing-doc
|
||||
%{summary}.
|
||||
|
||||
%files -n qt5-qtpurchasing-doc
|
||||
%{_docdir}/qt5/qtpurchasing*
|
||||
|
||||
%package -n qt5-qtwayland-doc
|
||||
Summary: Documentation for qtwayland
|
||||
|
||||
%description -n qt5-qtwayland-doc
|
||||
%{summary}.
|
||||
|
||||
%files -n qt5-qtwayland-doc
|
||||
%{_docdir}/qt5/qtwayland*
|
||||
|
||||
%package -n qt5-qtwebview-doc
|
||||
Summary: Documentation for qtwebview
|
||||
|
||||
%description -n qt5-qtwebview-doc
|
||||
%{summary}.
|
||||
|
||||
%files -n qt5-qtwebview-doc
|
||||
%{_docdir}/qt5/qtwebview*
|
||||
|
||||
%package -n qt5-qtlocation-doc
|
||||
Summary: Documentation for qtlocation
|
||||
|
||||
%description -n qt5-qtlocation-doc
|
||||
%{summary}.
|
||||
|
||||
%files -n qt5-qtlocation-doc
|
||||
%{_docdir}/qt5/qtlocation*
|
||||
%{_docdir}/qt5/qtpositioning*
|
||||
|
||||
%package -n qt5-qtxmlpatterns-doc
|
||||
Summary: Documentation for qtxmlpatterns
|
||||
|
||||
%description -n qt5-qtxmlpatterns-doc
|
||||
%{summary}.
|
||||
|
||||
%files -n qt5-qtxmlpatterns-doc
|
||||
%{_docdir}/qt5/qtxmlpatterns*
|
||||
|
||||
%package -n qt5-qtdatavis3d-doc
|
||||
Summary: Documentation for qtdatavis3d
|
||||
|
||||
%description -n qt5-qtdatavis3d-doc
|
||||
%{summary}.
|
||||
|
||||
%files -n qt5-qtdatavis3d-doc
|
||||
%{_docdir}/qt5/qtdatavis3d*
|
||||
%{_docdir}/qt5/qtdatavisualization*
|
||||
|
||||
%package -n qt5-qtgamepad-doc
|
||||
Summary: Documentation for qtgamepad
|
||||
|
||||
%description -n qt5-qtgamepad-doc
|
||||
%{summary}.
|
||||
|
||||
%files -n qt5-qtgamepad-doc
|
||||
%{_docdir}/qt5/qtgamepad*
|
||||
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}
|
||||
cd %{buildroot}
|
||||
tar xf %{SOURCE0}
|
||||
|
||||
# Remove non used
|
||||
cd %{buildroot}%{_docdir}/qt5
|
||||
rm -rf activeqt* qtandroidextras* qtmacextras* qtwinextras*
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue May 09 2017 Helio Chissini de Castro <helio@kde.org> - 5.9.0-0.beta.3
|
||||
- Individual package plus meta package
|
||||
|
||||
* Tue Apr 18 2017 Helio Chissini de Castro <helio@kde.org> - 5.9.0-0.beta1.1
|
||||
- Add proper provides and obsoletes
|
||||
|
||||
* Thu Apr 13 2017 Helio Chissini de Castro <helio@kde.org> - 5.9.0-0.beta1.0
|
||||
- Full documentation package self generated
|
||||
|
Loading…
Reference in New Issue
Block a user