|
|
|
@ -26,22 +26,31 @@ Summary: C++ Coroutines for Qt
|
|
|
|
|
URL: https://github.com/danvratil/%{name}
|
|
|
|
|
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
%if 0%{?use_qt5}
|
|
|
|
|
BuildRequires: cmake(Qt5Core)
|
|
|
|
|
BuildRequires: cmake(Qt5DBus)
|
|
|
|
|
BuildRequires: cmake(Qt5Widgets)
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%if 0%{?use_qt6}
|
|
|
|
|
BuildRequires: cmake(Qt6Core)
|
|
|
|
|
BuildRequires: cmake(Qt6DBus)
|
|
|
|
|
BuildRequires: cmake(Qt6Widgets)
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
BuildRequires: cmake
|
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
|
BuildRequires: ninja-build
|
|
|
|
|
|
|
|
|
|
%if 0%{?tests}
|
|
|
|
|
%if 0%{?use_qt5}
|
|
|
|
|
BuildRequires: cmake(Qt5Concurrent)
|
|
|
|
|
BuildRequires: cmake(Qt5Test)
|
|
|
|
|
%endif
|
|
|
|
|
%if 0%{?use_qt6}
|
|
|
|
|
BuildRequires: cmake(Qt6Concurrent)
|
|
|
|
|
BuildRequires: cmake(Qt6Test)
|
|
|
|
|
%endif
|
|
|
|
|
BuildRequires: dbus-x11
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|