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

#
# spec file for package gnome-devel-docs
#
# 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:           gnome-devel-docs
Version:        2.32.0
Release:        2
License:        GFDL 1.1
Summary:        GNOME Platform Documentation
Url:            http://www.gnome.org
Group:          Documentation/Other
Source:         %{name}-%{version}.tar.bz2
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

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

%install
%makeinstall
%find_lang accessibility-devel-guide %{?no_lang_C} devel-docs.lang
%find_lang gdp-handbook %{?no_lang_C} devel-docs.lang
%find_lang gdp-style-guide %{?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}/omf/
%dir %{_datadir}/gnome/help/accessibility-devel-guide/
%doc %{_datadir}/gnome/help/accessibility-devel-guide/C/
%dir %{_datadir}/omf/accessibility-devel-guide/
%doc %{_datadir}/omf/accessibility-devel-guide/accessibility-devel-guide-C.omf
%dir %{_datadir}/gnome/help/gdp-handbook/
%doc %{_datadir}/gnome/help/gdp-handbook/C/
%dir %{_datadir}/omf/gdp-handbook/
%doc %{_datadir}/omf/gdp-handbook/gdp-handbook-C.omf
%dir %{_datadir}/gnome/help/gdp-style-guide/
%doc %{_datadir}/gnome/help/gdp-style-guide/C/
%dir %{_datadir}/omf/gdp-style-guide/
%doc %{_datadir}/omf/gdp-style-guide/gdp-style-guide-C.omf
%dir %{_datadir}/gnome/help/hig-book/
%doc %{_datadir}/gnome/help/hig-book/C/
%dir %{_datadir}/omf/hig-book/
%doc %{_datadir}/omf/hig-book/hig-book-C.omf
%dir %{_datadir}/gnome/help/integration-guide/
%doc %{_datadir}/gnome/help/integration-guide/C/
%dir %{_datadir}/omf/integration-guide/
%doc %{_datadir}/omf/integration-guide/integration-guide-C.omf
%dir %{_datadir}/gnome/help/optimization-guide/
%doc %{_datadir}/gnome/help/optimization-guide/C/
%dir %{_datadir}/omf/optimization-guide/
%doc %{_datadir}/omf/optimization-guide/optimization-guide-C.omf
%dir %{_datadir}/gnome/help/platform-overview/
%doc %{_datadir}/gnome/help/platform-overview/C/
%dir %{_datadir}/omf/platform-overview/
%doc %{_datadir}/omf/platform-overview/platform-overview-C.omf

%files lang -f devel-docs.lang

%changelog