File release-notes-rte.spec of Package release-notes-rte
#
# spec file for package release-notes-rte
#
# Copyright (c) 2014 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: release-notes-rte
BuildRequires: docbook-xsl-stylesheets docbook_4 libxslt recode sgml-skel w3m
# License: GPL-2.0+
License: CC-BY-ND-3.0
Group: Documentation/SUSE
Summary: Release Notes for SUSE Linux Enterprise Real Time Extension
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Version: 12.0.0.0
Release: 0
Source: %{name}.tar.bz2
Source1: release-notes-rte.desktop
%description
This package contains files with the most important changes for this
SUSE Linux Enterprise Real Time Extension. They can be found below
the /usr/share/doc/release-notes directory.
%prep
%setup -n release-notes-rte
%build
%configure
make
%install
rnpath="${RPM_BUILD_ROOT}"/usr/share/doc/release-notes/SUSE_Linux_Enterprise_12_Real_Time_Extension
mkdir -p "$rnpath"
cp doc/release-notes.html "$rnpath"/RELEASE-NOTES.en.html
cp doc/release-notes.rtf "$rnpath"/RELEASE-NOTES.en.rtf
mkdir -p $RPM_BUILD_ROOT/usr/share/susehelp/meta
cp -v $RPM_SOURCE_DIR/release-notes-rte.desktop $RPM_BUILD_ROOT/usr/share/susehelp/meta
%files
%defattr (-,root,root,-)
/usr/share/susehelp
/usr/share/susehelp/meta/release-notes-rte.desktop
%doc /usr/share/doc/release-notes
%changelog