Initial Fedora packaging (rhbz#2127314)
This commit is contained in:
parent
9d4a52f9e8
commit
3e92b2bd42
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
/gnome-browser-connector-42.1.tar.xz
|
63
gnome-browser-connector.spec
Normal file
63
gnome-browser-connector.spec
Normal 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
|
Loading…
Reference in New Issue
Block a user