fixed menu icon [release 2.8.1-2mamba;Fri Jul 11 2014]
This commit is contained in:
parent
c0b0c7b9f3
commit
dfdc91caa5
@ -1,21 +1,23 @@
|
|||||||
|
%define majver %(echo %version | cut -d. -f1-2)
|
||||||
Name: qt-creator
|
Name: qt-creator
|
||||||
Version: 2.6.2
|
Version: 2.8.1
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: An IDE for QT
|
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://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
|
Source1: qtcreator.desktop
|
||||||
Source2: qtcreator-wrapper
|
Source2: qtcreator-wrapper
|
||||||
License: LGPL
|
License: LGPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: libgcc
|
|
||||||
BuildRequires: libqt4-devel
|
|
||||||
BuildRequires: libQtDeclarative
|
BuildRequires: libQtDeclarative
|
||||||
|
BuildRequires: libgcc
|
||||||
|
BuildRequires: libperl
|
||||||
|
BuildRequires: libqt4-devel
|
||||||
BuildRequires: libstdc++6-devel
|
BuildRequires: libstdc++6-devel
|
||||||
BuildRequires: perl-devel
|
BuildRequires: perl-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
@ -41,7 +43,9 @@ It includes:
|
|||||||
%setup -q -n %{name}-%{version}-src
|
%setup -q -n %{name}-%{version}-src
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{_qt4_qmake}
|
%{_qt4_qmake} \
|
||||||
|
IDE_LIBRARY_BASENAME=%{_lib}
|
||||||
|
|
||||||
%make
|
%make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -49,11 +53,15 @@ It includes:
|
|||||||
%makeinstall \
|
%makeinstall \
|
||||||
INSTALL_ROOT=%{buildroot}%{_prefix}
|
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 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
|
||||||
|
cp %{buildroot}%{_datadir}/qtcreator/welcomescreen/widgets/images/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
|
||||||
#do
|
#do
|
||||||
@ -85,17 +93,24 @@ done
|
|||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%dir %{_prefix}/lib/qtcreator
|
%dir %{_libdir}/qtcreator
|
||||||
%{_prefix}/lib/qtcreator/*
|
%{_libdir}/qtcreator/*
|
||||||
%dir %{_datadir}/qtcreator
|
%dir %{_datadir}/qtcreator
|
||||||
%{_datadir}/qtcreator/*
|
%{_datadir}/qtcreator/*
|
||||||
#%{_datadir}/pixmaps/*.png
|
#%{_datadir}/pixmaps/*.png
|
||||||
%{_datadir}/applications/*.desktop
|
%{_datadir}/applications/*.desktop
|
||||||
%{_datadir}/icons/hicolor/*/apps/*.png
|
%{_datadir}/icons/hicolor/*/apps/*.png
|
||||||
#%{_qt4_docdir}/qch/*.qch
|
#%{_qt4_docdir}/qch/*.qch
|
||||||
|
%{_datadir}/pixmaps/qtcreator.png
|
||||||
%doc README LICENSE.LGPL LGPL_EXCEPTION.TXT
|
%doc README LICENSE.LGPL LGPL_EXCEPTION.TXT
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Feb 12 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.2-1mamba
|
||||||
- update to 2.6.2
|
- update to 2.6.2
|
||||||
|
|
||||||
|
@ -4,8 +4,8 @@ Exec=qtcreator %F
|
|||||||
Name=Qt Creator
|
Name=Qt Creator
|
||||||
GenericName=C++ IDE for developing Qt applications
|
GenericName=C++ IDE for developing Qt applications
|
||||||
X-KDE-StartupNotify=true
|
X-KDE-StartupNotify=true
|
||||||
Icon=qtcreator
|
Icon=/usr/share/pixmaps/qtcreator.png
|
||||||
Terminal=false
|
Terminal=false
|
||||||
Categories=Development;IDE;Qt;X-Development-Qt4;
|
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;
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user