File koffice2-doc.spec of Package koffice2
#
# spec file for package koffice2-doc
#
# 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: koffice2-doc
BuildRequires: ImageMagick-devel OpenEXR-devel aspell-devel doxygen graphviz libexif libkdepimlibs4-devel
BuildRequires: libpoppler-qt4-devel libpqxx-devel libqt4-devel-doc-data mysql-devel postgresql-devel python-devel
BuildRequires: GraphicsMagick-devel gsl-devel libwpd-devel readline-devel ruby-devel sqlite-devel wv2-devel
BuildRequires: libeigen2-devel libexiv2-devel libqca2-devel libqimageblitz-devel pstoedit
License: GPLv2+ ; LGPLv2.1+
Group: Productivity/Office/Suite
Summary: Documentation of the KDE Office Suite
Url: http://www.koffice.org
Version: 2.3.1
Release: 2.<RELEASE2>
Source0: koffice-%version.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
Documentation of the KOffice applications.
Authors:
--------
The KOffice Team <koffice@kde.org>
%prep
%setup -q -n koffice-%version
%build
%cmake_kde4 -d build
cd doc
make
%install
cd build/doc
%makeinstall
rm $RPM_BUILD_ROOT/usr/share/applications/kde4/koffice.desktop
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc COPYING COPYING.LIB README
%doc %lang(en) /usr/share/doc/kde/HTML/en/koffice
#%doc %lang(en) /usr/share/doc/kde/HTML/en/kplato
%doc %lang(en) /usr/share/doc/kde/HTML/en/kpresenter
%doc %lang(en) /usr/share/doc/kde/HTML/en/kspread
#%doc %lang(en) /usr/share/doc/kde/HTML/en/kword
%doc %lang(en) /usr/share/doc/kde/HTML/en/thesaurus
%doc %lang(en) /usr/share/doc/kde/HTML/en/karbon
%doc %lang(en) /usr/share/doc/kde/HTML/en/kformula
#%doc %lang(en) /usr/share/doc/kde/HTML/en/kivio
%doc %lang(en) /usr/share/doc/kde/HTML/en/kexi
%changelog