diff --git a/.gitignore b/.gitignore index 42e2edc..df91c5d 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /kdeconnect-kde-0.4.2.tar.xz +/kdeconnect-kde-0.5.tar.xz diff --git a/kde-connect.spec b/kde-connect.spec index 53d2f35..08306bc 100644 --- a/kde-connect.spec +++ b/kde-connect.spec @@ -1,5 +1,5 @@ Name: kde-connect -Version: 0.4.2 +Version: 0.5 Release: 1%{?dist} License: GPLv2+ Summary: KDE Connect client for communication with smartphones @@ -18,8 +18,8 @@ Requires: kde-runtime%{?_kde4_version: >= %{_kde4_version}} 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. +KDE Connect app from Albert Vaka which you can obtain via Google Play, F-Droid +or the project website. %prep %setup -q -n kdeconnect-kde-%{version} @@ -32,18 +32,36 @@ popd make %{?_smp_mflags} -C %{_target_platform} -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig - %install make install/fast DESTDIR=%{buildroot} -C %{_target_platform} +%find_lang %{name} --all-name --with-kde + + +%post +/sbin/ldconfig +/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : + +%postun +/sbin/ldconfig ||: +if [ $1 -eq 0 ] ; then + /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null + /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : +fi + +%posttrans +/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : + -%files +%files -f %{name}.lang %doc COPYING README +#daemon +%{_libexecdir}/kde4/kdeconnectd +#kcm +%{_kde4_libdir}/kde4/kcm_kdeconnect.so +%{_datadir}/applications/kde4/kdeconnect.desktop +%{_kde4_datadir}/kde4/services/kcm_kdeconnect.desktop #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 @@ -54,18 +72,24 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %{_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 +%{_datadir}/dbus-1/interfaces/org.kde.kdeconnect.device.sftp.xml +%{_datadir}/dbus-1/interfaces/org.kde.kded.kdeconnect.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 +#icons +%{_datadir}/icons/hicolor/*/apps/kdeconnect.* %changelog +* Mon Feb 24 2014 Martin Briza - 0.5-1 +- New release + * 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 940ce46..438a79c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -96320feda9805296c72e1e10578b903e kdeconnect-kde-0.4.2.tar.xz +c87a7032d5b66dc22b22004a8275b493 kdeconnect-kde-0.5.tar.xz