File gnome-characters.spec of Package gnome-characters

# spec file for package gnome-characters
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# 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:        3.26.2
Release:        0
Summary:        Character Map
License:        GPL-3.0+
Group:          System/GUI/GNOME
BuildRequires:  gobject-introspection-devel >= 1.35.9
BuildRequires:  intltool >= 0.50.1
BuildRequires:  update-desktop-files
BuildRequires:  pkgconfig(gdk-3.0)
BuildRequires:  pkgconfig(gdk-pixbuf-2.0)
BuildRequires:  pkgconfig(gio-2.0)
BuildRequires:  pkgconfig(gjs-1.0) >= 1.43.3
BuildRequires:  pkgconfig(glib-2.0)
BuildRequires:  pkgconfig(gobject-2.0)
BuildRequires:  pkgconfig(gtk+-3.0)
BuildRequires:  pkgconfig(pango)
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
# ensure default sections are filled with content
Recommends:     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
Supplements:    packageand(gnome-shell:%{name})
Requires:       %{name} = %{version}

%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.

%setup -q

make %{?_smp_mflags}
%suse_update_desktop_file org.gnome.Characters -r Utilities Utility Settings

make DESTDIR=%{buildroot} install %{?_smp_mflags}
find %{buildroot}%{_libdir} -name '*.la' -delete -print
%find_lang org.gnome.Characters %{name}.lang

%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