From 1edf8bfb37ba7b92fe9e5281cb66abb60f378481 Mon Sep 17 00:00:00 2001 From: Martin Briza Date: Thu, 2 Jan 2014 14:03:45 +0100 Subject: [PATCH] Import the reviewed spec and fix issues pointed out by Rex Dieter + revise the description --- .gitignore | 1 + kde-connect.spec | 71 ++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 73 insertions(+) create mode 100644 kde-connect.spec diff --git a/.gitignore b/.gitignore index e69de29..42e2edc 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/kdeconnect-kde-0.4.2.tar.xz diff --git a/kde-connect.spec b/kde-connect.spec new file mode 100644 index 0000000..53d2f35 --- /dev/null +++ b/kde-connect.spec @@ -0,0 +1,71 @@ +Name: kde-connect +Version: 0.4.2 +Release: 1%{?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-%{version}.tar.xz + +BuildRequires: gettext +BuildRequires: kdelibs4-devel +BuildRequires: qjson-devel +BuildRequires: qca2-devel + +Requires: kde-runtime%{?_kde4_version: >= %{_kde4_version}} + +%description +KDE Connect adds communication between KDE and your smartphone. + +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 or the +project website. + +%prep +%setup -q -n kdeconnect-kde-%{version} + +%build +mkdir -p %{_target_platform} +pushd %{_target_platform} +%{cmake_kde4} .. +popd + +make %{?_smp_mflags} -C %{_target_platform} + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%install +make install/fast DESTDIR=%{buildroot} -C %{_target_platform} + +%files +%doc COPYING README +#lib +%{_kde4_libdir}/kde4/imports/org/kde/kdeconnect/libkdeconnectdeclarativeplugin.so +%{_kde4_libdir}/kde4/imports/org/kde/kdeconnect/ +%{_kde4_libdir}/kde4/kcm_kdeconnect.so +%{_kde4_libdir}/kde4/kded_kdeconnect.so +%{_kde4_libdir}/libkdeconnect.so +%{_kde4_libdir}/libkdeconnect.so.1 +%{_kde4_libdir}/libkdeconnect.so.1.0.1 +#dbus interfaces +%{_datadir}/dbus-1/interfaces/org.kde.kdeconnect.daemon.xml +%{_datadir}/dbus-1/interfaces/org.kde.kdeconnect.device.battery.xml +%{_datadir}/dbus-1/interfaces/org.kde.kdeconnect.device.notifications.notification.xml +%{_datadir}/dbus-1/interfaces/org.kde.kdeconnect.device.notifications.xml +%{_datadir}/dbus-1/interfaces/org.kde.kdeconnect.device.xml +#modules +%{_kde4_libdir}/kde4/kdeconnect_*.so +%{_kde4_appsdir}/kdeconnect/ +%{_kde4_appsdir}/plasma/plasmoids/kdeconnect/ +%{_kde4_datadir}/kde4/services/kcm_kdeconnect.desktop +#module desktop files +%{_kde4_datadir}/kde4/services/kdeconnect_*.desktop +%{_kde4_datadir}/kde4/services/kded/kdeconnect.desktop +%{_kde4_datadir}/kde4/services/plasma-kdeconnect.desktop +%{_kde4_datadir}/kde4/servicetypes/kdeconnect_plugin.desktop + + +%changelog +* Thu Jan 02 2014 Martin Briza - 0.4.2-1 +- Initial package \ No newline at end of file diff --git a/sources b/sources index e69de29..940ce46 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +96320feda9805296c72e1e10578b903e kdeconnect-kde-0.4.2.tar.xz