Blame SPECS/chrome-gnome-shell.spec

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