fixed menu icon [release 2.8.1-2mamba;Fri Jul 11 2014]

This commit is contained in:
Silvan Calarco 2024-01-05 17:05:07 +01:00
parent c0b0c7b9f3
commit dfdc91caa5
2 changed files with 27 additions and 12 deletions

View File

@ -1,21 +1,23 @@
%define majver %(echo %version | cut -d. -f1-2)
Name: qt-creator
Version: 2.6.2
Release: 1mamba
Summary: An IDE for QT
Version: 2.8.1
Release: 2mamba
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://releases.qt-project.org/qtcreator/%{version}/qt-creator-%{version}-src.tar.gz
Source: http://download.qt-project.org/official_releases/qtcreator/%{majver}/%{version}/qt-creator-%{version}-src.tar.gz
Source1: qtcreator.desktop
Source2: qtcreator-wrapper
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libqt4-devel
BuildRequires: libQtDeclarative
BuildRequires: libgcc
BuildRequires: libperl
BuildRequires: libqt4-devel
BuildRequires: libstdc++6-devel
BuildRequires: perl-devel
## AUTOBUILDREQ-END
@ -41,7 +43,9 @@ It includes:
%setup -q -n %{name}-%{version}-src
%build
%{_qt4_qmake}
%{_qt4_qmake} \
IDE_LIBRARY_BASENAME=%{_lib}
%make
%install
@ -49,11 +53,15 @@ It includes:
%makeinstall \
INSTALL_ROOT=%{buildroot}%{_prefix}
install -D -m 755 bin/qtcreator %{buildroot}%{_bindir}/qtcreator.bin
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
# link icons
#for i in 16 24 32 48 64 128 256
#do
@ -85,17 +93,24 @@ done
%files
%defattr(-,root,root)
%{_bindir}/*
%dir %{_prefix}/lib/qtcreator
%{_prefix}/lib/qtcreator/*
%dir %{_libdir}/qtcreator
%{_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
%changelog
* Fri Jul 11 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.8.1-2mamba
- fixed menu icon
* Fri Jul 11 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.8.1-1mamba
- update to 2.8.1
* Tue Feb 12 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.2-1mamba
- update to 2.6.2

View File

@ -4,8 +4,8 @@ Exec=qtcreator %F
Name=Qt Creator
GenericName=C++ IDE for developing Qt applications
X-KDE-StartupNotify=true
Icon=qtcreator
Icon=/usr/share/pixmaps/qtcreator.png
Terminal=false
Categories=Development;IDE;Qt;X-Development-Qt4;
MimeType=text/x-c++src;text/x-c++hdr;text/x-xsrc;application/x-designer;application/vnd.nokia.qt.qmakeprofile;application/vnd.nokia.xml.qt.resource;
InitialPreference=9
InitialPreference=9