Blame SPECS/chrome-gnome-shell.spec

bd1197
%global debug_package %{nil}
bd1197
bd1197
Name:           chrome-gnome-shell
bd1197
Version:        10.1
bd1197
Release:        7%{?dist}
bd1197
Summary:        Support for managing GNOME Shell Extensions through web browsers
bd1197
bd1197
License:        GPLv3+
bd1197
URL:            https://wiki.gnome.org/Projects/GnomeShellIntegrationForChrome
bd1197
Source0:        https://download.gnome.org/sources/%{name}/%{version}/%{name}-%{version}.tar.xz
bd1197
Source1:        https://github.com/stedolan/jq/releases/download/jq-1.6/jq-1.6.tar.gz
bd1197
bd1197
Patch1: 0001-build-Install-icons-in-hicolor-theme.patch
bd1197
Patch2: 0001-connector-drop-updates-support-in-favour-of-Shell-3..patch
bd1197
bd1197
BuildRequires:  cmake
bd1197
BuildRequires:  desktop-file-utils
bd1197
BuildRequires:  git
bd1197
BuildRequires:  python3-devel
bd1197
BuildRequires:  /usr/bin/base64
bd1197
BuildRequires:  /usr/bin/head
bd1197
BuildRequires:  /usr/bin/sha256sum
bd1197
BuildRequires:  /usr/bin/tr
bd1197
bd1197
Requires:       dbus
bd1197
Requires:       gnome-shell
bd1197
Requires:       hicolor-icon-theme
bd1197
Requires:       mozilla-filesystem
bd1197
Requires:       python3-gobject-base
bd1197
Requires:       python3-requests
bd1197
bd1197
%description
bd1197
Browser extension for Google Chrome/Chromium, Firefox, Vivaldi, Opera (and
bd1197
other Browser Extension, Chrome Extension or WebExtensions capable browsers)
bd1197
and native host messaging connector that provides integration with GNOME Shell
bd1197
and the corresponding extensions repository https://extensions.gnome.org.
bd1197
bd1197
%prep
bd1197
%setup -q -n jq-1.6 -b1 -T
bd1197
%autosetup -S git
bd1197
bd1197
%build
bd1197
(cd ../jq-1.6
bd1197
 ./configure --with-oniguruma=no \
bd1197
             --prefix=$PWD
bd1197
 make %{?_smp_mflags}
bd1197
 make install)
bd1197
export PATH=$PWD/../jq-1.6/bin:$PATH
bd1197
mkdir build
bd1197
pushd build
bd1197
  %cmake -DBUILD_EXTENSION=OFF \
bd1197
         -DCMAKE_INSTALL_LIBDIR=%{_lib} \
bd1197
         -DPython_ADDITIONAL_VERSIONS=3 \
bd1197
         ..
bd1197
  %make_build
bd1197
popd
bd1197
bd1197
%install
bd1197
pushd build
bd1197
  %make_install
bd1197
popd
bd1197
bd1197
%check
bd1197
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.ChromeGnomeShell.desktop
bd1197
bd1197
%files
bd1197
%license LICENSE
bd1197
%{_sysconfdir}/chromium/
bd1197
%{_sysconfdir}/opt/chrome/
bd1197
%{_bindir}/chrome-gnome-shell
bd1197
%{_libdir}/mozilla/native-messaging-hosts/
bd1197
%{python3_sitelib}/chrome_gnome_shell-*.egg-info
bd1197
%{_datadir}/applications/org.gnome.ChromeGnomeShell.desktop
bd1197
%{_datadir}/dbus-1/services/org.gnome.ChromeGnomeShell.service
bd1197
%{_datadir}/icons/hicolor/*/apps/org.gnome.ChromeGnomeShell.png
bd1197
bd1197
%changelog
bd1197
* Mon Jan 25 2021 Florian M체llner <fmuellner@redhat.com> - 10.1-7
bd1197
- Disable updates support
bd1197
  Resolves: #1802105
bd1197
bd1197
* Fri Jul 12 2019 Florian M체llner <fmuellner@redhat.com> - 10.1-6
bd1197
- Install icons in 'hicolor' instead of 'gnome'
bd1197
  Related: #1694203
bd1197
bd1197
* Thu Jul 12 2019 Tomas Pelka <tpelka@redhat.com> - 10.1-5
bd1197
- bump release num to correctly start gating process
bd1197
bd1197
  Related: #1694203
bd1197
bd1197
* Thu Jul 11 2019 Florian M체llner <fmuellner@redhat.com> - 10.1-4
bd1197
- Adjust Fedora spec to build on RHEL:
bd1197
  - build missing BuildRequire
bd1197
bd1197
  Related: #1694203
bd1197
bd1197
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 10.1-4
bd1197
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
bd1197
bd1197
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 10.1-3
bd1197
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
bd1197
bd1197
* Tue Jun 19 2018 Miro Hron훾ok <mhroncok@redhat.com> - 10.1-2
bd1197
- Rebuilt for Python 3.7
bd1197
bd1197
* Wed Apr 04 2018 Pete Walter <pwalter@fedoraproject.org> - 10.1-1
bd1197
- Update to 10.1
bd1197
bd1197
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 9-4
bd1197
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
bd1197
bd1197
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 9-3
bd1197
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
bd1197
bd1197
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 9-2
bd1197
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
bd1197
bd1197
* Thu Jun 22 2017 Pete Walter <pwalter@fedoraproject.org> - 9-1
bd1197
- Update to 9
bd1197
bd1197
* Fri Mar 10 2017 Pete Walter <pwalter@fedoraproject.org> - 8.2-2
bd1197
- Package review fixes (#1343710)
bd1197
- Validate the desktop file
bd1197
- Don't own /etc/opt directory
bd1197
- Depend on mozilla-filesystem instead of co-owning mozilla directories
bd1197
- Depend on dbus and gnome-icon-theme/hicolor-icon-theme for directory
bd1197
  ownership
bd1197
bd1197
* Fri Mar 03 2017 Pete Walter <pwalter@fedoraproject.org> - 8.2-1
bd1197
- Update to 8.2
bd1197
- Simplify files list
bd1197
- Build with Python 3 (#1343710)
bd1197
- Add missing python3-requests dependency (#1343710)
bd1197
- Update package description
bd1197
bd1197
* Tue Jun 07 2016 Pete Walter <pwalter@fedoraproject.org> - 6.1-1
bd1197
- Update to 6.1
bd1197
bd1197
* Sat May 14 2016 Maxim Orlov <murmansksity@gmail.com> - 6-1
bd1197
- Update to Ver.6
bd1197
- Fix "orphaned directory"
bd1197
bd1197
* Mon Apr 11 2016 Maxim Orlov <murmansksity@gmail.com> - 5.2-1
bd1197
- Initial package.