Blame SPECS/chrome-gnome-shell.spec

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