|
|
|
@ -1,25 +1,29 @@
|
|
|
|
|
%global _with_kde4 0
|
|
|
|
|
%global _with_qt4 0
|
|
|
|
|
%if 0%{?fedora} <= 22
|
|
|
|
|
#if 0%{?fedora} <= 22
|
|
|
|
|
%global _with_kde4 1
|
|
|
|
|
%endif
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
%define _git_describe v0.8-231-gfdf91aa
|
|
|
|
|
# After tag v0.8 with Frameworks
|
|
|
|
|
%define _git_describe v0.8-329-g43161b3
|
|
|
|
|
|
|
|
|
|
Name: kde-connect
|
|
|
|
|
Version: 0.8
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
License: GPLv2+
|
|
|
|
|
Summary: KDE Connect client for communication with smartphones
|
|
|
|
|
|
|
|
|
|
Url: https://projects.kde.org/projects/playground/base/kdeconnect-kde
|
|
|
|
|
Source0: http://download.kde.org/unstable/kdeconnect/%{version}/src/kdeconnect-kde-%{_git_describe}.tar.xz
|
|
|
|
|
Source1: http://download.kde.org/unstable/kdeconnect/%{version}/src/kdeconnect-kde-%{version}.tar.xz
|
|
|
|
|
# Upstream patch for KDE 4 version
|
|
|
|
|
Patch0: kdeconnect-kde-0.8-b-revision.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: kf5-rpm-macros
|
|
|
|
|
BuildRequires: extra-cmake-modules
|
|
|
|
|
BuildRequires: qt5-qtbase-devel
|
|
|
|
|
BuildRequires: qt5-qtdeclarative-devel
|
|
|
|
|
BUildRequires: qt5-qtx11extras-devel
|
|
|
|
|
BuildRequires: qca-qt5-devel
|
|
|
|
|
BuildRequires: kf5-ki18n-devel
|
|
|
|
|
Buildrequires: kf5-kio-devel
|
|
|
|
@ -41,6 +45,7 @@ BuildRequires: pkgconfig(qca2)
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
Requires: kf5-filesystem
|
|
|
|
|
Requires: fuse-sshfs
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
KDE Connect adds communication between KDE and your smartphone.
|
|
|
|
@ -67,6 +72,7 @@ Requires: %{name} = %{version}-%{release}
|
|
|
|
|
%package kde4-ioslave
|
|
|
|
|
Summary: %{name} KDE4 kioslave
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
Requires: fuse-sshfs
|
|
|
|
|
%description kde4-ioslave
|
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
|
@ -92,6 +98,7 @@ mkdir -p %{_builddir}/kde4
|
|
|
|
|
cd %{_builddir}/kde4
|
|
|
|
|
tar xfJ %{SOURCE1}
|
|
|
|
|
cd kdeconnect-kde-%{version}
|
|
|
|
|
patch -p1 < %{PATCH0}
|
|
|
|
|
mkdir -p %{_target_platform}
|
|
|
|
|
pushd %{_target_platform}
|
|
|
|
|
%{cmake_kde4} ..
|
|
|
|
@ -144,7 +151,7 @@ fi
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc COPYING README
|
|
|
|
|
%doc COPYING
|
|
|
|
|
%{_libexecdir}/kdeconnectd
|
|
|
|
|
%{_kf5_bindir}/kdeconnect-cli
|
|
|
|
|
%{_kf5_datadir}/plasma/*
|
|
|
|
@ -173,14 +180,17 @@ fi
|
|
|
|
|
%{_kde4_libdir}/kde4/kio_kdeconnect.so
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Aug 05 2015 Helio Chissini de Castro <helio@kde.org> - 0.8-4
|
|
|
|
|
- Update the KF5 snapshot.
|
|
|
|
|
- Added b revision for 0.8 KDE 4
|
|
|
|
|
- Added requires for fuse-ssh ( thanks to Sudhir Khanger )
|
|
|
|
|
|
|
|
|
|
* Fri May 01 2015 Helio Chissini de Castro <helio@kde.org> - 0.8.3
|
|
|
|
|
- Added some missing buildrequires for rawhide
|
|
|
|
|
|
|
|
|
|
* Mon Apr 20 2015 Helio Chissini de Castro <helio@kde.org> - 0.8-2
|
|
|
|
|
- KDE Connect KF5 snapshot based on 0.8and kioslave for KDE 4
|
|
|
|
|
- KDE Connect KF5 snapshot based on 0.8 and kioslave for KDE 4
|
|
|
|
|
|
|
|
|
|
* Sun Feb 22 2015 Rex Dieter <rdieter@fedoraproject.org> 0.8-1
|
|
|
|
|
- KDE Connect 0.8 available (#1195011)
|
|
|
|
|