Sisyphus repositório
Última atualização: 12 julho 2020 | SRPMs: 17701 | Visitas: 18871148
en ru br
ALT Linux repositórios
5.0: 1.1.0-alt2

Group :: Development/Tools
RPM: qt-creator

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define _unpackaged_files_terminate_build 1

# clang 4.0.1 is not supported, only missing clang 3.9

%def_with ClangCodeModel

%add_findreq_skiplist  %_datadir/qtcreator/*
%add_findprov_skiplist %_datadir/qtcreator/*

Name:    qt-creator
Version: 4.9.0
Release: alt2
Summary: Cross-platform IDE for Qt

Group:   Development/Tools
License: GPLv3 with exceptions
Packager: Andrey Cherepanov <cas at>

Source:  %name-%version.tar
# VCS:   git://

Patch:   %name-%version-%release.patch
Patch1:  qt-creator_ninja-build.patch

Requires: %name-data = %EVR
Provides: qtcreator = %EVR
Obsoletes: qtcreator-clangcodemodel
Provides: qtcreator-clangcodemodel = %EVR

BuildRequires(pre): qt5-base-devel >= 5.9.0
BuildRequires: gcc-c++
BuildRequires: qt5-designer >= 5.9.0
BuildRequires: qt5-script-devel >= 5.9.0
BuildRequires: qt5-webkit-devel >= 5.9.0
BuildRequires: qt5-x11extras-devel >= 5.9.0
BuildRequires: qt5-xmlpatterns-devel >= 5.9.0
BuildRequires: qt5-tools-devel >= 5.9.0
%if_with ClangCodeModel
BuildRequires: llvm-devel
BuildRequires: llvm-devel-static
BuildRequires: clang-devel
BuildRequires: clang-devel-static
BuildRequires: clang
BuildRequires: lld

Requires: qt5-quickcontrols

Qt Creator (previously known as Project Greenhouse) is a new,
lightweight, cross-platform integrated  development environment (IDE)
designed to make development with the Qt application framework
even faster and easier.

%package doc
Summary: %name docs
Group: Documentation
BuildArch: noarch
Requires: %name

%description doc
Documentation for %name

%package data
Summary: Data files for %name
Group: Development/Tools
BuildArch: noarch
Requires: %name

%description data
Data files for %name

subst 's,tools\/qdoc3,bin,' doc/doc.pri
#subst 's,share\/doc\/qtcreator,share\/qtcreator\/doc,' doc/doc.pri src/plugins/help/helpplugin.cpp
%patch -p1
%patch1 -p1

export QTDIR=%_qt5_prefix
export PATH="%{_qt5_bindir}:$PATH"
%if_with ClangCodeModel
export LLVM_INSTALL_DIR="%_prefix"
%remove_optflags -frecord-gcc-switches

%qmake_qt5 -r IDE_LIBRARY_BASENAME=%_lib CONFIG+="disable_external_rpath" QMAKE_STRIP= \
%if_with ClangCodeModel
-spec linux-clang \
QMAKE_LFLAGS+="-fuse-ld=lld" \

%make_build qch_docs

%install_qt5 INSTALL_ROOT=%buildroot/%_prefix
%install_qt5 INSTALL_ROOT=%buildroot/%_prefix install_inst_qch_docs

# Remove Windows cdb debugger support to prevent unmet python2.7(cdbext)

rm -f %buildroot%_datadir/qtcreator/debugger/

%dir %_libdir/qtcreator/plugins

%files doc

%files data
%dir %_datadir/qtcreator


Todas as alterações você pod ver aqui

projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009