File artha.spec of Package artha

# spec file for package artha
# Copyright (c) 2020 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:           artha
Version:        1.0.5
Release:        0
Summary:        Offline English thesaurus based on WordNet
License:        GPL-2.0-only
Group:          Productivity/Office/Dictionary
BuildRequires:  autoconf
BuildRequires:  automake
BuildRequires:  desktop-file-utils
BuildRequires:  libtool
BuildRequires:  pkgconfig
BuildRequires:  update-desktop-files
BuildRequires:  wordnet-devel
BuildRequires:  pkgconfig(dbus-glib-1)
BuildRequires:  pkgconfig(gio-2.0)
BuildRequires:  pkgconfig(glib-2.0) >= 2.22
BuildRequires:  pkgconfig(gtk+-2.0) >= 2.24
Requires:       enchant
Requires:       hunspell
Requires:       wordnet

Artha is a free cross-platform English thesaurus that works
completely off-line and is based on WordNet.

%setup -q
chmod -x TODO

autoreconf -f

%make_install DESTDIR=%{buildroot} INSTALL="install -p"
%if 0%{?suse_version}
%suse_update_desktop_file -r artha Office Dictionary

%license COPYING
%dir %{_datadir}/artha

openSUSE Build Service is sponsored by