Blame SPECS/chrome-gnome-shell.spec

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