File yast2-slide-show.spec of Package yast2-slide-show
#
# spec file for package yast2-slide-show
#
# Copyright (c) 2016 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/
#
%define version_unconverted 84.87.20161105.deddea9
# xml2po uses temporary files that do not like being called twice
# xml2po probably is not thread-safe.
%define jobs 1
Name: yast2-slide-show
Version: 84.87.20161105.deddea9
Release: 0
Summary: Slide show displayed during package installation with YaST
License: GPL-2.0
Group: Metapackages
Url: https://github.com/openSUSE/yast-slide-show/
Source0: %{name}-%{version}.tar.xz
BuildRequires: docbook_4
BuildRequires: fdupes
BuildRequires: gnome-doc-utils
BuildRequires: pkgconfig
BuildRequires: sgml-skel
BuildRequires: xml2po
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
The slide show displayed during package installation with YaST.
%prep
%setup -q
%build
# put the distro version in the text so the same package can be
# reused for TW and Leap
if [ "%{vendor}" = 'openSUSE' ]; then
version="%{distribution}"
version="${version#openSUSE }"
sed -i -e "/ENTITY suse-version/s/\".*\"/\"$version\"/" slideshow.xml
fi
make %{?_smp_mflags}
%install
make %{?_smp_mflags} DESTDIR=%{buildroot} install
%fdupes %{buildroot}
%files
%defattr(-,root,root)
/CD1
%changelog