22697acc7b
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnucash-docs?expand=0&rev=11
70 lines
2.2 KiB
RPMSpec
70 lines
2.2 KiB
RPMSpec
#
|
|
# spec file for package gnucash-docs
|
|
#
|
|
# Copyright (c) 2011 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.4.1
|
|
Release: 1
|
|
License: GNU Free Documentation License, Version 1.1 (GFDL 1.1) ; GPLv2+
|
|
Summary: Documentation Module for GnuCash
|
|
Url: http://www.gnucash.org/
|
|
Group: Productivity/Office/Finance
|
|
Source: http://downloads.sourceforge.net/project/gnucash/gnucash-docs/2.4.1/%{name}-%{version}.tar.gz
|
|
BuildRequires: fdupes
|
|
BuildRequires: kdelibs3-doc
|
|
# Only for directory ownership:
|
|
BuildRequires: libgnome
|
|
BuildRequires: scrollkeeper
|
|
BuildRequires: sgml-skel
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
GnuCash is a personal finance manager. A check-book likeregister 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
|
|
for xml in %{buildroot}%{_datadir}/gnome/help/*/*/*.xml; do
|
|
if echo $xml | grep -E 'share/gnome/help/([^/]*)/[^/]*/\1\.xml$' > /dev/null; then
|
|
meinproc --check --cache `echo $xml | sed 's/xml$/cache.bz2/'` $xml || :
|
|
fi
|
|
done
|
|
%find_lang gnucash
|
|
%fdupes %{buildroot}%{_datadir}
|
|
|
|
%clean
|
|
rm -rf %{buildroot}
|
|
|
|
%files -f gnucash.lang
|
|
%defattr(-,root,root)
|
|
%doc AUTHORS COPYING COPYING-DOCS HACKING NEWS README
|
|
%{_datadir}/omf/gnucash-docs
|
|
|
|
%changelog
|