File gnome-dictionary.spec of Package gnome-dictionary

# spec file for package gnome-dictionary
# 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-dictionary
Version:        40.0
Release:        0
Summary:        Utility to look up words in dictionary sources
License:        GPL-2.0-or-later
Group:          System/GUI/GNOME
# PATCH-FIX-UPSTREAM gnome-dictionary-fix-meson-061.patch -- Fix build with meson 0.61 and newer
Patch0:         gnome-dictionary-fix-meson-061.patch

BuildRequires:  appstream-glib
BuildRequires:  desktop-file-utils
BuildRequires:  fdupes
BuildRequires:  gobject-introspection-devel
BuildRequires:  gtk-doc
BuildRequires:  meson
BuildRequires:  pkgconfig
BuildRequires:  yelp-tools
BuildRequires:  pkgconfig(glib-2.0) >= 2.39.0
BuildRequires:  pkgconfig(gtk+-3.0) >= 3.16
Conflicts:      gnome-utils < 3.3.1
# libgdict is no longer a public library, and thus no external tool can make use of the data
# Merge the package back into the main package, obsoleting libgdict-data
Obsoletes:      libgdict-data < %{version}
Conflicts:      libgdict-1_0-6 < %{version}

The Dictionary application enables you to search words and terms on a
dictionary source.


%autosetup -p1

%meson \
        -D use_ipv6=true \
        -D build_man=true \

%fdupes %{buildroot}%{_datadir}/help
%find_lang %{name} %{?no_lang_C}


%license COPYING
%doc NEWS
%doc %{_datadir}/help/C/%{name}/

%files lang -f %{name}.lang

openSUSE Build Service is sponsored by