Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Beineri:opt:KDE:Qt5
libqt5-creator
libqt5-creator.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libqt5-creator.spec of Package libqt5-creator
# # spec file for package libqt5-creator # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild %define _prefix /opt/qt-5.0 %define packageprefix opt- Name: %{packageprefix}libqt5-creator License: LGPLv2.1 ; LGPLv2.1+ ; MIT License (or similar) Group: Development/Tools/IDE Summary: Lightweight IDE BuildRoot: %{_tmppath}/%{name}-%{version}-build Url: http://qt.digia.com/Product/Developer-Tools/ Version: 2.8.0 Release: 2 %define rversion 2.8.0 Source: qt-creator-%rversion-src.tar.xz Source99: qt-creator-rpmlintrc Patch2: hardcoded-runpath.diff BuildRequires: %{packageprefix}libqt5-qtbase-devel BuildRequires: %{packageprefix}libQtScript-devel BuildRequires: %{packageprefix}libQtQuick-private-headers-devel BuildRequires: %{packageprefix}libQtDeclarative-private-headers-devel BuildRequires: %{packageprefix}libQtWebKitWidgets-devel >= %version BuildRequires: %{packageprefix}libqt5-qttools-devel BuildRequires: gdb BuildRequires: fdupes BuildRequires: update-desktop-files BuildRequires: xz BuildRequires: -libqt4-x11 Recommends: %{packageprefix}libqt5-debuginfo Recommends: %{packageprefix}libqt5-qtdoc %description Qt Creator is a new, lightweight, cross-platform integrated development environment (IDE) designed to make development with the Qt application framework even faster and easier. %prep %setup -q -n qt-creator-%rversion-src #%patch2 %build export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:%{_libdir} %if "%{_lib}"=="lib64" %{_bindir}/qmake IDE_LIBRARY_BASENAME=lib64 %else %{_bindir}/qmake %endif make %{?jobs:-j%jobs} make qch_docs make html_docs_online %install export QTDIR=%{_datadir}/qt5 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:%{_libdir} # its qmake. of course it is broken make INSTALL_ROOT=$RPM_BUILD_ROOT/%{_prefix} install mkdir -p $RPM_BUILD_ROOT/usr/share/doc/packages/%{packageprefix}libqt5 cp share/doc/qtcreator/qtcreator.qch $RPM_BUILD_ROOT/usr/share/doc/packages/%{packageprefix}libqt5/ mkdir -p $RPM_BUILD_ROOT/usr/share/doc/packages/%{packageprefix}libqt5/qtcreator cp -a doc/html/* $RPM_BUILD_ROOT/usr/share/doc/packages/%{packageprefix}libqt5/qtcreator/ %suse_update_desktop_file -c %{packageprefix}qtcreator "Qt 5 Creator" "C++ IDE for developing Qt applications" %{_bindir}/qtcreator-wrapper /opt/qt-5.0/share/icons/hicolor/128x128/apps/QtProject-qtcreator.png "Development Qt IDE" pushd $RPM_BUILD_ROOT/%_bindir ln -s qt-5.0-env.sh qtcreator-wrapper popd %fdupes $RPM_BUILD_ROOT/%{_prefix} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %{_bindir}/qtcreator %{_bindir}/qtcreator-wrapper %{_bindir}/qtcreator_process_stub %{_bindir}/qtpromaker %{_bindir}/qmlpuppet %{_bindir}/qml2puppet %{_bindir}/sdktool %{_libdir}/qtcreator/ %{_datadir}/qtcreator/ %{_datadir}/icons /usr/share/applications/%{packageprefix}qtcreator.desktop /usr/share/doc/packages/%{packageprefix}libqt5/qtcreator.qch /usr/share/doc/packages/%{packageprefix}libqt5/qtcreator %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor