File kdelibs4-apidocs.spec of Package kdelibs4
#
# spec file for package kdelibs4-apidocs (Version 4.6.41_20110106)
#
# 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: kdelibs4-apidocs
BuildRequires: doxygen fdupes graphviz kde4-filesystem libqt4-devel-doc
# seems to be required for png output for graphviz
BuildRequires: graphviz-gnome
License: LGPLv2.1+
Group: System/GUI/KDE
Summary: KDE 4 API documentation
Url: http://www.kde.org
Version: 4.6.41_20110508
Release: 1
Requires: kde4-filesystem
Source0: kdelibs-%version.tar.bz2
Source1: baselibs.conf
Source2: hidden.desktop
Source3: ycp.xml
Source4: kde4rc
Patch0: 4_6_BRANCH.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
This package includes the KDE 4 API documentation in HTML
format for easy browsing.
Authors:
--------
The KDE Team <kde@kde.org>
%prep
%setup -q -n kdelibs-%version
%patch0
%build
export QTDOCDIR=`pkg-config --variable=docdir Qt`
doc/api/doxygen.sh .
%install
mkdir -p %{buildroot}%{_kde4_docdir}/HTML/en
cp -prf kdelibs-%version-apidocs %{buildroot}%{_kde4_docdir}/HTML/en/kdelibs4-apidocs
%fdupes %{buildroot}%{_kde4_docdir}/HTML/en/kdelibs4-apidocs
find %{buildroot}%{_kde4_docdir}/HTML/en/kdelibs4-apidocs -iname "installdox" | xargs chmod -x
%kde_post_install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%{_kde4_docdir}/HTML/en/kdelibs4-apidocs/
%changelog