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

#
# spec file for package gnome-user-docs
#
# Copyright (c) 2017 SUSE LINUX 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.26.2.1
Release:        0
Summary:        GNOME Desktop Documentation
License:        GFDL-1.1
Group:          Documentation/Other
Url:            https://www.gnome.org
Source:         http://download.gnome.org/sources/gnome-user-docs/3.26/%{name}-%{version}.tar.xz
BuildRequires:  fdupes
BuildRequires:  yelp-tools
Recommends:     %{name}-lang
Supplements:    gnome-session
BuildArch:      noarch

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

%lang_package

%prep
%setup -q

%build
%configure
%make_build

%install
%makeinstall
%find_lang gnome-help %{?no_lang_C}
%find_lang system-admin-guide %{?no_lang_C}
%fdupes %{buildroot}%{_datadir}

%files
%defattr(-,root,root)
%doc AUTHORS COPYING NEWS README
%doc %{_datadir}/help/C/gnome-help/
%doc %{_datadir}/help/C/system-admin-guide/

%files lang -f gnome-help.lang -f system-admin-guide.lang

%changelog
openSUSE Build Service is sponsored by