File gnome-devel-docs.spec of Package gnome-devel-docs

#
# spec file for package gnome-devel-docs
#
# 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 http://bugs.opensuse.org/
#


Name:           gnome-devel-docs
Version:        3.4.1
Release:        0
Summary:        GNOME Platform Documentation
License:        GFDL-1.1
Group:          Documentation/Other
Url:            http://www.gnome.org
Source:         http://download.gnome.org/sources/gnome-devel-docs/3.4/%{name}-%{version}.tar.xz
# PATCH-FIX-UPSTREAM gnome-devel-docs-fix-figures.patch vuntz@opensuse.org -- Fix broken figure symlinks, taken from git
Patch0:         gnome-devel-docs-fix-figures.patch
BuildRequires:  fdupes
BuildRequires:  gnome-doc-utils-devel
BuildRequires:  pkg-config
Recommends:     %{name}-lang
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%description
This package contains documents that are useful for GNOME developers.

%lang_package
%prep
%setup -q
%patch0 -p1

%build
%configure\
	--disable-scrollkeeper
make %{?jobs:-j%jobs}

%install
%makeinstall
%find_lang accessibility-devel-guide %{?no_lang_C} devel-docs.lang
%find_lang gnome-devel-demos %{no_lang_C} devel-docs.lang
%find_lang hig-book %{?no_lang_C} devel-docs.lang
%find_lang integration-guide %{?no_lang_C} devel-docs.lang
%find_lang optimization-guide %{?no_lang_C} devel-docs.lang
%find_lang platform-overview %{?no_lang_C} devel-docs.lang
%fdupes %{buildroot}

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING NEWS README
%dir %{_datadir}/gnome/
%dir %{_datadir}/gnome/help/
%dir %{_datadir}/gnome/help/accessibility-devel-guide/
%doc %{_datadir}/gnome/help/accessibility-devel-guide/C/
%dir %{_datadir}/gnome/help/gnome-devel-demos/
%doc %{_datadir}/gnome/help/gnome-devel-demos/C/
%dir %{_datadir}/gnome/help/hig-book/
%doc %{_datadir}/gnome/help/hig-book/C/
%dir %{_datadir}/gnome/help/integration-guide/
%doc %{_datadir}/gnome/help/integration-guide/C/
%dir %{_datadir}/gnome/help/optimization-guide/
%doc %{_datadir}/gnome/help/optimization-guide/C/
%dir %{_datadir}/gnome/help/platform-overview/
%doc %{_datadir}/gnome/help/platform-overview/C/

%files lang -f devel-docs.lang

%changelog
openSUSE Build Service is sponsored by