]> git.pld-linux.org Git - packages/qt-creator.git/blame - qt-creator.spec
- up to 1.2.0
[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
c8180109 6Version: 1.2.0
94fce250 7Release: 1
2aefa737 8Epoch: 1
9License: LGPL v2.1
10Group: Libraries
11Source0: http://download.qtsoftware.com/qtcreator/%{name}-%{version}-src.zip
c8180109 12# Source0-md5: 87315f83e37dc92dfb5730282d5ecb56
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
26BuildRequires: qt4-qmake >= 4.5.0-3
27BuildRequires: unzip
2aefa737 28BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30%description
31Qt Creator is a cross-platform integrated development environment (IDE)
32tailored to the needs of Qt developers.
33
34%description -l pl.UTF-8
35Qt Creator to wieloplatformowe IDE dostosowane do potrzeb developerow Qt.
36
37%prep
38%setup -q -n %{name}-%{version}-src
39
2b26ffea 40%if "%{_lib}" == "lib64"
41%patch0 -p1
42%endif
43
2aefa737 44%build
45export QTDIR=%{_libdir}/qt4
46# the qmakespec in qt4 is somewhat broken, need to look at this
47#export QMAKESPEC=%{_datadir}/qt4/mkspecs/linux-g++/
48
49qmake-qt4 qtcreator.pro \
50 QMAKE_CXX="%{__cxx}" \
51 QMAKE_LINK="%{__cxx}" \
52 QMAKE_CXXFLAGS_RELEASE="%{rpmcflags}" \
53 QMAKE_RPATH=
54
55%{__make}
56
57%install
58rm -rf $RPM_BUILD_ROOT
59
60export QTDIR=%{_libdir}/qt4
2aefa737 61%{__make} install \
62 INSTALL_ROOT=$RPM_BUILD_ROOT/%{_prefix}
63
5eafeef8 64%if "%{_lib}" == "lib64"
2aefa737 65mv -f $RPM_BUILD_ROOT/{%{_prefix}/lib,%{_libdir}}
5eafeef8 66%endif
2aefa737 67
2b26ffea 68install -d $RPM_BUILD_ROOT/%{_sysconfdir}/ld.so.conf.d
69echo "%{_libdir}/qtcreator" > $RPM_BUILD_ROOT/%{_sysconfdir}/ld.so.conf.d/qtcreator.conf
70
2aefa737 71%clean
72rm -rf $RPM_BUILD_ROOT
73
74%files
75%defattr(644,root,root,755)
76%attr(755,root,root) %{_bindir}/*
2b26ffea 77%{_sysconfdir}/ld.so.conf.d/qtcreator.conf
2aefa737 78%dir %{_libdir}/qtcreator
2b26ffea 79%attr(755,root,root) %{_libdir}/qtcreator/lib*.so.*.*
80%attr(755,root,root) %{_libdir}/qtcreator/lib*.so
5eafeef8 81%attr(755,root,root) %ghost %{_libdir}/qtcreator/lib*.so.1
2aefa737 82%dir %{_libdir}/qtcreator/plugins
83%dir %{_libdir}/qtcreator/plugins/Nokia
a2bb26e4 84%{_libdir}/qtcreator/plugins/Nokia/*.pluginspec
2aefa737 85%attr(755,root,root) %{_libdir}/qtcreator/plugins/Nokia/*.so
86%{_datadir}/qtcreator
2b26ffea 87%{_defaultdocdir}/qtcreator
2aefa737 88%{_pixmapsdir}/qtcreator_logo*.png
2b26ffea 89
90%post -p /sbin/ldconfig
91%postun -p /sbin/ldconfig
This page took 0.08705 seconds and 4 git commands to generate.