3 Summary: An IDE tailored to the needs of Qt developers
4 Summary(pl.UTF-8): IDE dostosowane do potrzeb developerow Qt
11 Source0: http://download.qtsoftware.com/qtcreator/%{name}-%{version}-src.zip
12 # Source0-md5: 5478124035d80a90e66a3db67ab4477a
13 URL: http://www.qtsoftware.com/developer/qt-creator
14 BuildRequires: libstdc++-devel
15 BuildRequires: qt4-qmake >= 4.5.0-3
16 BuildRequires: QtSql-sqlite
17 BuildRequires: QtGui-devel
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 Qt Creator is a cross-platform integrated development environment (IDE)
22 tailored to the needs of Qt developers.
24 %description -l pl.UTF-8
25 Qt Creator to wieloplatformowe IDE dostosowane do potrzeb developerow Qt.
28 %setup -q -n %{name}-%{version}-src
31 export QTDIR=%{_libdir}/qt4
32 # the qmakespec in qt4 is somewhat broken, need to look at this
33 #export QMAKESPEC=%{_datadir}/qt4/mkspecs/linux-g++/
35 qmake-qt4 qtcreator.pro \
36 QMAKE_CXX="%{__cxx}" \
37 QMAKE_LINK="%{__cxx}" \
38 QMAKE_CXXFLAGS_RELEASE="%{rpmcflags}" \
44 rm -rf $RPM_BUILD_ROOT
46 export QTDIR=%{_libdir}/qt4
47 #export QMAKESPEC=%{_datadir}/qt4/mkspecs/linux-g++/
49 INSTALL_ROOT=$RPM_BUILD_ROOT/%{_prefix}
51 mv -f $RPM_BUILD_ROOT/{%{_prefix}/lib,%{_libdir}}
54 rm -rf $RPM_BUILD_ROOT
57 %defattr(644,root,root,755)
58 %attr(755,root,root) %{_bindir}/*
59 %dir %{_libdir}/qtcreator
60 %attr(755,root,root) %{_libdir}/qtcreator/lib*.so*
61 %dir %{_libdir}/qtcreator/plugins
62 %dir %{_libdir}/qtcreator/plugins/Nokia
63 %{_libdir}/qtcreator/plugins/Nokia/*.pluginspec
64 %attr(755,root,root) %{_libdir}/qtcreator/plugins/Nokia/*.so
66 %{_pixmapsdir}/qtcreator_logo*.png