1 |
%global debug_package %{nil} |
2 |
|
3 |
Name: chrome-gnome-shell |
4 |
Version: 10.1 |
5 |
Release: %mkrel 4 |
6 |
Summary: Support for managing GNOME Shell Extensions through web browsers |
7 |
Group: Graphical desktop/GNOME |
8 |
License: GPLv3+ |
9 |
URL: https://wiki.gnome.org/Projects/GnomeShellIntegrationForChrome |
10 |
Source0: https://download.gnome.org/sources/%{name}/%{version}/%{name}-%{version}.tar.xz |
11 |
|
12 |
BuildRequires: cmake |
13 |
BuildRequires: pkgconfig(python3) |
14 |
BuildRequires: coreutils |
15 |
BuildRequires: jq |
16 |
|
17 |
Requires: dbus |
18 |
Requires: gnome-icon-theme |
19 |
Requires: gnome-shell |
20 |
Requires: hicolor-icon-theme |
21 |
Requires: mozilla-filesystem |
22 |
Requires: python3-gobject3 |
23 |
Requires: python3-requests |
24 |
|
25 |
%description |
26 |
Browser extension for Google Chrome/Chromium, Firefox, Vivaldi, Opera (and |
27 |
other Browser Extension, Chrome Extension or WebExtensions capable browsers) |
28 |
and native host messaging connector that provides integration with GNOME Shell |
29 |
and the corresponding extensions repository https://extensions.gnome.org. |
30 |
|
31 |
%prep |
32 |
%autosetup |
33 |
|
34 |
%build |
35 |
%cmake -DBUILD_EXTENSION=OFF \ |
36 |
-DCMAKE_INSTALL_LIBDIR=%{_lib} \ |
37 |
-DPython_ADDITIONAL_VERSIONS=3 |
38 |
%cmake_build |
39 |
|
40 |
%install |
41 |
%cmake_install |
42 |
|
43 |
%check |
44 |
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.ChromeGnomeShell.desktop |
45 |
|
46 |
%files |
47 |
%license LICENSE |
48 |
%{_sysconfdir}/chromium/ |
49 |
%{_sysconfdir}/opt/chrome/ |
50 |
%{_bindir}/chrome-gnome-shell |
51 |
%{_libdir}/mozilla/native-messaging-hosts/ |
52 |
%{python3_sitelib}/chrome_gnome_shell-*.egg-info |
53 |
%{_datadir}/applications/org.gnome.ChromeGnomeShell.desktop |
54 |
%{_datadir}/dbus-1/services/org.gnome.ChromeGnomeShell.service |
55 |
%{_datadir}/icons/gnome/*/apps/org.gnome.ChromeGnomeShell.png |
56 |
|