Christophe Marin 2024-01-15 14:08:07 +00:00 committed by Git OBS Bridge
parent 13526a7e4a
commit 51799bedd8

View File

@ -18,12 +18,11 @@
%define sonum 6 %define sonum 6
%define _libname KF5BluezQt %define _libname KF5BluezQt
%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: bluez-qt Name: bluez-qt
Version: 5.114.0 Version: 5.114.0
@ -36,15 +35,14 @@ 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(Qt5Core) >= %{qt5_version}
BuildRequires: cmake(Qt5Core) >= 5.15.0 BuildRequires: cmake(Qt5DBus) >= %{qt5_version}
BuildRequires: cmake(Qt5DBus) >= 5.15.0 BuildRequires: cmake(Qt5Gui) >= %{qt5_version}
BuildRequires: cmake(Qt5Gui) >= 5.15.0 BuildRequires: cmake(Qt5Network) >= %{qt5_version}
BuildRequires: cmake(Qt5Network) >= 5.15.0 BuildRequires: cmake(Qt5Qml) >= %{qt5_version}
BuildRequires: cmake(Qt5Qml) >= 5.15.0 BuildRequires: cmake(Qt5Widgets) >= %{qt5_version}
BuildRequires: cmake(Qt5Widgets) >= 5.15.0
BuildRequires: pkgconfig(udev) BuildRequires: pkgconfig(udev)
%description %description
@ -79,7 +77,7 @@ Udev rules.
%package devel %package devel
Summary: Async Bluez wrapper library - development files Summary: Async Bluez wrapper library - development files
Requires: lib%{_libname}%{sonum} = %{version} Requires: lib%{_libname}%{sonum} = %{version}
Requires: cmake(Qt5Core) >= 5.15.0 Requires: cmake(Qt5Core) >= %{qt5_version}
%description devel %description devel
Development files for QBluez Async Bluez wrapper library. Development files for QBluez Async Bluez wrapper library.