File koffice2-doc.spec of Package koffice2-doc

#
# spec file for package koffice2-doc (Version 1.9.98.2)
#
# Copyright (c) 2008 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 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:        GPL v2 or later; LGPL v2.1 or later
Group:          Productivity/Office/Suite
Summary:        Documentation of the KDE Office Suite
Url:            http://www.koffice.org
Version:        1.9.98.2
Release:        1
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/karbon
%doc %lang(en) /usr/share/doc/kde/HTML/en/kchart
%exclude %doc %lang(en) /usr/share/doc/kde/HTML/en/kexi
%exclude %doc %lang(en) /usr/share/doc/kde/HTML/en/kformula
%exclude %doc %lang(en) /usr/share/doc/kde/HTML/en/kivio
%doc %lang(en) /usr/share/doc/kde/HTML/en/koffice
%doc %lang(en) /usr/share/doc/kde/HTML/en/koshell
%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/kugar
%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/krita

%changelog
* Wed Nov 12 2008 stbinner@suse.de
- update to KOffice 2.0 Beta 3 (1.9.98.2):
  http://koffice.org/announcements/changelog-2.0-beta3.php
* Thu Oct 23 2008 stbinner@suse.de
- update to KOffice 2.0 Beta 2 (1.9.98.1):
  http://koffice.org/announcements/changelog-2.0-beta2.php
* Mon Oct 13 2008 stbinner@suse.de
- fix build of koffice2-doc
* Thu Sep 18 2008 stbinner@suse.de
- update to KOffice 2.0 Beta 1 (1.9.98)
* Wed Aug 20 2008 stbinner@suse.de
- update to KOffice 2.0 Alpha 10
* Fri Jul 18 2008 stbinner@suse.de
- update to KOffice 2.0 Alpha 9
* Tue Jun 24 2008 stbinner@suse.de
- update to KOffice 2.0 Alpha 8
* Wed May 07 2008 dmueller@suse.de
- fix uninit return value warnings
* Mon Apr 28 2008 stbinner@suse.de
- update to 1.9.95.4 snapshot
* Tue Apr 22 2008 stbinner@suse.de
- fix build
* Fri Feb 08 2008 dmueller@suse.de
- update to 1.9.95.3, previous was never released
* Fri Feb 08 2008 stbinner@suse.de
- update to real 1.9.95.2 release (KOffice 2.0 Alpha 6)
* Sun Jan 27 2008 stbinner@suse.de
- fix build
* Mon Jan 14 2008 dmueller@suse.de
- fix build
* Wed Jan 02 2008 stbinner@suse.de
- update to 1.9.95.2
* Tue Dec 04 2007 dmueller@suse.de
- update to 1.9.95.1
* Thu Nov 29 2007 stbinner@suse.de
- initial package in Factory