X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=qt-creator.spec;h=700c2b2a4c4b2f6275abedd0c4e9fed3d464b0ab;hb=a18d73a70c63fda95a544b64ae9bb96dfca30b92;hp=af75cf449fee8009cee8733058c49f6c7b9caa84;hpb=3d2b5d04cfaa87ae0dc89ffa10653890b1653b5b;p=packages%2Fqt-creator.git diff --git a/qt-creator.spec b/qt-creator.spec index af75cf4..700c2b2 100644 --- a/qt-creator.spec +++ b/qt-creator.spec @@ -1,54 +1,57 @@ Summary: An IDE tailored to the needs of Qt developers Summary(pl.UTF-8): IDE dostosowane do potrzeb developerow Qt Name: qt-creator -Version: 2.4.0 -Release: 2 +Version: 3.4.1 +Release: 1 Epoch: 1 License: LGPL v2.1 Group: X11/Development/Tools -Source0: http://get.qt.nokia.com/qtcreator/%{name}-%{version}-src.zip -# Source0-md5: ae9dca75b941bcff3833ea3fa26d8b4e +Source0: http://download.qt-project.org/official_releases/qtcreator/3.4/%{version}/%{name}-opensource-src-%{version}.tar.gz +# Source0-md5: bcbae4a567c93158babe3b7f42d01219 Source1: %{name}.desktop Patch0: %{name}-pluginpath64.patch -URL: http://qt.nokia.com/products/developer-tools -BuildRequires: QtDBus-devel -BuildRequires: QtDeclarative-devel -BuildRequires: QtDesigner-devel -BuildRequires: QtGui-devel -BuildRequires: QtHelp-devel -BuildRequires: QtNetwork-devel -BuildRequires: QtScript-devel -BuildRequires: QtSql-sqlite3 -BuildRequires: QtSvg-devel -BuildRequires: QtWebKit-devel -BuildRequires: QtXml-devel -BuildRequires: qt4-build >= 4.7.0 -BuildRequires: qt4-linguist -BuildRequires: qt4-qmake >= 4.7.0 +URL: http://qt.digia.com/Product/Developer-Tools +BuildRequires: Qt5Declarative-devel >= 5.3.1 +BuildRequires: Qt5Designer-devel >= 5.3.1 +BuildRequires: Qt5Gui-devel >= 5.3.1 +BuildRequires: Qt5Help-devel >= 5.3.1 +BuildRequires: Qt5Network-devel >= 5.3.1 +BuildRequires: Qt5Script-devel >= 5.3.1 +BuildRequires: Qt5Svg-devel >= 5.3.1 +BuildRequires: Qt5WebKit-devel >= 5.3.1 +BuildRequires: Qt5Xml-devel >= 5.3.1 +BuildRequires: gdb +BuildRequires: qt5-build >= 5.3.1 +BuildRequires: qt5-linguist +BuildRequires: qt5-qmake >= 5.3.1 +BuildRequires: rpm-pythonprov BuildRequires: rpmbuild(macros) >= 1.602 -BuildRequires: unzip Requires(post,postun): desktop-file-utils -%requires_eq QtCore -Requires: QtSql-sqlite3 +%requires_eq Qt5Core +Requires: Qt5Sql Requires: hicolor-icon-theme # for xdg-open Suggests: xdg-utils BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description -Qt Creator is a cross-platform integrated development environment (IDE) -tailored to the needs of Qt developers. +Qt Creator is a cross-platform integrated development environment +(IDE) tailored to the needs of Qt developers. %description -l pl.UTF-8 -Qt Creator to wieloplatformowe IDE dostosowane do potrzeb developerow Qt. +Qt Creator to wieloplatformowe IDE dostosowane do potrzeb developerow +Qt. %prep -%setup -q -n %{name}-%{version}-src +%setup -q -n %{name}-opensource-src-%{version} %if "%{_lib}" == "lib64" %patch0 -p1 %endif +# fix unresolved symbols in libQtcSsh +echo "LIBS += -ldl" > src/libs/ssh/ssh_dependencies.pri + %build export QTDIR=%{_libdir}/qt4 # the qmakespec in qt4 is somewhat broken, need to look at this @@ -100,15 +103,19 @@ rm -rf $RPM_BUILD_ROOT %attr(755,root,root) %{_bindir}/qtcreator %attr(755,root,root) %{_bindir}/qtcreator_process_stub %attr(755,root,root) %{_bindir}/qtpromaker +%attr(755,root,root) %{_bindir}/sdktool %{_sysconfdir}/ld.so.conf.d/qtcreator.conf %dir %{_libdir}/qtcreator %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 %dir %{_libdir}/qtcreator/plugins -%dir %{_libdir}/qtcreator/plugins/Nokia -%{_libdir}/qtcreator/plugins/Nokia/*.pluginspec -%attr(755,root,root) %{_libdir}/qtcreator/plugins/Nokia/*.so +%dir %{_libdir}/qtcreator/plugins/BlackBerry +%dir %{_libdir}/qtcreator/plugins/QtProject +%{_libdir}/qtcreator/plugins/BlackBerry/*.pluginspec +%{_libdir}/qtcreator/plugins/QtProject/*.pluginspec +%attr(755,root,root) %{_libdir}/qtcreator/plugins/BlackBerry/*.so +%attr(755,root,root) %{_libdir}/qtcreator/plugins/QtProject/*.so %{_libdir}/qtcreator/qtcomponents %{_datadir}/qtcreator %{_desktopdir}/qt-creator.desktop