File gnucash-docs.spec of Package gnucash-docs

#
# spec file for package gnucash-docs
#
# Copyright (c) 2014 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:           gnucash-docs
Version:        2.6.2
Release:        0
Summary:        Documentation Module for GnuCash
License:        GFDL-1.1 and GPL-2.0+
Group:          Productivity/Office/Finance
Url:            http://www.gnucash.org/
Source:         http://downloads.sourceforge.net/project/gnucash/gnucash-docs/2.6.2/%{name}-%{version}.tar.gz
BuildRequires:  fdupes
# Only for directory ownership:
BuildRequires:  libgnome
BuildRequires:  rarian-scrollkeeper-compat
BuildRequires:  sgml-skel
BuildRequires:  xsltproc
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%description
GnuCash is a personal finance manager. A check-book like register GUI
allows you to enter and track bank accounts, stocks, income and even
currency trades. The interface is designed to be simple and easy to
use, but is backed with double-entry accounting principles to ensure
balanced books. This is the documentation module for GnuCash.

%prep
%setup -q

%build
%configure
make %{?_smp_mflags}

%install
%makeinstall
%find_lang gnucash-guide %{?no_lang_C}
%find_lang gnucash-help %{?no_lang_C}
%fdupes %{buildroot}%{_datadir}

%clean
rm -rf %{buildroot}

%files -f gnucash-guide.lang -f gnucash-help.lang
%defattr(-,root,root)
%doc AUTHORS COPYING COPYING-DOCS HACKING NEWS README
%dir %{_datadir}/gnome/help/gnucash-guide
%{_datadir}/gnome/help/gnucash-guide/C/
%dir %{_datadir}/gnome/help/gnucash-help
%{_datadir}/gnome/help/gnucash-help/C/
%dir %{_datadir}/omf
%{_datadir}/omf/gnucash-guide/gnucash-guide-C.omf
%{_datadir}/omf/gnucash-help/gnucash-help-C.omf

%changelog
openSUSE Build Service is sponsored by