Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2
qt-creator
qt-creator.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File qt-creator.spec of Package qt-creator
# # spec file for package qt-creator (Version 1.2.1) # # Copyright (c) 2009 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 Name: qt-creator License: LGPL v2.1 only ; LGPL v2.1 or later ; MIT License (or similar) Group: Development/Tools/IDE Summary: Lightweight IDE BuildRoot: %{_tmppath}/%{name}-%{version}-build Url: http://www.qtsoftware.com/developer/qt-creator/ Version: 1.2.1 Release: 3 Source: %name-%version-src.tar.bz2 Source1: qtcreator.desktop Source99: %name-rpmlintrc #Patch0: no-docu.diff Patch1: fix-designer-integration.diff Patch2: fix-build-doc.diff ######################################################################################### # SuSE, openSUSE ######################################################################################### %if 0%{?suse_version} BuildRequires: update-desktop-files BuildRequires: libqt4-devel >= 4.5 BuildRequires: libqt4-devel-doc BuildRequires: libQtWebKit-devel Recommends: libqt4-debuginfo %requires_ge libqt4-x11 %endif ######################################################################################### # Fedora, RHEL or CentOS ######################################################################################### %if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version} BuildRequires: qt4-devel >= 4.5 BuildRequires: desktop-file-utils %endif %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. Authors: -------- Qt Software %prep %setup -q -n %name-%version-src #%patch0 #%patch1 -p1 %patch2 -p1 %build %if "%{_lib}"=="lib64" qmake IDE_LIBRARY_BASENAME=lib64 %else qmake %endif make %{?jobs:-j%jobs} %if 0 cd share/qtcreator/gdbmacros qmake make %endif %install export QTDIR=/usr/share/qt4 # its qmake. of course it is broken make INSTALL_ROOT=$RPM_BUILD_ROOT/%{_prefix} install %__install -m 755 bin/qtcreator %{buildroot}%{_bindir} # copy doc to its (correct) destination: %__install -d -m 755 %{buildroot}%{_docdir}/libqt4/qch/ %__cp share/doc/qtcreator/qtcreator.qch %{buildroot}%{_docdir}/libqt4/qch/ %__rm -rfv $RPM_BUILD_ROOT/share/doc/qtcreator %if 0%{?suse_version} %suse_update_desktop_file -i qtcreator Development Qt IDE %elseif 0%{?fedora_version} desktop-file-install --dir=%{buildroot}%{_datadir}/applications/ --add-category Development --add-category Qt --add-category IDE qtcreator.desktop %endif %if 0 cd share/qtcreator/gdbmacros make INSTALL_ROOT=$RPM_BUILD_ROOT/%{_prefix} install %endif %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %{_bindir}/qtcreator %{_bindir}/qtcreator.bin %{_bindir}/qtcreator_process_stub %dir %{_datadir}/doc/qtcreator %{_datadir}/doc/qtcreator/qtcreator.qch %{_libdir}/qtcreator %{_datadir}/qtcreator %{_datadir}/pixmaps/qtcreator_logo_*.png %{_datadir}/applications/qtcreator.desktop %doc %{_docdir}/libqt4/qch/qtcreator.qch %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