Christophe Marin 2024-01-15 14:02:35 +00:00 committed by Git OBS Bridge
parent 196e184e5c
commit f933cf9a70

View File

@ -17,12 +17,11 @@
%define lname libKF5Style5 %define lname libKF5Style5
%define _tar_path 5.103
# Full KF5 version (e.g. 5.33.0) # Full KF5 version (e.g. 5.33.0)
%{!?_kf5_version: %global _kf5_version %{version}} %{!?_kf5_version: %global _kf5_version %{version}}
# Last major and minor KF5 version (e.g. 5.33) # 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}')} %{!?_kf5_bugfix_version: %define _kf5_bugfix_version %(echo %{_kf5_version} | awk -F. '{print $1"."$2}')}
# Only needed for the package signature condition %define qt5_version 5.15.2
%bcond_without released %bcond_without released
Name: frameworkintegration Name: frameworkintegration
Version: 5.114.0 Version: 5.114.0
@ -35,20 +34,19 @@ Source: %{name}-%{version}.tar.xz
Source1: %{name}-%{version}.tar.xz.sig Source1: %{name}-%{version}.tar.xz.sig
Source2: frameworks.keyring Source2: frameworks.keyring
%endif %endif
BuildRequires: extra-cmake-modules >= %{_kf5_bugfix_version} BuildRequires: extra-cmake-modules >= %{_kf5_version}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: kf5-filesystem BuildRequires: (cmake(AppStreamQt5) >= 1.0.0 or cmake(AppStreamQt) < 1.0.0)
BuildRequires: cmake(AppStreamQt) >= 0.10.4 BuildRequires: cmake(KF5Config) >= %{_kf5_version}
BuildRequires: cmake(KF5Config) >= %{_kf5_bugfix_version} BuildRequires: cmake(KF5ConfigWidgets) >= %{_kf5_version}
BuildRequires: cmake(KF5ConfigWidgets) >= %{_kf5_bugfix_version} BuildRequires: cmake(KF5I18n) >= %{_kf5_version}
BuildRequires: cmake(KF5I18n) >= %{_kf5_bugfix_version} BuildRequires: cmake(KF5IconThemes) >= %{_kf5_version}
BuildRequires: cmake(KF5IconThemes) >= %{_kf5_bugfix_version} BuildRequires: cmake(KF5NewStuff) >= %{_kf5_version}
BuildRequires: cmake(KF5NewStuff) >= %{_kf5_bugfix_version} BuildRequires: cmake(KF5Notifications) >= %{_kf5_version}
BuildRequires: cmake(KF5Notifications) >= %{_kf5_bugfix_version} BuildRequires: cmake(KF5Package) >= %{_kf5_version}
BuildRequires: cmake(KF5Package) >= %{_kf5_bugfix_version} BuildRequires: cmake(KF5WidgetsAddons) >= %{_kf5_version}
BuildRequires: cmake(KF5WidgetsAddons) >= %{_kf5_bugfix_version} BuildRequires: cmake(Qt5Gui) >= %{qt5_version}
BuildRequires: cmake(Qt5Gui) >= 5.15.0 BuildRequires: cmake(Qt5Widgets) >= %{qt5_version}
BuildRequires: cmake(Qt5Widgets) >= 5.15.0
BuildRequires: cmake(packagekitqt5) BuildRequires: cmake(packagekitqt5)
%description %description
@ -85,8 +83,8 @@ Applications do not need to link to this directly.
%package devel %package devel
Summary: Plugins responsible for better integration of Qt applications in KDE Workspace Summary: Plugins responsible for better integration of Qt applications in KDE Workspace
Requires: %{lname} = %{version} Requires: %{lname} = %{version}
Requires: cmake(KF5ConfigWidgets) >= %{_kf5_bugfix_version} Requires: cmake(KF5ConfigWidgets) >= %{_kf5_version}
Requires: cmake(KF5IconThemes) >= %{_kf5_bugfix_version} Requires: cmake(KF5IconThemes) >= %{_kf5_version}
%description devel %description devel
Framework Integration is a set of plugins responsible for better Framework Integration is a set of plugins responsible for better