From 8e985f00dc2dd6032a17a0a0eed50ba7d1ee6b28 Mon Sep 17 00:00:00 2001 From: Pete Walter Date: Jun 22 2017 11:20:18 +0000 Subject: Initial import (#1343710) --- diff --git a/.gitignore b/.gitignore index e69de29..f269ec9 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/chrome-gnome-shell-8.2.tar.xz diff --git a/chrome-gnome-shell.spec b/chrome-gnome-shell.spec new file mode 100644 index 0000000..d46e9b3 --- /dev/null +++ b/chrome-gnome-shell.spec @@ -0,0 +1,90 @@ +%global debug_package %{nil} + +Name: chrome-gnome-shell +Version: 8.2 +Release: 2%{?dist} +Summary: Support for managing GNOME Shell Extensions through web browsers + +License: GPLv3+ +URL: https://wiki.gnome.org/Projects/GnomeShellIntegrationForChrome +Source0: https://download.gnome.org/sources/%{name}/%{version}/%{name}-%{version}.tar.xz + +BuildRequires: cmake +BuildRequires: python3-devel +BuildRequires: /usr/bin/base64 +BuildRequires: /usr/bin/head +BuildRequires: /usr/bin/jq +BuildRequires: /usr/bin/sha256sum +BuildRequires: /usr/bin/tr + +Requires: dbus +Requires: gnome-icon-theme +Requires: gnome-shell +Requires: hicolor-icon-theme +Requires: mozilla-filesystem +Requires: python3-gobject-base +Requires: python3-requests + +%description +Browser extension for Google Chrome/Chromium, Firefox, Vivaldi, Opera (and +other Browser Extension, Chrome Extension or WebExtensions capable browsers) +and native host messaging connector that provides integration with GNOME Shell +and the corresponding extensions repository https://extensions.gnome.org. + +%prep +%autosetup + +%build +mkdir build +pushd build + %cmake -DBUILD_EXTENSION=OFF \ + -DCMAKE_INSTALL_LIBDIR=%{_lib} \ + -DPython_ADDITIONAL_VERSIONS=3 \ + .. + %make_build +popd + +%install +pushd build + %make_install +popd + +%check +desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.ChromeGnomeShell.desktop + +%files +%license LICENSE +%{_sysconfdir}/chromium/ +%{_sysconfdir}/opt/chrome/ +%{_bindir}/chrome-gnome-shell +%{_libdir}/mozilla/native-messaging-hosts/ +%{python3_sitelib}/chrome_gnome_shell-*.egg-info +%{_datadir}/applications/org.gnome.ChromeGnomeShell.desktop +%{_datadir}/dbus-1/services/org.gnome.ChromeGnomeShell.service +%{_datadir}/icons/gnome/*/apps/org.gnome.ChromeGnomeShell.png + +%changelog +* Fri Mar 10 2017 Pete Walter - 8.2-2 +- Package review fixes (#1343710) +- Validate the desktop file +- Don't own /etc/opt directory +- Depend on mozilla-filesystem instead of co-owning mozilla directories +- Depend on dbus and gnome-icon-theme/hicolor-icon-theme for directory + ownership + +* Fri Mar 03 2017 Pete Walter - 8.2-1 +- Update to 8.2 +- Simplify files list +- Build with Python 3 (#1343710) +- Add missing python3-requests dependency (#1343710) +- Update package description + +* Tue Jun 07 2016 Pete Walter - 6.1-1 +- Update to 6.1 + +* Sat May 14 2016 Maxim Orlov - 6-1 +- Update to Ver.6 +- Fix "orphaned directory" + +* Mon Apr 11 2016 Maxim Orlov - 5.2-1 +- Initial package. diff --git a/sources b/sources index e69de29..cdd168d 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +SHA512 (chrome-gnome-shell-8.2.tar.xz) = ded2393a986fb2c3eddbaeefbacc362e36bf61c600169d3130b766f7f53647bef562ed2e5de3d8675e689df6e6fe28fcc2b9a8b36f5341293b0334c521ab4815