commit 273f85fd8276570a44284424e1ee9350e85ef17b
Author: Jan Rękorajski <bagg...@pld-linux.org>
Date:   Sun Apr 8 18:16:13 2018 +0200

    - up to 4.6.0
    - stop playing with libexecdir

 qt-creator-libexec.patch | 20 --------------------
 qt-creator.spec          | 38 ++++++++++++++++++++------------------
 2 files changed, 20 insertions(+), 38 deletions(-)
---
diff --git a/qt-creator.spec b/qt-creator.spec
index 4080834..89ecbb2 100644
--- a/qt-creator.spec
+++ b/qt-creator.spec
@@ -1,14 +1,13 @@
 Summary:       An IDE tailored to the needs of Qt developers
 Summary(pl.UTF-8):     IDE dostosowane do potrzeb developerow Qt
 Name:          qt-creator
-Version:       4.3.0
-Release:       2
+Version:       4.6.0
+Release:       1
 Epoch:         1
 License:       LGPL v2.1
 Group:         X11/Development/Tools
-Source0:       
http://download.qt.io/official_releases/qtcreator/4.3/%{version}/%{name}-opensource-src-%{version}.tar.xz
-# Source0-md5: b8059b45c8b02a8d52d2d2e46b7b740b
-Patch0:                %{name}-libexec.patch
+Source0:       
http://download.qt.io/official_releases/qtcreator/4.6/%{version}/%{name}-opensource-src-%{version}.tar.xz
+# Source0-md5: 8aae7bc90f1973b86f6dd75d63dbaded
 URL:           http://doc.qt.io/qt-5/topics-app-development.html
 BuildRequires: Qt5Concurrent-devel >= 5.6.0
 BuildRequires: Qt5Designer-devel >= 5.6.0
@@ -33,12 +32,14 @@ Requires(post,postun):      desktop-file-utils
 Requires:      Qt5Gui-platform-xcb
 Requires:      Qt5Quick-controls
 Requires:      Qt5Sql-sqldriver-sqlite3
-Requires:      qt5-qtdeclarative
 Requires:      hicolor-icon-theme
+Requires:      qt5-qtdeclarative
 # for xdg-open
 Suggests:      xdg-utils
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define                skip_post_check_so      'libClangsupport\.so.*'
+
 %description
 Qt Creator is a cross-platform integrated development environment
 (IDE) tailored to the needs of Qt developers.
@@ -49,7 +50,6 @@ Qt.
 
 %prep
 %setup -q -n %{name}-opensource-src-%{version}
-%patch0 -p1
 
 # fix unresolved symbols in libQtcSsh
 echo >> src/libs/ssh/ssh_dependencies.pri
@@ -65,6 +65,7 @@ qmake-qt5 qtcreator.pro \
        LLVM_INSTALL_DIR="%{_prefix}" \
        QMAKE_CXX="%{__cxx}" \
        QMAKE_LINK="%{__cxx}" \
+       QMAKE_CFLAGS_ISYSTEM=-I \
        QMAKE_CXXFLAGS_RELEASE="%{rpmcxxflags}" \
        QMAKE_RPATH=
 
@@ -102,23 +103,22 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/qbs-config
 %attr(755,root,root) %{_bindir}/qbs-config-ui
 %attr(755,root,root) %{_bindir}/qbs-create-project
-%attr(755,root,root) %{_bindir}/qbs-qmltypes
 %attr(755,root,root) %{_bindir}/qbs-setup-android
 %attr(755,root,root) %{_bindir}/qbs-setup-qt
 %attr(755,root,root) %{_bindir}/qbs-setup-toolchains
 %attr(755,root,root) %{_bindir}/qtcreator
 %{_sysconfdir}/ld.so.conf.d/qtcreator.conf
+%dir %{_libexecdir}/qtcreator
+%attr(755,root,root) %{_libexecdir}/qtcreator/buildoutputparser
+%attr(755,root,root) %{_libexecdir}/qtcreator/clangbackend
+%attr(755,root,root) %{_libexecdir}/qtcreator/cpaster
+%attr(755,root,root) %{_libexecdir}/qtcreator/dmgbuild
+%attr(755,root,root) %{_libexecdir}/qtcreator/qbs_processlauncher
+%attr(755,root,root) %{_libexecdir}/qtcreator/qml2puppet
+%attr(755,root,root) %{_libexecdir}/qtcreator/qtcreator_process_stub
+%attr(755,root,root) %{_libexecdir}/qtcreator/qtpromaker
+%attr(755,root,root) %{_libexecdir}/qtcreator/sdktool
 %dir %{_libdir}/qtcreator
-%attr(755,root,root) %{_libdir}/qtcreator/buildoutputparser
-%attr(755,root,root) %{_libdir}/qtcreator/clangbackend
-%attr(755,root,root) %{_libdir}/qtcreator/clangpchmanagerbackend
-%attr(755,root,root) %{_libdir}/qtcreator/clangrefactoringbackend
-%attr(755,root,root) %{_libdir}/qtcreator/cpaster
-%attr(755,root,root) %{_libdir}/qtcreator/qbs_processlauncher
-%attr(755,root,root) %{_libdir}/qtcreator/qml2puppet
-%attr(755,root,root) %{_libdir}/qtcreator/qtcreator_process_stub
-%attr(755,root,root) %{_libdir}/qtcreator/qtpromaker
-%attr(755,root,root) %{_libdir}/qtcreator/sdktool
 %attr(755,root,root) %{_libdir}/qtcreator/lib*.so.*.*
 %attr(755,root,root) %{_libdir}/qtcreator/lib*.so
 %attr(755,root,root) %ghost %{_libdir}/qtcreator/lib*.so.1
@@ -127,8 +127,10 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/qtcreator/plugins/lib*.so
 %dir %{_libdir}/qtcreator/plugins/qbs
 %dir %{_libdir}/qtcreator/plugins/qbs/plugins
+%attr(755,root,root) 
%{_libdir}/qtcreator/plugins/qbs/plugins/libclangcompilationdbgenerator.so
 %attr(755,root,root) 
%{_libdir}/qtcreator/plugins/qbs/plugins/libqbs_cpp_scanner.so
 %attr(755,root,root) 
%{_libdir}/qtcreator/plugins/qbs/plugins/libqbs_qt_scanner.so
+%attr(755,root,root) 
%{_libdir}/qtcreator/plugins/qbs/plugins/libvisualstudiogenerator.so
 %dir %{_libdir}/qtcreator/plugins/qmldesigner
 %attr(755,root,root) 
%{_libdir}/qtcreator/plugins/qmldesigner/libcomponentsplugin.so
 %attr(755,root,root) 
%{_libdir}/qtcreator/plugins/qmldesigner/libqtquickplugin.so
diff --git a/qt-creator-libexec.patch b/qt-creator-libexec.patch
deleted file mode 100644
index 25ded8e..0000000
--- a/qt-creator-libexec.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- qt-creator-opensource-src-3.6.0/qtcreator.pri.libexec      2016-02-14 
13:10:37.151868039 +0100
-+++ qt-creator-opensource-src-3.6.0/qtcreator.pri      2016-02-14 
13:12:02.182955481 +0100
-@@ -108,7 +108,7 @@ osx {
-     win32: \
-         IDE_LIBEXEC_PATH = $$IDE_OUTPUT_PATH/bin
-     else: \
--        IDE_LIBEXEC_PATH = $$IDE_OUTPUT_PATH/libexec/qtcreator
-+        IDE_LIBEXEC_PATH = $$IDE_LIBRARY_PATH
-     !isEqual(IDE_SOURCE_TREE, $$IDE_OUTPUT_PATH):copydata = 1
- 
-     LINK_LIBRARY_PATH = $$IDE_BUILD_TREE/$$IDE_LIBRARY_BASENAME/qtcreator
-@@ -119,7 +119,7 @@ osx {
-     win32: \
-         INSTALL_LIBEXEC_PATH = $$QTC_PREFIX/bin
-     else: \
--        INSTALL_LIBEXEC_PATH = $$QTC_PREFIX/libexec/qtcreator
-+        INSTALL_LIBEXEC_PATH = $$QTC_PREFIX/$$IDE_LIBRARY_BASENAME/qtcreator
-     INSTALL_DATA_PATH    = $$QTC_PREFIX/share/qtcreator
-     INSTALL_DOC_PATH     = $$QTC_PREFIX/share/doc/qtcreator
-     INSTALL_BIN_PATH     = $$QTC_PREFIX/bin
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/qt-creator.git/commitdiff/273f85fd8276570a44284424e1ee9350e85ef17b

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to