File artha.spec of Package artha

#
# spec file for package artha
#
# Copyright (c) 2012 SUSE LINUX Products 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 http://bugs.opensuse.org/
#


Name:           artha
Version:        1.0.2
Release:        0
Summary:        Offline English thesaurus based on WordNet
License:        GPL-2.0
Group:          Productivity/Office/Dictionary
Url:            http://artha.sourceforge.net
Source:         %{name}-%{version}.tar.bz2
BuildRequires:  desktop-file-utils
BuildRequires:  pkgconfig
BuildRequires:  update-desktop-files
BuildRequires:  wordnet-devel
BuildRequires:  pkgconfig(dbus-glib-1)
BuildRequires:  pkgconfig(gtk+-2.0)
Requires:       enchant
Requires:       hunspell
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Artha is a free cross-platform English thesaurus that works
completely off-line and is based on WordNet. Stable releases for
download are currently available for GNU/Linux and Microsoft Windows;
it is tested on major Desktop Environments like GNOME, KDE, Xfce, etc
and on Microsoft Windows XP, Vista and 7. Artha is released under the
GNU General Public Licence version 2.

%prep
%setup -q
chmod -x TODO

%build
%configure
make %{?_smp_mflags}

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

%files
%defattr(-,root,root)
%doc ChangeLog README COPYING NEWS TODO AUTHORS
%dir %{_datadir}/artha
%{_bindir}/artha
%{_datadir}/applications/artha.desktop
%{_datadir}/artha/gui.glade
%{_datadir}/pixmaps/artha.png
%{_mandir}/man1/artha.1.gz

%changelog
openSUSE Build Service is sponsored by