Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.1:Staging:B
plasma-framework
plasma-framework.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File plasma-framework.spec of Package plasma-framework
# # spec file for package plasma-framework # # 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/ # %define lname libKF5Plasma5 %define _tar_path 5.55 # Full KF5 version (e.g. 5.33.0) %{!?_kf5_version: %global _kf5_version %{version}} # Last major and minor KF5 version (e.g. 5.33) %{!?_kf5_bugfix_version: %define _kf5_bugfix_version %(echo %{_kf5_version} | awk -F. '{print $1"."$2}')} %bcond_without lang Name: plasma-framework Version: 5.55.0 Release: 0 Summary: Plasma library and runtime components based upon KF5 and Qt5 License: GPL-2.0-or-later AND LGPL-2.0-or-later Group: System/GUI/KDE URL: https://www.kde.org Source: http://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-%{version}.tar.xz Source1: baselibs.conf # PATCH-FIX-OPENSUSE Patch0: 0001-Revert-Remove-Qt-version-check.patch BuildRequires: extra-cmake-modules >= %{_kf5_bugfix_version} BuildRequires: fdupes BuildRequires: kactivities5-devel >= 5.19.0 BuildRequires: karchive-devel >= %{_kf5_bugfix_version} BuildRequires: kconfig-devel >= %{_kf5_bugfix_version} BuildRequires: kconfigwidgets-devel >= %{_kf5_bugfix_version} BuildRequires: kcoreaddons-devel >= %{_kf5_bugfix_version} BuildRequires: kdbusaddons-devel >= %{_kf5_bugfix_version} BuildRequires: kdeclarative-devel >= %{_kf5_bugfix_version} BuildRequires: kdoctools-devel >= %{_kf5_bugfix_version} BuildRequires: kf5-filesystem BuildRequires: kglobalaccel-devel >= %{_kf5_bugfix_version} BuildRequires: kguiaddons-devel >= %{_kf5_bugfix_version} BuildRequires: ki18n-devel >= %{_kf5_bugfix_version} BuildRequires: kiconthemes-devel >= %{_kf5_bugfix_version} BuildRequires: kio-devel >= %{_kf5_bugfix_version} BuildRequires: kirigami2-devel >= %{_kf5_bugfix_version} BuildRequires: knotifications-devel >= %{_kf5_bugfix_version} BuildRequires: kpackage-devel >= %{_kf5_bugfix_version} BuildRequires: kparts-devel >= %{_kf5_bugfix_version} BuildRequires: kservice-devel >= %{_kf5_bugfix_version} BuildRequires: kwayland-devel >= %{_kf5_bugfix_version} BuildRequires: kwindowsystem-devel >= %{_kf5_bugfix_version} BuildRequires: kxmlgui-devel >= %{_kf5_bugfix_version} BuildRequires: libxcb-devel BuildRequires: pkgconfig BuildRequires: xz BuildRequires: cmake(Qt5Concurrent) >= 5.6.0 BuildRequires: cmake(Qt5Gui) >= 5.6.0 BuildRequires: cmake(Qt5Qml) >= 5.6.0 BuildRequires: cmake(Qt5Quick) >= 5.6.0 BuildRequires: cmake(Qt5QuickControls2) >= 5.7.0 BuildRequires: cmake(Qt5Sql) >= 5.6.0 BuildRequires: cmake(Qt5Svg) >= 5.6.0 BuildRequires: cmake(Qt5Test) >= 5.6.0 BuildRequires: cmake(Qt5Widgets) >= 5.6.0 BuildRequires: cmake(Qt5X11Extras) >= 5.6.0 BuildRequires: pkgconfig(egl) BuildRequires: pkgconfig(x11) Recommends: %{name}-components = %{version} Recommends: %{name}-lang = %{version} Provides: %{name}-private = %{version} Obsoletes: %{name}-private < %{version} %ifarch %{arm} aarch64 BuildRequires: pkgconfig(glesv2) %else BuildRequires: pkgconfig(gl) %endif %description Plasma library and runtime components based upon KF5 and Qt5 %package -n %{lname} Summary: Plasma framework - core libraries Group: System/GUI/KDE Conflicts: %{name} < 5.49 Conflicts: %{name}-private < 5.49 %description -n %{lname} This package contains the core libraries needed by the Plasma framework. %package components Summary: Plasma QML components Group: Development/Libraries/KDE Requires: %{name} = %{version} Requires: %{name}-private = %{version} Requires: libqt5-qtquickcontrols Requires: libqt5-qtquickcontrols2 %requires_ge kdeclarative-components %description components Plasma QML and runtime components based upon KF5 and Qt5 %package devel Summary: Plasma library and runtime components Group: Development/Libraries/KDE Requires: %{lname} = %{version} Requires: %{name} = %{version} Requires: %{name}-components = %{version} Requires: %{name}-private = %{version} Requires: extra-cmake-modules >= 1.7.0 Requires: kf5-filesystem Requires: kpackage-devel >= %{_kf5_bugfix_version} Requires: kservice-devel >= %{_kf5_bugfix_version} Requires: kwindowsystem-devel >= %{_kf5_bugfix_version} Requires: cmake(Qt5Gui) >= 5.6.0 Requires: cmake(Qt5Qml) >= 5.6.0 Requires: cmake(Qt5Quick) >= 5.6.0 Conflicts: kapptemplate <= 15.12.3 %description devel Plasma library and runtime components based upon KF5 and Qt5 %lang_package %prep %setup -q %autopatch -p1 %if 0%{?suse_version} == 1500 sed -i -e "s/^set *(REQUIRED_QT_VERSION 5.10.0)$/set(REQUIRED_QT_VERSION 5.9.0)/" CMakeLists.txt %endif %build %cmake_kf5 -d build %make_jobs %install %kf5_makeinstall -C build %fdupes %{buildroot} %if %{with lang} %find_lang %{name} --with-man --all-name %endif %pre # Was part of plasma-framework previously, so remove it if [ $1 -eq 2 ] ; then update-alternatives --remove input.svgz \ %{_datadir}/plasma/desktoptheme/default/icons/input.svgz-kdeorg fi %post -n %{lname} -p /sbin/ldconfig %postun -n %{lname} -p /sbin/ldconfig %if %{with lang} %files lang -f %{name}.lang # LC_SCRIPTS is not recognized by find-lang.sh %lang(lt) %{_datadir}/locale/lt/LC_SCRIPTS %endif %files -n %{lname} %license COPYING* %{_kf5_libdir}/libKF5Plasma.so.* %{_kf5_libdir}/libKF5PlasmaQuick.so.* %files %license COPYING* %{_kf5_bindir}/* %{_kf5_plugindir}/ %{_kf5_plasmadir}/ %{_kf5_servicesdir}/ %{_kf5_servicetypesdir}/ %{_kf5_mandir}/man1/plasmapkg*.* %files components %license COPYING* %{_kf5_qmldir}/ %files devel %license COPYING* %dir %{_kf5_includedir}/*/ %{_kf5_includedir}/*/ %{_kf5_includedir}/*.h %{_kf5_libdir}/cmake/*/ %{_kf5_libdir}/libKF5Plasma.so %{_kf5_libdir}/libKF5PlasmaQuick.so %{_kf5_sharedir}/kdevappwizard %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