|
|
@ -1,6 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# enable experimental (default off) bluetooth support
|
|
|
|
|
|
|
|
#global bluetooth 1
|
|
|
|
|
|
|
|
|
|
|
|
Name: kde-connect
|
|
|
|
Name: kde-connect
|
|
|
|
Version: 1.4
|
|
|
|
Version: 1.4
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Release: 0.2%{?dist}
|
|
|
|
License: GPLv2+
|
|
|
|
License: GPLv2+
|
|
|
|
Summary: KDE Connect client for communication with smartphones
|
|
|
|
Summary: KDE Connect client for communication with smartphones
|
|
|
|
|
|
|
|
|
|
|
@ -35,8 +39,16 @@ BuildRequires: kf5-knotifications-devel
|
|
|
|
BuildRequires: kf5-kwayland-devel
|
|
|
|
BuildRequires: kf5-kwayland-devel
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: qt5-qtbase-devel
|
|
|
|
BuildRequires: qt5-qtbase-devel
|
|
|
|
BuildRequires: qt5-qtdeclarative-devel
|
|
|
|
|
|
|
|
BuildRequires: qt5-qtx11extras-devel
|
|
|
|
%if 0%{?bluetooth}
|
|
|
|
|
|
|
|
BuildRequires: cmake(Qt5Bluetooth)
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
BuildRequires: cmake(Qt5DBus)
|
|
|
|
|
|
|
|
BuildRequires: cmake(Qt5Multimedia)
|
|
|
|
|
|
|
|
BuildRequires: cmake(Qt5Network)
|
|
|
|
|
|
|
|
BuildRequires: cmake(Qt5Quick)
|
|
|
|
|
|
|
|
BuildRequires: cmake(Qt5Test)
|
|
|
|
|
|
|
|
BuildRequires: cmake(Qt5X11Extras)
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: cmake(KF5PulseAudioQt)
|
|
|
|
BuildRequires: cmake(KF5PulseAudioQt)
|
|
|
|
|
|
|
|
|
|
|
@ -103,7 +115,8 @@ Supplements: (kdeconnectd and nautilus)
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
mkdir %{_target_platform}
|
|
|
|
mkdir %{_target_platform}
|
|
|
|
pushd %{_target_platform}
|
|
|
|
pushd %{_target_platform}
|
|
|
|
%{cmake_kf5} ..
|
|
|
|
%{cmake_kf5} .. \
|
|
|
|
|
|
|
|
%{?bluetooth:-DBLUETOOTH_ENABLED:BOOL=ON}
|
|
|
|
popd
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
|
|
%make_build -C %{_target_platform}
|
|
|
|
%make_build -C %{_target_platform}
|
|
|
|