File calligra-doc.spec of Package calligra

# spec file for package calligra-doc
# 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

Name:           calligra-doc
Version:        2.4.2
Release:        0
Summary:        Documentation of the Calligra Suite
License:        GFDL-1.2
Group:          Documentation/HTML
BuildRequires:  Mesa-devel
BuildRequires:  OpenEXR-devel
%if 0%{?suse_version} > 1210
BuildRequires:  OpenGTL-devel
BuildRequires:  create-resources
BuildRequires:  dcmtk-devel
BuildRequires:  fdupes
BuildRequires:  fftw3-devel
%if 0%{?suse_version} > 1140
BuildRequires:  freetds-devel
BuildRequires:  glew-devel
BuildRequires:  gsl-devel
%if 0%{?suse_version} > 1210
BuildRequires:  libQtGTL-devel
BuildRequires:  libQtWebKit-devel
BuildRequires:  libeigen2-devel
BuildRequires:  libexiv2-devel
BuildRequires:  libgsf-devel
BuildRequires:  libicu-devel
BuildRequires:  libkdcraw-devel
BuildRequires:  libkdepimlibs4-devel
BuildRequires:  liblcms-devel
%if 0%{?suse_version} > 1130
BuildRequires:  liblcms2-devel
BuildRequires:  libmysqld-devel
BuildRequires:  libpoppler-qt4-devel
BuildRequires:  libpqxx-devel
BuildRequires:  libqca2-devel
BuildRequires:  librcps-devel
BuildRequires:  libsoprano-devel
%if 0%{?suse_version} > 1140
BuildRequires:  libspnav-devel
BuildRequires:  libwpd-devel
BuildRequires:  libwpg-devel
BuildRequires:  marble-devel
BuildRequires:  mysql-devel
BuildRequires:  okular-devel
%if 0%{?suse_version} > 1210
BuildRequires:  openjpeg-devel
# Needed to copy some icons to the hicolor directory (so they can be used with other icon themes)
BuildRequires:  oxygen-icon-theme
BuildRequires:  postgresql-devel
BuildRequires:  pstoedit
BuildRequires:  sqlite-devel
BuildRequires:  xbase-devel
Requires:       calligra = %{version}
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

Documentation of the Calligra Office Suite applications.

%setup -q -n calligra-%{version}

%cmake_kde4 -d build -- -DBUILD_mobile=false -DBUILD_active=false -DIHAVEPATCHEDQT=TRUE
cd doc
cd ..

cd build/doc
rm %{buildroot}%{_kde4_applicationsdir}/calligra.desktop
cd ..

%doc %lang(en) %{_kde4_htmldir}/en/calligra/
%doc %lang(en) %{_kde4_htmldir}/en/kexi/
%doc %lang(en) %{_kde4_htmldir}/en/sheets/
%doc %lang(en) %{_kde4_htmldir}/en/stage/
%doc %lang(en) %{_kde4_htmldir}/en/thesaurus/

openSUSE Build Service is sponsored by