File gnome-characters.spec of Package gnome-characters

# spec file for package gnome-characters
# Copyright (c) 2023 SUSE LLC
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

Name:           gnome-characters
Version:        44.0
Release:        0
Summary:        Character Map
License:        GPL-3.0-or-later
Group:          System/GUI/GNOME

BuildRequires:  appstream-glib
BuildRequires:  desktop-file-utils
BuildRequires:  intltool >= 0.50.1
BuildRequires:  meson
BuildRequires:  pkgconfig
BuildRequires:  pkgconfig(gdk-pixbuf-2.0)
BuildRequires:  pkgconfig(gio-2.0)
BuildRequires:  pkgconfig(gjs-1.0) >= 1.43.3
BuildRequires:  pkgconfig(gobject-introspection-1.0) >= 1.35.9
BuildRequires:  pkgconfig(gtk4)
BuildRequires:  pkgconfig(libadwaita-1) >= 1.0
BuildRequires:  pkgconfig(pango)
BuildRequires:  pkgconfig(pangoft2)
# Ensure default sections are filled with content
Recommends:     google-noto-coloremoji-fonts

A simple utility application to find and insert unusual characters.

%package -n gnome-shell-search-provider-gnome-characters
Summary:        GNOME Characters -- Search Provider for GNOME Shell
Group:          System/GUI/GNOME
Requires:       %{name} = %{version}
Supplements:    (gnome-shell and %{name})
BuildArch:      noarch

%description -n gnome-shell-search-provider-gnome-characters
This package contains a search provider to enable GNOME Shell to get
search results from GNOME Characters.


%autosetup -p1

%meson \
	-D pangoft2=true \
	-D installed_tests=false \

%find_lang org.gnome.Characters %{name}.lang

desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.Characters.desktop

%license COPYING
%dir %{_datadir}/gnome-shell
%dir %{_datadir}/gnome-shell/search-providers

%files -n gnome-shell-search-provider-gnome-characters

%files lang -f %{name}.lang

openSUSE Build Service is sponsored by