gnome-browser-connector/gnome-browser-connector.spec
2022-09-17 15:50:02 +02:00

64 lines
1.5 KiB
RPMSpec

%global debug_package %{nil}
Name: gnome-browser-connector
Version: 42.1
Release: %autorelease
Summary: GNOME Shell browser connector
License: GPL-3.0-or-later
URL: https://gitlab.gnome.org/GNOME/gnome-browser-connector
Source0: https://download.gnome.org/sources/gnome-browser-connector/42/gnome-browser-connector-%{version}.tar.xz
BuildRequires: desktop-file-utils
BuildRequires: meson
BuildRequires: python3-devel
BuildRequires: python3-gobject-base
Requires: dbus
Requires: gnome-shell
Requires: hicolor-icon-theme
Requires: mozilla-filesystem
Requires: python3-gobject-base
# Obsoleted in F37
Obsoletes: chrome-gnome-shell < 10.1-18
%description
Native host messaging connector that provides integration with GNOME Shell and
the corresponding extensions repository https://extensions.gnome.org.
%prep
%autosetup -p1
%build
%meson
%meson_build
%install
%meson_install
%check
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.BrowserConnector.desktop
%files
%license LICENSE
%doc NEWS README.md
%{_sysconfdir}/chromium/
%{_sysconfdir}/opt/chrome/
%{_bindir}/gnome-browser-connector
%{_bindir}/gnome-browser-connector-host
%{python3_sitelib}/gnome_browser_connector/
%{_libdir}/mozilla/native-messaging-hosts/
%{_datadir}/applications/org.gnome.BrowserConnector.desktop
%{_datadir}/dbus-1/services/org.gnome.BrowserConnector.service
%{_datadir}/icons/hicolor/*/apps/org.gnome.BrowserConnector.png
%changelog
%autochangelog