Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP1:Update
kdevelop5
kdevelop5.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kdevelop5.spec of Package kdevelop5
# # spec file for package kdevelop5 # # Copyright (c) 2019 SUSE LINUX 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 https://bugs.opensuse.org/ # # for compatibility with Leap 42.3 which doesn't have this macro yet %{!?_kf5_debugdir: %global _kf5_debugdir %{_kf5_configdir}} %define rname kdevelop %define rversion 5.3 %define libkdev_major 53 Name: kdevelop5 Version: 5.3.2 Release: 0 Summary: Plugin-extensible IDE for C/C++ and other programming languages License: GPL-2.0-or-later Group: Development/Tools/IDE URL: https://www.kdevelop.org Source0: https://download.kde.org/stable/%{rname}/%{version}/src/%{rname}-%{version}.tar.xz # PATCH-FIX-UPSTREAM Patch: Fix-version-check-for-GDB-10.x.patch BuildRequires: grantlee5-devel BuildRequires: karchive-devel BuildRequires: kcmutils-devel BuildRequires: kconfig-devel BuildRequires: kcrash-devel BuildRequires: kdeclarative-devel BuildRequires: kdevelop5-pg-qt BuildRequires: kdoctools-devel BuildRequires: kf5-filesystem BuildRequires: kguiaddons-devel BuildRequires: ki18n-devel BuildRequires: kiconthemes-devel BuildRequires: kio-devel BuildRequires: kitemmodels-devel BuildRequires: kitemviews-devel BuildRequires: kjobwidgets-devel BuildRequires: knewstuff-devel BuildRequires: knotifications-devel BuildRequires: knotifyconfig-devel BuildRequires: kparts-devel BuildRequires: krunner-devel BuildRequires: kservice-devel BuildRequires: ktexteditor-devel BuildRequires: kwindowsystem-devel BuildRequires: kxmlgui-devel BuildRequires: libkomparediff2-devel BuildRequires: libksysguard5-devel BuildRequires: llvm-clang-devel BuildRequires: okteta-devel BuildRequires: pkgconfig BuildRequires: plasma-framework-devel BuildRequires: purpose-devel BuildRequires: shared-mime-info BuildRequires: subversion-devel BuildRequires: threadweaver-devel BuildRequires: cmake(Qt5Concurrent) BuildRequires: cmake(Qt5Core) BuildRequires: cmake(Qt5DBus) BuildRequires: cmake(Qt5Help) BuildRequires: cmake(Qt5Quick) BuildRequires: cmake(Qt5QuickWidgets) BuildRequires: cmake(Qt5Script) BuildRequires: cmake(Qt5Test) %ifarch %{ix86} x86_64 %{arm} aarch64 mips mips64 BuildRequires: cmake(Qt5WebEngineWidgets) %else BuildRequires: cmake(Qt5WebKitWidgets) %endif BuildRequires: cmake(Qt5Widgets) # contains the headers that are needed for the C++ parser to work (see boo#1119186) %if 0%{?suse_version} > 1320 Requires: clang%(rpm -q --qf '%''{version}' clang-devel | cut -d. -f1) %else Requires: clang %endif Recommends: %{name}-lang Recommends: clazy Recommends: cppcheck Recommends: heaptrack-gui Conflicts: kdevelop4 Conflicts: kdevelop4-plugin-clang # To allow "zypper in kdevelop" Provides: kdevelop = %{version} # The following plugins were provided by the KDE repos providing unstable packages Provides: kdevelop5-cpp-parser Provides: kdevelop5-plugin-qmljs = %{version} Obsoletes: kdevelop5-plugin-qmljs < %{version} Provides: kdevelop5-plugin-clang = %{version} Obsoletes: kdevelop5-plugin-clang < %{version} Provides: kdevelop5-plugin-qmake = %{version} Obsoletes: kdevelop5-plugin-qmake < %{version} Provides: kdevelop5-plugin-cppsupport = %{version} Obsoletes: kdevelop5-plugin-cppsupport < %{version} %if 0%{?suse_version} > 1325 BuildRequires: libboost_headers-devel %else BuildRequires: boost-devel # It does not build with the default compiler (GCC 4.8) on Leap 42.x BuildRequires: gcc7-c++ %endif %description KDevelop is an integrated development environment (IDE). It provides editing, navigation and debugging features for several programming languages, as well as integration with multiple build systems and version-control systems using a plugin-based architecture. KDevelop has parser backends for C, C++ and Javascript/QML, with further external plugins supporting e.g. PHP or Python. %package -n kdevplatform Summary: Base Package for Integrated Development Environments Group: Development/Tools/IDE Requires: libkdevplatform%{libkdev_major} = %{version} Recommends: kdevplatform-lang Conflicts: kdevplatform4 Conflicts: libkdevplatform4-devel %description -n kdevplatform This package contains the common plugins for integrated developments environment based on the KDevelop framework. %package -n libkdevplatform%{libkdev_major} Summary: Libraries for Integrated Development Environments Group: Development/Tools/IDE Requires: kdevplatform Obsoletes: libkdevplatform10 < %{version} %description -n libkdevplatform%{libkdev_major} This package contains the libraries for integrated development environments based on the KDevelop framework. %package -n kdevplatform-devel Summary: Base Package for Integrated Development Environments: Build Environment Group: Development/Tools/IDE Requires: libkdevplatform%{libkdev_major} = %{version} Conflicts: libkdevplatform4-devel # Not installed automatically Requires: ktexteditor-devel Requires: threadweaver-devel %description -n kdevplatform-devel This package contains the development files for building integrated developments environments based on the KDevelop framework. %package lang Summary: Translations for package %{name} Group: System/Localization Requires: %{name} = %{version} Supplements: packageand(bundle-lang-other:%{name}) Conflicts: kdevelop4-lang Provides: %{name}-lang-all = %{version} BuildArch: noarch %description lang Provides translations to the package %{name} %package -n kdevplatform-lang Summary: Translations for package kdevplatform Group: System/Localization Requires: kdevplatform = %{version} Supplements: packageand(bundle-lang-other:kdevplatform) Conflicts: kdevplatform4-lang Provides: kdevplatform-lang-all = %{version} BuildArch: noarch %description -n kdevplatform-lang Provides translations to the package kdevplatform %prep %autosetup -p1 -n %{rname}-%{version} %build %if 0%{?suse_version} <= 1325 # It does not build with the default compiler (GCC 4.8) on Leap 42.x export CC=gcc-7 export CXX=g++-7 %endif %cmake_kf5 -d build %make_jobs %install %kf5_makeinstall -C build names="kdevandroid kdevappwizard kdevastyle kdevbazaar kdevclang kdevclassbrowser \ kdevclazy kdevcmake kdevcmakebuilder kdevcodeutils kdevcontextbrowser \ kdevcppcheck kdevcustombuildsystem kdevcustomdefinesandincludes kdevcustommake \ kdevcustomscript kdevdebuggercommon kdevdocker kdevdocumentswitcher \ kdevdocumentview kdevelop kdevexecute kdevexecuteplasmoid kdevexecutescript \ kdevexternalscript kdevfilemanager kdevfiletemplates kdevflatpak kdevgdb \ kdevghprovider kdevgit kdevgrepview kdevheaptrack kdevkdeprovider kdevkonsole kdevlldb \ kdevmakebuilder kdevmanpage kdevninja kdevokteta kdevopenwith kdevpatchreview \ kdevperforce kdevproblemreporter kdevprojectfilter kdevprojectmanagerview \ kdevqmakebuilder kdevqmakemanager kdevqmljs kdevqthelp kdevquickopen \ kdevsourceformatter kdevoutlineview kdevstandardoutputview kdevsubversion \ kdevswitchtobuddy kdevtestview kdevvcsprojectintegration kdevwelcomepage \ plasma_applet_kdevelopsessions plasma_runner_kdevelopsessions" for name in $names; do %find_lang $name %{name}.lang done %find_lang kdevplatform kdevplatform.lang %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %post -n kdevplatform -p /sbin/ldconfig %postun -n kdevplatform -p /sbin/ldconfig %post -n libkdevplatform%{libkdev_major} -p /sbin/ldconfig %postun -n libkdevplatform%{libkdev_major} -p /sbin/ldconfig %files -n libkdevplatform%{libkdev_major} %license kdevplatform/COPYING* %{_kf5_libdir}/libKDevPlatform*.so.* %files %license COPYING* %doc README.md %dir %{_kf5_iconsdir}/hicolor/256x256 %dir %{_kf5_iconsdir}/hicolor/256x256/apps %dir %{_kf5_iconsdir}/hicolor/512x512 %dir %{_kf5_iconsdir}/hicolor/512x512/apps %dir %{_kf5_iconsdir}/hicolor/1024x1024 %dir %{_kf5_iconsdir}/hicolor/1024x1024/apps %doc %lang(en) %{_kf5_htmldir}/en/kdevelop %exclude %{_kf5_iconsdir}/hicolor/*/actions/breakpoint.* %{_kf5_applicationsdir}/*kdevelop*.desktop %{_kf5_appstreamdir}/org.kde.kdevelop.appdata.xml %{_kf5_bindir}/kdev_includepathsconverter %{_kf5_bindir}/kdevelop* %{_kf5_debugdir}/kdevelop.categories %{_kf5_iconsdir}/*/*/*/* %{_kf5_libdir}/cmake/KDevelop/ %{_kf5_libdir}/libKDevClangPrivate.so.* %{_kf5_libdir}/libkdevcmakecommon.so %{_kf5_notifydir}/kdevelop.notifyrc %{_kf5_plasmadir}/ %{_kf5_plugindir}/kdevplatform/ %{_kf5_plugindir}/krunner_kdevelopsessions.so %{_kf5_plugindir}/plasma/ %{_kf5_prefix}/include/kdevelop/ %{_kf5_qmldir}/ %{_kf5_servicesdir}/kdevelopsessions.desktop %{_kf5_servicesdir}/plasma-applet-kdevelopsessions.desktop %{_kf5_servicesdir}/plasma-dataengine-kdevelopsessions.desktop %{_kf5_sharedir}/kdevappwizard/ %{_kf5_sharedir}/kdevclangsupport/ %{_kf5_sharedir}/kdevcodegen/ %{_kf5_sharedir}/kdevcodeutils/ %{_kf5_sharedir}/kdevelop/ %{_kf5_sharedir}/kdevfiletemplates/ %{_kf5_sharedir}/kdevgdb/ %{_kf5_sharedir}/kdevlldb/ %{_kf5_sharedir}/kdevmanpage/ %{_kf5_sharedir}/kdevqmljssupport/ %{_kf5_sharedir}/mime/packages/kdevclang.xml %{_kf5_sharedir}/mime/packages/kdevelop.xml %{_kf5_sharedir}/mime/packages/kdevgit.xml %files lang -f %{name}.lang %files -n kdevplatform-lang -f kdevplatform.lang %files -n kdevplatform %license kdevplatform/COPYING* %doc kdevplatform/README.md %{_kf5_bindir}/kdev_dbus_socket_transformer %{_kf5_bindir}/kdev_format_source %{_kf5_bindir}/kdevplatform_shell_environment.sh %{_kf5_debugdir}/kdevplatform.categories %{_kf5_iconsdir}/hicolor/*/actions/breakpoint.* %{_kf5_plugindir}/grantlee/ %{_kf5_servicetypesdir}/ %{_kf5_sharedir}/kdevplatform/ %files -n kdevplatform-devel %license kdevplatform/COPYING* %{_kf5_libdir}/libKDevPlatform*.so %{_kf5_libdir}/cmake/KDevPlatform/ %{_kf5_prefix}/include/kdevplatform/ %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