Blame SPECS/chrome-gnome-shell.spec

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