%global debug_package %{nil} %global app_id org.gnome.Shell.Extensions.GSConnect Name: gnome-shell-extension-gsconnect Version: 28 Release: 1%{?dist} Summary: KDE Connect implementation for GNOME Shell License: GPLv2 URL: https://github.com/andyholmes/%{name} Source0: %{url}/archive/v%{version}/%{name}-v%{version}.tar.gz Source1: nautilus-gsconnect.metainfo.xml Source2: nemo-gsconnect.metainfo.xml BuildRequires: desktop-file-utils BuildRequires: gcc BuildRequires: gettext BuildRequires: libappstream-glib BuildRequires: meson BuildRequires: pkgconfig(dbus-1) BuildRequires: pkgconfig(glib-2.0) Requires: gnome-shell >= 3.28 Requires: openssl Suggests: folks Suggests: gsound Suggests: libcanberra-gtk3 %description The KDE Connect project allows devices to securely share content such as notifications and files as well as interactive features such as SMS messaging and remote input. The KDE Connect team maintains cross-desktop, Android and Sailfish applications as well as an interface for KDE Plasma. GSConnect is a complete implementation of KDE Connect especially for GNOME Shell with Nautilus, Chrome and Firefox integration. It is does not rely on the KDE Connect desktop application and will not work with it installed. %package -n nautilus-gsconnect Summary: Nautilus extension for GSConnect Requires: gobject-introspection Requires: nautilus-extensions Requires: nautilus-python Requires: %{name} = %{version}-%{release} BuildArch: noarch %description -n nautilus-gsconnect The nautilus-gsconnect package provides a Nautilus context menu for sending files to devices that are online, paired and have the "Share and receive" plugin enabled. %package -n nemo-gsconnect Summary: Nemo extension for GSConnect Requires: gobject-introspection Requires: nemo-extensions Requires: python3-nemo Requires: %{name} = %{version}-%{release} BuildArch: noarch %description -n nemo-gsconnect The nemo-gsconnect package provides a Nemo context menu for sending files to devices that are online, paired and have the "Share and receive" plugin enabled. %package -n webextension-gsconnect Summary: Web browser integration for GSConnect Requires: mozilla-filesystem Requires: %{name} = %{version}-%{release} %description -n webextension-gsconnect The webextension-gsconnect package allows Google Chrome/Chromium, Firefox, Vivaldi, Opera (and other Browser Extension, Chrome Extension or WebExtensions capable browsers) to interact with GSConnect, using the Share plugin to open links in device browsers and the Telephony plugin to share links with contacts by SMS. %prep %autosetup -p0 -n %{name}-%{version}%{?prerelease:-%{prerelease}} %build %meson %meson_build %install %meson_install # Install AppData files install -Dpm 0644 %{SOURCE1} %{SOURCE2} -t $RPM_BUILD_ROOT%{_metainfodir}/ # Remove useless files rm $RPM_BUILD_ROOT%{_datadir}/gnome-shell/extensions/gsconnect@andyholmes.github.io/nautilus-gsconnect.py %find_lang %{app_id} %check desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/%{app_id}.desktop appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_metainfodir}/nautilus-gsconnect.metainfo.xml %files -f %{app_id}.lang %doc README.md %license LICENSE %{_datadir}/gnome-shell/extensions/gsconnect@andyholmes.github.io/ %{_datadir}/applications/%{app_id}.desktop %{_datadir}/dbus-1/services/%{app_id}.service %{_datadir}/glib-2.0/schemas/%{app_id}.gschema.xml %{_datadir}/icons/hicolor/scalable/apps/*.svg %files -n nautilus-gsconnect %{_datadir}/nautilus-python/extensions/nautilus-gsconnect.py %{_metainfodir}/nautilus-gsconnect.metainfo.xml %files -n nemo-gsconnect %{_datadir}/nemo-python/extensions/nautilus-gsconnect.py %{_metainfodir}/nemo-gsconnect.metainfo.xml %files -n webextension-gsconnect %{_libdir}/mozilla/native-messaging-hosts/ %{_sysconfdir}/chromium/ %{_sysconfdir}/opt/chrome/ %changelog * Mon Dec 02 2019 Mohamed El Morabity - 28-1 - Update to 28 * Wed Oct 16 2019 Mohamed El Morabity - 27-1 - Update to 27 * Tue Sep 10 2019 Mohamed El Morabity - 26-1 - Update to 26 * Tue Sep 10 2019 Mohamed El Morabity - 25-1 - Update to 25 * Fri May 17 2019 Mohamed El Morabity - 24-1 - Update to 24 * Thu May 02 2019 Mohamed El Morabity - 23-1 - Update to 23 * Tue Apr 16 2019 Adam Williamson - 21-2 - Rebuild with Meson fix for #1699099 * Mon Mar 18 2019 Mohamed El Morabity - 21-1 - Update to 21 * Thu Jan 31 2019 Fedora Release Engineering - 20-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Wed Jan 16 2019 Mohamed El Morabity - 20-1 - Update to 20 * Tue Nov 27 2018 Mohamed El Morabity - 16-1 - Initial RPM release