From e87778b09d114fb715da46203568e29672fb14b1 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Oct 21 2019 21:12:02 +0000 Subject: import chrome-gnome-shell-10.1-4.el7 --- diff --git a/.chrome-gnome-shell.metadata b/.chrome-gnome-shell.metadata new file mode 100644 index 0000000..8115029 --- /dev/null +++ b/.chrome-gnome-shell.metadata @@ -0,0 +1,2 @@ +f8c05bd58302c6b0ad3220f9e82df4a43b4ea4f3 SOURCES/chrome-gnome-shell-10.1.tar.xz +73bcbdc45be4db907a864e829b06cd869f77f4f7 SOURCES/jq-1.6.tar.gz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7a972e3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +SOURCES/chrome-gnome-shell-10.1.tar.xz +SOURCES/jq-1.6.tar.gz diff --git a/SPECS/chrome-gnome-shell.spec b/SPECS/chrome-gnome-shell.spec new file mode 100644 index 0000000..ca43afa --- /dev/null +++ b/SPECS/chrome-gnome-shell.spec @@ -0,0 +1,129 @@ +%global debug_package %{nil} + +Name: chrome-gnome-shell +Version: 10.1 +Release: 4%{?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 +Source1: https://github.com/stedolan/jq/releases/download/jq-1.6/jq-1.6.tar.gz + +BuildRequires: cmake +BuildRequires: desktop-file-utils +BuildRequires: python2-devel +BuildRequires: /usr/bin/base64 +BuildRequires: /usr/bin/head +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: python-gobject-base +Requires: python-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 +%setup -q -n jq-1.6 -b1 -T +%autosetup + +%build +(cd ../jq-1.6 + ./configure --with-oniguruma=no \ + --prefix=$PWD + make %{?_smp_mflags} + make install) +export PATH=$PWD/../jq-1.6/bin:$PATH +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/ +%{python2_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 +* Sat Apr 05 2019 Florian Müllner - 10.1-4 +- Adjust Fedora spec to build on RHEL: + - build missing BuildRequire + - use python2 instead of python3 + + Related: #1643501 + +* Thu Jan 31 2019 Fedora Release Engineering - 10.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Thu Jul 12 2018 Fedora Release Engineering - 10.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Tue Jun 19 2018 Miro Hrončok - 10.1-2 +- Rebuilt for Python 3.7 + +* Wed Apr 04 2018 Pete Walter - 10.1-1 +- Update to 10.1 + +* Wed Feb 07 2018 Fedora Release Engineering - 9-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Aug 02 2017 Fedora Release Engineering - 9-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 9-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Thu Jun 22 2017 Pete Walter - 9-1 +- Update to 9 + +* 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.