Christophe Marin 2024-01-15 14:07:52 +00:00 committed by Git OBS Bridge
parent 45c7dfa652
commit aebf712ea4

View File

@ -17,11 +17,11 @@
%define lname libKF5KDELibs4Support5
%define _tar_path 5.103
# 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}')}
%define qt5_version 5.15.2
%bcond_without released
Name: kdelibs4support
Version: 5.114.0
@ -35,44 +35,43 @@ Source1: %{name}-%{version}.tar.xz.sig
Source2: frameworks.keyring
%endif
BuildRequires: NetworkManager-devel
BuildRequires: extra-cmake-modules >= %{_kf5_bugfix_version}
BuildRequires: extra-cmake-modules >= %{_kf5_version}
BuildRequires: fdupes
BuildRequires: kf5-filesystem
BuildRequires: perl-URI
BuildRequires: pkgconfig
BuildRequires: cmake(KF5Auth) >= %{_kf5_bugfix_version}
BuildRequires: cmake(KDED) >= %{_kf5_bugfix_version}
BuildRequires: cmake(KF5Completion) >= %{_kf5_bugfix_version}
BuildRequires: cmake(KF5Config) >= %{_kf5_bugfix_version}
BuildRequires: cmake(KF5ConfigWidgets) >= %{_kf5_bugfix_version}
BuildRequires: cmake(KF5Crash) >= %{_kf5_bugfix_version}
BuildRequires: cmake(KF5DBusAddons) >= %{_kf5_bugfix_version}
BuildRequires: cmake(KF5DesignerPlugin) >= %{_kf5_bugfix_version}
BuildRequires: cmake(KF5DocTools) >= %{_kf5_bugfix_version}
BuildRequires: cmake(KF5Emoticons) >= %{_kf5_bugfix_version}
BuildRequires: cmake(KF5GlobalAccel) >= %{_kf5_bugfix_version}
BuildRequires: cmake(KF5GuiAddons) >= %{_kf5_bugfix_version}
BuildRequires: cmake(KF5I18n) >= %{_kf5_bugfix_version}
BuildRequires: cmake(KF5IconThemes) >= %{_kf5_bugfix_version}
BuildRequires: cmake(KF5KIO) >= %{_kf5_bugfix_version}
BuildRequires: cmake(KF5Notifications) >= %{_kf5_bugfix_version}
BuildRequires: cmake(KF5Parts) >= %{_kf5_bugfix_version}
BuildRequires: cmake(KF5Service) >= %{_kf5_bugfix_version}
BuildRequires: cmake(KF5TextWidgets) >= %{_kf5_bugfix_version}
BuildRequires: cmake(KF5UnitConversion) >= %{_kf5_bugfix_version}
BuildRequires: cmake(KF5WidgetsAddons) >= %{_kf5_bugfix_version}
BuildRequires: cmake(KF5WindowSystem) >= %{_kf5_bugfix_version}
BuildRequires: cmake(KF5XmlGui) >= %{_kf5_bugfix_version}
BuildRequires: cmake(Qt5Concurrent) >= 5.15.0
BuildRequires: cmake(Qt5Core) >= 5.15.0
BuildRequires: cmake(Qt5DBus) >= 5.15.0
BuildRequires: cmake(Qt5Designer) >= 5.15.0
BuildRequires: cmake(Qt5Network) >= 5.15.0
BuildRequires: cmake(Qt5PrintSupport) >= 5.15.0
BuildRequires: cmake(Qt5Svg) >= 5.15.0
BuildRequires: cmake(Qt5Test) >= 5.15.0
BuildRequires: cmake(Qt5Widgets) >= 5.15.0
BuildRequires: cmake(Qt5X11Extras) >= 5.15.0
BuildRequires: cmake(KF5Auth) >= %{_kf5_version}
BuildRequires: cmake(KDED) >= %{_kf5_version}
BuildRequires: cmake(KF5Completion) >= %{_kf5_version}
BuildRequires: cmake(KF5Config) >= %{_kf5_version}
BuildRequires: cmake(KF5ConfigWidgets) >= %{_kf5_version}
BuildRequires: cmake(KF5Crash) >= %{_kf5_version}
BuildRequires: cmake(KF5DBusAddons) >= %{_kf5_version}
BuildRequires: cmake(KF5DesignerPlugin) >= %{_kf5_version}
BuildRequires: cmake(KF5DocTools) >= %{_kf5_version}
BuildRequires: cmake(KF5Emoticons) >= %{_kf5_version}
BuildRequires: cmake(KF5GlobalAccel) >= %{_kf5_version}
BuildRequires: cmake(KF5GuiAddons) >= %{_kf5_version}
BuildRequires: cmake(KF5I18n) >= %{_kf5_version}
BuildRequires: cmake(KF5IconThemes) >= %{_kf5_version}
BuildRequires: cmake(KF5KIO) >= %{_kf5_version}
BuildRequires: cmake(KF5Notifications) >= %{_kf5_version}
BuildRequires: cmake(KF5Parts) >= %{_kf5_version}
BuildRequires: cmake(KF5Service) >= %{_kf5_version}
BuildRequires: cmake(KF5TextWidgets) >= %{_kf5_version}
BuildRequires: cmake(KF5UnitConversion) >= %{_kf5_version}
BuildRequires: cmake(KF5WidgetsAddons) >= %{_kf5_version}
BuildRequires: cmake(KF5WindowSystem) >= %{_kf5_version}
BuildRequires: cmake(KF5XmlGui) >= %{_kf5_version}
BuildRequires: cmake(Qt5Concurrent) >= %{qt5_version}
BuildRequires: cmake(Qt5Core) >= %{qt5_version}
BuildRequires: cmake(Qt5DBus) >= %{qt5_version}
BuildRequires: cmake(Qt5Designer) >= %{qt5_version}
BuildRequires: cmake(Qt5Network) >= %{qt5_version}
BuildRequires: cmake(Qt5PrintSupport) >= %{qt5_version}
BuildRequires: cmake(Qt5Svg) >= %{qt5_version}
BuildRequires: cmake(Qt5Test) >= %{qt5_version}
BuildRequires: cmake(Qt5Widgets) >= %{qt5_version}
BuildRequires: cmake(Qt5X11Extras) >= %{qt5_version}
BuildRequires: pkgconfig(openssl)
BuildRequires: pkgconfig(sm)
BuildRequires: pkgconfig(x11)
@ -118,7 +117,7 @@ KDEDIRS environment variable correctly.
%package -n %{lname}
Summary: Code and utilities to ease the transition to KDE Frameworks 5
License: LGPL-2.1-or-later
Requires: kded >= %{_kf5_bugfix_version}
Requires: kded >= %{_kf5_version}
%description -n %{lname}
This package includes CMake macros and C++
@ -141,28 +140,28 @@ Summary: Code and utilities to ease the transition to KDE Frameworks 5
License: LGPL-2.1-or-later
Requires: %{lname} = %{version}
Requires: %{name} = %{version}
Requires: cmake(KF5Archive) >= %{_kf5_bugfix_version}
Requires: cmake(KF5Auth) >= %{_kf5_bugfix_version}
Requires: cmake(KF5ConfigWidgets) >= %{_kf5_bugfix_version}
Requires: cmake(KF5CoreAddons) >= %{_kf5_bugfix_version}
Requires: cmake(KF5Crash) >= %{_kf5_bugfix_version}
Requires: cmake(KF5DBusAddons) >= %{_kf5_bugfix_version}
Requires: cmake(KF5DesignerPlugin) >= %{_kf5_bugfix_version}
Requires: cmake(KF5DocTools) >= %{_kf5_bugfix_version}
Requires: cmake(KF5Emoticons) >= %{_kf5_bugfix_version}
Requires: cmake(KF5GuiAddons) >= %{_kf5_bugfix_version}
Requires: cmake(KF5IconThemes) >= %{_kf5_bugfix_version}
Requires: cmake(KF5Init) >= %{_kf5_bugfix_version}
Requires: cmake(KF5ItemModels) >= %{_kf5_bugfix_version}
Requires: cmake(KF5Notifications) >= %{_kf5_bugfix_version}
Requires: cmake(KF5Parts) >= %{_kf5_bugfix_version}
Requires: cmake(KF5TextWidgets) >= %{_kf5_bugfix_version}
Requires: cmake(KF5UnitConversion) >= %{_kf5_bugfix_version}
Requires: cmake(KF5WindowSystem) >= %{_kf5_bugfix_version}
Requires: cmake(Qt5Core) >= 5.15.0
Requires: cmake(Qt5DBus) >= 5.15.0
Requires: cmake(Qt5PrintSupport) >= 5.15.0
Requires: cmake(Qt5Xml) >= 5.15.0
Requires: cmake(KF5Archive) >= %{_kf5_version}
Requires: cmake(KF5Auth) >= %{_kf5_version}
Requires: cmake(KF5ConfigWidgets) >= %{_kf5_version}
Requires: cmake(KF5CoreAddons) >= %{_kf5_version}
Requires: cmake(KF5Crash) >= %{_kf5_version}
Requires: cmake(KF5DBusAddons) >= %{_kf5_version}
Requires: cmake(KF5DesignerPlugin) >= %{_kf5_version}
Requires: cmake(KF5DocTools) >= %{_kf5_version}
Requires: cmake(KF5Emoticons) >= %{_kf5_version}
Requires: cmake(KF5GuiAddons) >= %{_kf5_version}
Requires: cmake(KF5IconThemes) >= %{_kf5_version}
Requires: cmake(KF5Init) >= %{_kf5_version}
Requires: cmake(KF5ItemModels) >= %{_kf5_version}
Requires: cmake(KF5Notifications) >= %{_kf5_version}
Requires: cmake(KF5Parts) >= %{_kf5_version}
Requires: cmake(KF5TextWidgets) >= %{_kf5_version}
Requires: cmake(KF5UnitConversion) >= %{_kf5_version}
Requires: cmake(KF5WindowSystem) >= %{_kf5_version}
Requires: cmake(Qt5Core) >= %{qt5_version}
Requires: cmake(Qt5DBus) >= %{qt5_version}
Requires: cmake(Qt5PrintSupport) >= %{qt5_version}
Requires: cmake(Qt5Xml) >= %{qt5_version}
Provides: kde4support-devel = %{version}
Obsoletes: kde4support-devel < %{version}