From 0a42f5651212e199397008558e7a77ac81f5a7440dc46c0f287d460b0b7e3442 Mon Sep 17 00:00:00 2001
From: Dominique Leuenberger <dleuenberger@suse.com>
Date: Tue, 13 Jun 2017 14:04:17 +0000
Subject: [PATCH] Accepting request 500007 from KDE:Qt5

Qt 5.9.0 final

OBS-URL: https://build.opensuse.org/request/show/500007
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libqt5-qttools?expand=0&rev=30
---
 baselibs.conf                       |  4 +-
 libqt5-qttools.changes              | 14 +++++++
 libqt5-qttools.spec                 | 58 ++++++++++-------------------
 qttools-opensource-src-5.7.1.tar.xz |  3 --
 qttools-opensource-src-5.9.0.tar.xz |  3 ++
 5 files changed, 37 insertions(+), 45 deletions(-)
 delete mode 100644 qttools-opensource-src-5.7.1.tar.xz
 create mode 100644 qttools-opensource-src-5.9.0.tar.xz

diff --git a/baselibs.conf b/baselibs.conf
index 7c07d20..851dfcf 100644
--- a/baselibs.conf
+++ b/baselibs.conf
@@ -1,11 +1,9 @@
-libQt5CLucene5
 libQt5Designer5
 libQt5DesignerComponents5
 libQt5Help5
 libqt5-qttools
 libqt5-qttools-devel
 	requires "libqt5-qttools-<targettype> = <version>"
-	requires "libQt5CLucene5-<targettype> = <version>"
 	requires "libQt5Designer5-<targettype> = <version>"
 	requires "libQt5DesignerComponents5-<targettype> = <version>"
-	requires "libQt5Help5-<targettype> = <version>"
\ No newline at end of file
+	requires "libQt5Help5-<targettype> = <version>"
diff --git a/libqt5-qttools.changes b/libqt5-qttools.changes
index 690ce7c..0d051f5 100644
--- a/libqt5-qttools.changes
+++ b/libqt5-qttools.changes
@@ -1,3 +1,17 @@
+-------------------------------------------------------------------
+Wed May 31 07:05:26 UTC 2017 - fabian@ritter-vogt.de
+
+- Update to 5.9.0 final
+
+-------------------------------------------------------------------
+Wed May 24 19:16:41 UTC 2017 - fabian@ritter-vogt.de
+
+- Update to 5.9.0 RC:
+  * For more details please see: 
+    http://lists.qt-project.org/pipermail/announce/2017-May/000115.html
+    and https://wiki.qt.io/New_Features_in_Qt_5.9
+- Qt5CLucene5 dropped upstream
+
 -------------------------------------------------------------------
 Wed Dec 14 16:05:59 UTC 2016 - hrvoje.senjan@gmail.com
 
diff --git a/libqt5-qttools.spec b/libqt5-qttools.spec
index 2663552..25e0462 100644
--- a/libqt5-qttools.spec
+++ b/libqt5-qttools.spec
@@ -19,17 +19,17 @@
 %define qt5_snapshot 0
 
 Name:           libqt5-qttools
-Version:        5.7.1
+Version:        5.9.0
 Release:        0
 Summary:        Qt 5 QtTools Module
 License:        SUSE-LGPL-2.1-with-digia-exception-1.1 or GPL-3.0
 Group:          Development/Libraries/X11
-Url:            http://qt.digia.com
+Url:            https://www.qt.io
 %define base_name libqt5
-%define real_version 5.7.1
-%define so_version 5.7.1
+%define real_version 5.9.0
+%define so_version 5.9.0
 %define tar_version qttools-opensource-src-%{real_version}
-Source:         %{tar_version}.tar.xz
+Source:         https://download.qt.io/official_releases/qt/5.9/%{real_version}/submodules/%{tar_version}.tar.xz
 Source1:        baselibs.conf
 Source11:       designer5.desktop
 Source12:       linguist5.desktop
@@ -74,7 +74,6 @@ Summary:        Qt Development Kit
 Group:          Development/Libraries/X11
 Requires:       %{name} = %{version}
 Requires:       %{name}-doc = %{version}
-Requires:       libQt5CLucene5 = %{version}
 Requires:       libQt5Designer5 = %{version}
 Requires:       libQt5DesignerComponents5 = %{version}
 Requires:       libQt5Help5 = %{version}
@@ -105,14 +104,6 @@ Recommends:     %{name}-devel
 %description examples
 Examples for libqt5-qttools module.
 
-%package -n libQt5CLucene5
-Summary:        Qt 5 Clucene Library
-Group:          Development/Libraries/X11
-%requires_ge libQt5Core5
-
-%description -n libQt5CLucene5
-The Qt 5 Clucene library.
-
 %package -n libQt5Designer5
 Summary:        Qt 5 Designer Library
 Group:          Development/Libraries/X11
@@ -133,7 +124,6 @@ The Qt 5 Designer Components library.
 %package -n libQt5Help5
 Summary:        Qt 5 Help Library
 Group:          Development/Libraries/X11
-Requires:       libQt5CLucene5 = %{version}
 %requires_ge libQt5Widgets5
 %requires_ge libQt5Sql5
 %requires_ge libQt5Network5
@@ -187,8 +177,6 @@ Qt 5 tool used by Qt Developers to generate documentation for software projects.
 
 %post -p /sbin/ldconfig
 
-%post -n libQt5CLucene5 -p /sbin/ldconfig
-
 %post -n libQt5Designer5 -p /sbin/ldconfig
 
 %post -n libQt5DesignerComponents5 -p /sbin/ldconfig
@@ -197,8 +185,6 @@ Qt 5 tool used by Qt Developers to generate documentation for software projects.
 
 %postun -p /sbin/ldconfig
 
-%postun -n libQt5CLucene5 -p /sbin/ldconfig
-
 %postun -n libQt5Designer5 -p /sbin/ldconfig
 
 %postun -n libQt5DesignerComponents5 -p /sbin/ldconfig
@@ -255,7 +241,7 @@ install -D -m644 src/qdbus/qdbusviewer/images/qdbusviewer-128.png %{buildroot}%{
 
 %files
 %defattr(-,root,root,755)
-%doc LGPL_EXCEPTION.txt LICENSE.*
+%doc LICENSE.*
 %{_bindir}/assistant*
 %{_bindir}/designer*
 %{_bindir}/pixeltool*
@@ -265,6 +251,7 @@ install -D -m644 src/qdbus/qdbusviewer/images/qdbusviewer-128.png %{buildroot}%{
 %{_bindir}/qhelpgenerator*
 %{_bindir}/qtdiag*
 %{_bindir}/qtplugininfo*
+%{_bindir}/qtattributionsscanner*
 %{_libqt5_bindir}/assistant*
 %{_libqt5_bindir}/designer*
 %{_libqt5_bindir}/pixeltool*
@@ -274,6 +261,7 @@ install -D -m644 src/qdbus/qdbusviewer/images/qdbusviewer-128.png %{buildroot}%{
 %{_libqt5_bindir}/qhelpgenerator*
 %{_libqt5_bindir}/qtdiag*
 %{_libqt5_bindir}/qtplugininfo*
+%{_libqt5_bindir}/qtattributionsscanner*
 %{_datadir}/applications/assistant5.desktop
 %{_datadir}/applications/designer5.desktop
 %{_datadir}/applications/qdbusviewer5.desktop
@@ -287,7 +275,7 @@ install -D -m644 src/qdbus/qdbusviewer/images/qdbusviewer-128.png %{buildroot}%{
 
 %files -n libqt5-linguist
 %defattr(-,root,root,755)
-%doc LGPL_EXCEPTION.txt LICENSE.*
+%doc LICENSE.*
 %{_bindir}/lconvert*
 %{_bindir}/linguist*
 %{_bindir}/lrelease*
@@ -302,55 +290,49 @@ install -D -m644 src/qdbus/qdbusviewer/images/qdbusviewer-128.png %{buildroot}%{
 %dir %{_datadir}/icons/hicolor/*/apps
 %{_datadir}/icons/hicolor/*/apps/linguist5.png
 
-%files -n libQt5CLucene5
-%defattr(-,root,root,755)
-%doc LGPL_EXCEPTION.txt LICENSE.*
-%{_libqt5_libdir}/libQt5CLucene.so.*
-
 %files -n libQt5Designer5
 %defattr(-,root,root,755)
-%doc LGPL_EXCEPTION.txt LICENSE.*
+%doc LICENSE.*
 %{_libqt5_libdir}/libQt5Designer.so.*
 
 %files -n libQt5DesignerComponents5
 %defattr(-,root,root,755)
-%doc LGPL_EXCEPTION.txt LICENSE.*
+%doc LICENSE.*
 %{_libqt5_libdir}/libQt5DesignerComponents.so.*
 
 %files -n libQt5Help5
 %defattr(-,root,root,755)
-%doc LGPL_EXCEPTION.txt LICENSE.*
+%doc LICENSE.*
 %{_libqt5_libdir}/libQt5Help.so.*
 
 %files -n libqt5-linguist-devel
 %defattr(-,root,root,755)
-%doc LGPL_EXCEPTION.txt LICENSE.*
+%doc LICENSE.*
 %{_libqt5_libdir}/cmake/Qt5LinguistTools/
 %{_datadir}/qt5/phrasebooks
 
 %files -n libqt5-qdbus
 %defattr(-,root,root,755)
-%doc LGPL_EXCEPTION.txt LICENSE.*
+%doc LICENSE.*
 %{_bindir}/qdbus-qt5
 %{_libqt5_bindir}/qdbus
 %{_libqt5_bindir}/qdbus-qt5
 
 %files -n libqt5-qtpaths
 %defattr(-,root,root,755)
-%doc LGPL_EXCEPTION.txt LICENSE.*
+%doc LICENSE.*
 %{_bindir}/qtpaths
 %{_libqt5_bindir}/qtpaths
 
 %files doc
 %defattr(-,root,root,755)
-%doc *.txt LICENSE.*
+%doc LICENSE.*
 %{_bindir}/qdoc*
 %{_libqt5_bindir}/qdoc*
 
 %files private-headers-devel
 %defattr(-,root,root,755)
-%doc LGPL_EXCEPTION.txt LICENSE.*
-%{_libqt5_includedir}/QtCLucene/%{so_version}
+%doc LICENSE.*
 %{_libqt5_includedir}/QtDesigner/%{so_version}
 %{_libqt5_includedir}/QtDesignerComponents/%{so_version}
 %{_libqt5_includedir}/QtHelp/%{so_version}
@@ -358,9 +340,7 @@ install -D -m644 src/qdbus/qdbusviewer/images/qdbusviewer-128.png %{buildroot}%{
 
 %files devel
 %defattr(-,root,root,755)
-%doc LGPL_EXCEPTION.txt LICENSE.*
-%exclude %{_libqt5_includedir}/QtCLucene/%{so_version}
-%{_libqt5_includedir}/QtCLucene
+%doc LICENSE.*
 %exclude %{_libqt5_includedir}/QtDesigner/%{so_version}
 %{_libqt5_includedir}/QtDesigner
 %exclude %{_libqt5_includedir}/QtDesignerComponents/%{so_version}
@@ -383,7 +363,7 @@ install -D -m644 src/qdbus/qdbusviewer/images/qdbusviewer-128.png %{buildroot}%{
 
 %files examples
 %defattr(-,root,root,755)
-%doc LGPL_EXCEPTION.txt LICENSE.*
+%doc LICENSE.*
 %{_libqt5_examplesdir}/
 
 %changelog
diff --git a/qttools-opensource-src-5.7.1.tar.xz b/qttools-opensource-src-5.7.1.tar.xz
deleted file mode 100644
index d9e6eb1..0000000
--- a/qttools-opensource-src-5.7.1.tar.xz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:64197022686c3d8b11a8639f102e2caf03cc325a30e7a32ba66881648ac2dfac
-size 10011108
diff --git a/qttools-opensource-src-5.9.0.tar.xz b/qttools-opensource-src-5.9.0.tar.xz
new file mode 100644
index 0000000..06eff99
--- /dev/null
+++ b/qttools-opensource-src-5.9.0.tar.xz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:64fe968e35f9d9f6617b48027957761cf76c20d43721ee6e2855a965afa285ee
+size 9740908