Mageia Bugzilla – Attachment 4619 Details for
Bug 9812
qtdoc5 just builds a small subset of the qt API documentation
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
qtbase5.spec patch to build and package QCH doc files
qtbase5.spec.patch (text/plain), 1.22 KB, created by
Oleg Bosis
on 2013-12-15 13:39:16 CET
(
hide
)
Description:
qtbase5.spec patch to build and package QCH doc files
Filename:
MIME Type:
Creator:
Oleg Bosis
Created:
2013-12-15 13:39:16 CET
Size:
1.22 KB
patch
obsolete
>--- qtbase5.spec.orig 2013-12-14 07:52:56.000000000 +0400 >+++ qtbase5.spec 2013-12-14 21:13:18.365629284 +0400 >@@ -156,6 +156,11 @@ > BuildRequires: pkgconfig(gstreamer-app-0.10) > BuildRequires: pkgconfig(vg) > >+%if %{with docs} >+# This one is required to build QCH-format documentation for APIs and tools in this package set >+BuildRequires: qttools5-assistant >+%endif >+ > %description > Qt is a GUI software toolkit which simplifies the task of writing and > maintaining GUI (Graphical User Interface) applications for the X >@@ -206,6 +211,20 @@ > %{_qt5_examplesdir} > > #------------------------------------------------------------------------------ >+%if %{with docs} >+%package docs >+Summary: QtBase%{qtmajor} APIs and tools docs >+Group: Documentation >+Requires: qttools5-assistant >+BuildArch: noarch >+ >+%description docs >+Documentation for APIs and tools in QtBase5 package for use with Qt Assistant. >+ >+%files docs >+%{_qt5_docdir}/* >+%endif >+#------------------------------------------------------------------------------ > > %if ! %without odbc > >@@ -1250,6 +1269,10 @@ > # .a files are needed by qttols5 > #rm -f %{buildroot}%{_qt5_libdir}/lib*.a > >+%if %{with docs} >+make docs >+cp -fr doc/*.qch %{buildroot}%{_qt5_docdir}/ >+%endif > > > %changelog
--- qtbase5.spec.orig 2013-12-14 07:52:56.000000000 +0400 +++ qtbase5.spec 2013-12-14 21:13:18.365629284 +0400 @@ -156,6 +156,11 @@ BuildRequires: pkgconfig(gstreamer-app-0.10) BuildRequires: pkgconfig(vg) +%if %{with docs} +# This one is required to build QCH-format documentation for APIs and tools in this package set +BuildRequires: qttools5-assistant +%endif + %description Qt is a GUI software toolkit which simplifies the task of writing and maintaining GUI (Graphical User Interface) applications for the X @@ -206,6 +211,20 @@ %{_qt5_examplesdir} #------------------------------------------------------------------------------ +%if %{with docs} +%package docs +Summary: QtBase%{qtmajor} APIs and tools docs +Group: Documentation +Requires: qttools5-assistant +BuildArch: noarch + +%description docs +Documentation for APIs and tools in QtBase5 package for use with Qt Assistant. + +%files docs +%{_qt5_docdir}/* +%endif +#------------------------------------------------------------------------------ %if ! %without odbc @@ -1250,6 +1269,10 @@ # .a files are needed by qttols5 #rm -f %{buildroot}%{_qt5_libdir}/lib*.a +%if %{with docs} +make docs +cp -fr doc/*.qch %{buildroot}%{_qt5_docdir}/ +%endif %changelog
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 9812
: 4619 |
4620
|
4621