update to 4.4.1 [release 4.4.1-1mamba;Mon Oct 23 2017]
This commit is contained in:
parent
dfdc91caa5
commit
e2e99358e4
@ -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 <stefano.cotta@openmamba.org>
|
||||
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 <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
|
||||
- fixed menu icon
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user