update to 4.4.1 [release 4.4.1-1mamba;Mon Oct 23 2017]

This commit is contained in:
Silvan Calarco 2024-01-05 17:05:07 +01:00
parent dfdc91caa5
commit e2e99358e4

View File

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