Blame SPECS/chrome-gnome-shell.spec

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