From e2e99358e44802d74649ca13f87e374fca991fd8 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 17:05:07 +0100 Subject: [PATCH] update to 4.4.1 [release 4.4.1-1mamba;Mon Oct 23 2017] --- qt-creator.spec | 44 ++++++++++++++++++++++++-------------------- 1 file changed, 24 insertions(+), 20 deletions(-) diff --git a/qt-creator.spec b/qt-creator.spec index 1cb7a54..3911566 100644 --- a/qt-creator.spec +++ b/qt-creator.spec @@ -1,29 +1,28 @@ %define majver %(echo %version | cut -d. -f1-2) Name: qt-creator -Version: 2.8.1 -Release: 2mamba +Version: 4.4.1 +Release: 1mamba Summary: An integrated development environment (IDE) tailored to the needs of Qt developers Group: Development/Tools Vendor: openmamba Distribution: openmamba Packager: Stefano Cotta Ramusino URL: http://qt.digia.com/Product/Developer-Tools/ -Source: http://download.qt-project.org/official_releases/qtcreator/%{majver}/%{version}/qt-creator-%{version}-src.tar.gz +Source: http://download.qt.io/official_releases/qtcreator/%{majver}/%{version}/qt-creator-opensource-src-%{version}.tar.xz Source1: qtcreator.desktop Source2: qtcreator-wrapper License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel -BuildRequires: libQtDeclarative +BuildRequires: libGL-devel +BuildRequires: libQt5WebEngine-devel BuildRequires: libgcc -BuildRequires: libperl -BuildRequires: libqt4-devel +BuildRequires: libqt5-devel BuildRequires: libstdc++6-devel -BuildRequires: perl-devel ## AUTOBUILDREQ-END -Requires: libqt4-demos -Requires: libqt4-designer -Requires: libqt4-devel +#Requires: libqt4-demos +Requires: libqt5-designer +Requires: libqt5-devel Requires: gcc-c++ BuildRoot: %{_tmppath}/%{name}-%{version}-root @@ -40,10 +39,12 @@ It includes: * Supports multiple platforms %prep -%setup -q -n %{name}-%{version}-src +%setup -q -n %{name}-opensource-src-%{version} +#-D -T %build -%{_qt4_qmake} \ +#:<< _EOF +%{_qt5_qmake} \ IDE_LIBRARY_BASENAME=%{_lib} %make @@ -58,9 +59,9 @@ mv %{buildroot}%{_bindir}/qtcreator %{buildroot}%{_bindir}/qtcreator.bin # install wrapper install -D -m 755 %{S:2} %{buildroot}%{_bindir}/qtcreator -install -d -m0755 %{buildroot}%{_datadir}/pixmaps -cp %{buildroot}%{_datadir}/qtcreator/welcomescreen/widgets/images/qtcreator.png \ - %{buildroot}%{_datadir}/pixmaps/qtcreator.png +#install -d -m0755 %{buildroot}%{_datadir}/pixmaps +#cp %{buildroot}%{_datadir}/qtcreator/welcomescreen/widgets/images/qtcreator.png \ +# %{buildroot}%{_datadir}/pixmaps/qtcreator.png # link icons #for i in 16 24 32 48 64 128 256 @@ -71,7 +72,7 @@ cp %{buildroot}%{_datadir}/qtcreator/welcomescreen/widgets/images/qtcreator.png #done # install desktop file -install -D -m 644 %{S:1} %{buildroot}%{_datadir}/applications/qtcreator.desktop +#install -D -m 644 %{S:1} %{buildroot}%{_datadir}/applications/qtcreator.desktop # copy doc to its correct destination #install -D share/doc/qtcreator/qtcreator.qch \ @@ -97,14 +98,17 @@ done %{_libdir}/qtcreator/* %dir %{_datadir}/qtcreator %{_datadir}/qtcreator/* -#%{_datadir}/pixmaps/*.png %{_datadir}/applications/*.desktop %{_datadir}/icons/hicolor/*/apps/*.png -#%{_qt4_docdir}/qch/*.qch -%{_datadir}/pixmaps/qtcreator.png -%doc README LICENSE.LGPL LGPL_EXCEPTION.TXT +%dir %{_prefix}/libexec/qtcreator +%{_prefix}/libexec/qtcreator/* +%{_datadir}/metainfo/org.qt-project.qtcreator.appdata.xml +%doc LICENSE.GPL3-EXCEPT %changelog +* Mon Oct 23 2017 Silvan Calarco 4.4.1-1mamba +- update to 4.4.1 + * Fri Jul 11 2014 Silvan Calarco 2.8.1-2mamba - fixed menu icon