Initial Fedora packaging (rhbz#2127314)

This commit is contained in:
Kalev Lember 2022-09-17 15:50:02 +02:00
parent 9d4a52f9e8
commit 3e92b2bd42
3 changed files with 65 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/gnome-browser-connector-42.1.tar.xz

View File

@ -0,0 +1,63 @@
%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

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (gnome-browser-connector-42.1.tar.xz) = f8f7c0e7f3fb6bd50eddc674c48f521d07aa03b5b36674e8dfcb6b6d8203bbdf4fc4de1f7cbbcc805a3da3cf098a27bda281b7a0ac5b98d7144dffe85698b7d7