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

#
# spec file for package gnome-user-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-user-docs
Version:        3.4.2
Release:        0
Summary:        GNOME Desktop Documentation
License:        GFDL-1.1
Group:          Documentation/Other
Url:            http://www.gnome.org
Source:         http://download.gnome.org/sources/gnome-user-docs/3.4/%{name}-%{version}.tar.xz
BuildRequires:  fdupes
BuildRequires:  yelp-tools
Recommends:     %{name}-lang
Supplements:    gnome-session
# Old name, for openSUSE <= 11.2
Provides:       gnome2-user-docs = %{version}
Obsoletes:      gnome2-user-docs < %{version}
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%description
This package contains documents that are targeted for GNOME end-users.

%lang_package
%prep
%setup -q

%build
%configure
make %{?_smp_mflags}

%install
%makeinstall
%find_lang gnome-help %{?no_lang_C}
%fdupes %{buildroot}

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc COPYING NEWS
%if 0%{?suse_version} <= 1140
%doc %dir %{_datadir}/help
%doc %dir %{_datadir}/help/C
%endif
%doc %{_datadir}/help/C/gnome-help/

%files lang -f gnome-help.lang

%changelog
openSUSE Build Service is sponsored by