File patterns-rte.spec of Package patterns-rte
#
# spec file for package patterns-rte
#
# Copyright (c) 2015 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: patterns-rte
BuildRequires: package-translations
BuildRequires: patterns
BuildRequires: perl(URI::Escape)
Summary: Patterns for SLE Real Time Extension
License: MIT
Group: Metapackages
Version: 12
Release: 2
Url: http://en.opensuse.org/Patterns
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Conflicts: patterns-openSUSE-dvd5 patterns-openSUSE-dvd9 patterns-openSUSE-cd patterns-openSUSE-addon-non-oss patterns-openSUSE-GNOME-cd patterns-openSUSE-KDE-cd
%description
This is an internal package that is used to create the patterns as part
of the installation source setup. Installation of this package does
not make sense.
%{expand:%(perl /usr/share/package-translations/create_macros)}
%package rte_sles
%pattern_primaryfunctions
Summary: SLE Real Time Extension
Group: Metapackages
Provides: pattern() = rte_sles
Provides: pattern-icon() = pattern-kernel
Provides: pattern-order() = 3000
Provides: pattern-visible()
Requires: SUSE-Linux-Enterprise-RT-release
Requires: release-notes-rte
Requires: kernel-rt
Requires: kernel-source-rt
Recommends: cpuset
Recommends: schedtool
Recommends: sle-rt-shielding_en
Recommends: sle-rt-quick_en
Recommends: sle-rt-hw_en
Recommends: sle-rt-virtguide_en
%description rte_sles
Provide tools and patches to fix kernel at runtime.
%prep
%build
%install
mkdir -p $RPM_BUILD_ROOT/usr/share/doc/packages/%name/
echo 'This file marks the pattern rte_sles to be installed.' > $RPM_BUILD_ROOT/usr/share/doc/packages/%name/rte_sles.txt
%files
%files rte_sles
%defattr(-,root,root)
%dir /usr/share/doc/packages/%name
/usr/share/doc/packages/%name/rte_sles.txt
%changelog