]> git.pld-linux.org Git - packages/qt-creator.git/blame - qt-creator.spec
- up to 1.2.1
[packages/qt-creator.git] / qt-creator.spec
CommitLineData
2aefa737 1#
2
3Summary: An IDE tailored to the needs of Qt developers
4Summary(pl.UTF-8): IDE dostosowane do potrzeb developerow Qt
5Name: qt-creator
3de167ce 6Version: 1.2.1
94fce250 7Release: 1
2aefa737 8Epoch: 1
9License: LGPL v2.1
10Group: Libraries
11Source0: http://download.qtsoftware.com/qtcreator/%{name}-%{version}-src.zip
3de167ce 12# Source0-md5: 41f044cf567db09153161403fbab4076
2b26ffea 13Patch0: %{name}-pluginpath64.patch
2aefa737 14URL: http://www.qtsoftware.com/developer/qt-creator
a2bb26e4 15BuildRequires: QtDBus-devel
99bec638 16BuildRequires: QtDesigner-devel
2aefa737 17BuildRequires: QtGui-devel
a2bb26e4
KK
18BuildRequires: QtHelp-devel
19BuildRequires: QtNetwork-devel
20BuildRequires: QtScript-devel
5eafeef8 21BuildRequires: QtSql-sqlite3
a2bb26e4
KK
22BuildRequires: QtSvg-devel
23BuildRequires: QtWebKit-devel
24BuildRequires: QtXml-devel
25BuildRequires: qt4-build >= 4.5.0-3
4208b10d 26BuildRequires: qt4-linguist
a2bb26e4
KK
27BuildRequires: qt4-qmake >= 4.5.0-3
28BuildRequires: unzip
4208b10d 29%requires_eq QtCore
2aefa737 30BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32%description
33Qt Creator is a cross-platform integrated development environment (IDE)
34tailored to the needs of Qt developers.
35
36%description -l pl.UTF-8
37Qt Creator to wieloplatformowe IDE dostosowane do potrzeb developerow Qt.
38
39%prep
40%setup -q -n %{name}-%{version}-src
41
2b26ffea 42%if "%{_lib}" == "lib64"
43%patch0 -p1
44%endif
45
2aefa737 46%build
47export QTDIR=%{_libdir}/qt4
48# the qmakespec in qt4 is somewhat broken, need to look at this
49#export QMAKESPEC=%{_datadir}/qt4/mkspecs/linux-g++/
50
51qmake-qt4 qtcreator.pro \
52 QMAKE_CXX="%{__cxx}" \
53 QMAKE_LINK="%{__cxx}" \
54 QMAKE_CXXFLAGS_RELEASE="%{rpmcflags}" \
55 QMAKE_RPATH=
56
57%{__make}
58
59%install
60rm -rf $RPM_BUILD_ROOT
61
62export QTDIR=%{_libdir}/qt4
2aefa737 63%{__make} install \
64 INSTALL_ROOT=$RPM_BUILD_ROOT/%{_prefix}
65
5eafeef8 66%if "%{_lib}" == "lib64"
2aefa737 67mv -f $RPM_BUILD_ROOT/{%{_prefix}/lib,%{_libdir}}
5eafeef8 68%endif
2aefa737 69
4208b10d
KK
70mv -f $RPM_BUILD_ROOT/%{_bindir}/{qtcreator.bin,qtcreator}
71
2b26ffea 72install -d $RPM_BUILD_ROOT/%{_sysconfdir}/ld.so.conf.d
73echo "%{_libdir}/qtcreator" > $RPM_BUILD_ROOT/%{_sysconfdir}/ld.so.conf.d/qtcreator.conf
74
2aefa737 75%clean
76rm -rf $RPM_BUILD_ROOT
77
78%files
79%defattr(644,root,root,755)
4208b10d
KK
80%attr(755,root,root) %{_bindir}/qtcreator
81%attr(755,root,root) %{_bindir}/qtcreator_process_stub
2b26ffea 82%{_sysconfdir}/ld.so.conf.d/qtcreator.conf
2aefa737 83%dir %{_libdir}/qtcreator
2b26ffea 84%attr(755,root,root) %{_libdir}/qtcreator/lib*.so.*.*
85%attr(755,root,root) %{_libdir}/qtcreator/lib*.so
5eafeef8 86%attr(755,root,root) %ghost %{_libdir}/qtcreator/lib*.so.1
2aefa737 87%dir %{_libdir}/qtcreator/plugins
88%dir %{_libdir}/qtcreator/plugins/Nokia
a2bb26e4 89%{_libdir}/qtcreator/plugins/Nokia/*.pluginspec
2aefa737 90%attr(755,root,root) %{_libdir}/qtcreator/plugins/Nokia/*.so
91%{_datadir}/qtcreator
2b26ffea 92%{_defaultdocdir}/qtcreator
2aefa737 93%{_pixmapsdir}/qtcreator_logo*.png
2b26ffea 94
95%post -p /sbin/ldconfig
96%postun -p /sbin/ldconfig
This page took 0.063115 seconds and 4 git commands to generate.