|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
|
|
|
|
|
%undefine __cmake_in_source_build
|
|
|
|
|
# enable experimental (default off) bluetooth support
|
|
|
|
|
#global bluetooth 1
|
|
|
|
|
|
|
|
|
@ -117,17 +117,13 @@ Supplements: (kdeconnectd and nautilus)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
mkdir %{_target_platform}
|
|
|
|
|
pushd %{_target_platform}
|
|
|
|
|
%{cmake_kf5} .. \
|
|
|
|
|
%{cmake_kf5} \
|
|
|
|
|
%{?bluetooth:-DBLUETOOTH_ENABLED:BOOL=ON}
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
%make_build -C %{_target_platform}
|
|
|
|
|
%cmake_build
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
|
|
%cmake_install
|
|
|
|
|
|
|
|
|
|
# firewalld as shipped in f31+ provides it's own kdeconnect.xml
|
|
|
|
|
%if 0%{?fedora} && 0%{?fedora} < 31
|
|
|
|
|