kde-connect-1.0

epel9
Rex Dieter 8 years ago
parent 8e7f34ddd1
commit 7801a8f7c3

3
.gitignore vendored

@ -1,3 +1,2 @@
/kdeconnect-kde-0.8.tar.xz /kdeconnect-kde-0.8.tar.xz
/kdeconnect-kde-0.9g.tar.xz /kdeconnect-kde-1.0.tar.xz
/kde-connect-a594324dgit.patch.gz

@ -3,12 +3,9 @@
%global _with_kde4 1 %global _with_kde4 1
%endif %endif
# After tag v0.8 with Frameworks
#define _git_describe v0.8-339-g2b34d28
Name: kde-connect Name: kde-connect
Version: 0.9 Version: 1.0
Release: 7%{?dist} Release: 1%{?dist}
License: GPLv2+ License: GPLv2+
Summary: KDE Connect client for communication with smartphones Summary: KDE Connect client for communication with smartphones
@ -19,7 +16,7 @@ Url: https://projects.kde.org/kdeconnect-kde
# then rename accordingly # then rename accordingly
Source0: kdeconnect-kde-%{_git_describe}.tar.xz Source0: kdeconnect-kde-%{_git_describe}.tar.xz
%else %else
Source0: http://download.kde.org/unstable/kdeconnect/%{version}/src/kdeconnect-kde-%{version}g.tar.xz Source0: http://download.kde.org/stable/kdeconnect/%{version}/src/kdeconnect-kde-%{version}.tar.xz
%endif %endif
Source1: http://download.kde.org/unstable/kdeconnect/0.8/src/kdeconnect-kde-0.8.tar.xz Source1: http://download.kde.org/unstable/kdeconnect/0.8/src/kdeconnect-kde-0.8.tar.xz
@ -29,9 +26,6 @@ Source2: kde-connect.xml
# Upstream patch for KDE 4 version # Upstream patch for KDE 4 version
Patch0: kdeconnect-kde-0.8-b-revision.patch Patch0: kdeconnect-kde-0.8-b-revision.patch
# post v0.9g tag patches, dated 20160603, git revision a594324d4fbe8e561fbb021d465b9c98de4ffe7e
Patch1: kde-connect-a594324dgit.patch.gz
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: extra-cmake-modules BuildRequires: extra-cmake-modules
BuildRequires: firewalld-filesystem BuildRequires: firewalld-filesystem
@ -79,7 +73,7 @@ Requires: kde-cli-tools
KDE Connect adds communication between KDE and your smartphone. KDE Connect adds communication between KDE and your smartphone.
Currently, you can pair with your Android devices over Wifi using the Currently, you can pair with your Android devices over Wifi using the
KDE Connect app from Albert Vaka which you can obtain via Google Play, F-Droid KDE Connect 1.0 app from Albert Vaka which you can obtain via Google Play, F-Droid
or the project website. or the project website.
%package -n kdeconnectd %package -n kdeconnectd
@ -119,10 +113,7 @@ Requires: fuse-sshfs
%prep %prep
%setup -q -n kdeconnect-kde-%{version}g %setup -q -n kdeconnect-kde-%{version}
# makes app v1.0 compatible, don't apply yet
#patch1 -p1
%build %build
@ -159,9 +150,6 @@ install -m644 -p -D %{SOURCE2} %{buildroot}%{_prefix}/lib/firewalld/services/kde
# https://bugzilla.redhat.com/show_bug.cgi?id=1296523 # https://bugzilla.redhat.com/show_bug.cgi?id=1296523
desktop-file-edit --remove-key=OnlyShowIn %{buildroot}%{_sysconfdir}/xdg/autostart/kdeconnectd.desktop desktop-file-edit --remove-key=OnlyShowIn %{buildroot}%{_sysconfdir}/xdg/autostart/kdeconnectd.desktop
# https://bugzilla.redhat.com/show_bug.cgi?id=1323421
echo 'TryExec=Exec=plasmawindowed' >> %{buildroot}%{_datadir}/applications/org.kde.kdeconnect.nonplasma.desktop
%if 0%{?_with_kde4} %if 0%{?_with_kde4}
make install/fast DESTDIR=%{buildroot} -C %{_builddir}/kde4/kdeconnect-kde-0.8/%{_target_platform}/interfaces make install/fast DESTDIR=%{buildroot} -C %{_builddir}/kde4/kdeconnect-kde-0.8/%{_target_platform}/interfaces
make install/fast DESTDIR=%{buildroot} -C %{_builddir}/kde4/kdeconnect-kde-0.8/%{_target_platform}/kio make install/fast DESTDIR=%{buildroot} -C %{_builddir}/kde4/kdeconnect-kde-0.8/%{_target_platform}/kio
@ -205,7 +193,7 @@ fi
%{_datadir}/applications/org.kde.kdeconnect.kcm.desktop %{_datadir}/applications/org.kde.kdeconnect.kcm.desktop
%{_datadir}/applications/org.kde.kdeconnect.nonplasma.desktop %{_datadir}/applications/org.kde.kdeconnect.nonplasma.desktop
%{_qt5_archdatadir}/qml/org/kde/kdeconnect/ %{_qt5_archdatadir}/qml/org/kde/kdeconnect/
#{_kf5_docdir}/HTML/en/kdeconnect/ %{_kf5_docdir}/HTML/en/kdeconnect-kde/
%post -n kdeconnectd %post -n kdeconnectd
%{?firewalld_reload} %{?firewalld_reload}
@ -225,9 +213,9 @@ fi
%postun libs -p /sbin/ldconfig %postun libs -p /sbin/ldconfig
%files libs %files libs
%{_kf5_libdir}/libkdeconnectpluginkcm.so.0* %{_kf5_libdir}/libkdeconnectpluginkcm.so.1*
%{_kf5_libdir}/libkdeconnectinterfaces.so.0* %{_kf5_libdir}/libkdeconnectinterfaces.so.1*
%{_kf5_libdir}/libkdeconnectcore.so.0* %{_kf5_libdir}/libkdeconnectcore.so.1*
%{_qt5_plugindir}/kdeconnect*.so %{_qt5_plugindir}/kdeconnect*.so
%{_qt5_plugindir}/kdeconnect/ %{_qt5_plugindir}/kdeconnect/
@ -245,6 +233,9 @@ fi
%changelog %changelog
* Sun Aug 28 2016 Rex Dieter <rdieter@fedoraproject.org> - 1.0-1
- kde-connect-1.0
* Sun Jun 05 2016 Rex Dieter <rdieter@fedoraproject.org> - 0.9-7 * Sun Jun 05 2016 Rex Dieter <rdieter@fedoraproject.org> - 0.9-7
- prep git snapshot (for 1.0 compatibility), but don't use yet - prep git snapshot (for 1.0 compatibility), but don't use yet
- kdeconnectd subpkg (#1324214) - kdeconnectd subpkg (#1324214)

@ -1,3 +1,2 @@
43fbad180dc5412c8c0131399acaceea kdeconnect-kde-0.8.tar.xz 43fbad180dc5412c8c0131399acaceea kdeconnect-kde-0.8.tar.xz
1472d071bd3d4f46c125a3aa0f387ca2 kdeconnect-kde-0.9g.tar.xz f5d09557300665de4144de24dc57ced4 kdeconnect-kde-1.0.tar.xz
57fb899933ae7471b8ed6b91927c718b kde-connect-a594324dgit.patch.gz

Loading…
Cancel
Save