File patterns-rt.spec of Package patterns-rt
#
# spec file for package patterns-rt
#
# Copyright (c) 2018 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-rt
BuildRequires: package-translations
BuildRequires: patterns-rpm-macros
BuildRequires: perl(URI::Escape)
Summary: Patterns for SLE Real Time Module
License: MIT
Group: Metapackages
Version: 15.2.0
Release: 0
Url: http://en.opensuse.org/Patterns
Source0: %{name}-rpmlintrc
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 rt_sles
%pattern_primaryfunctions
Summary: SLE Real Time Module
Group: Metapackages
Provides: pattern() = rt_sles
Provides: pattern-icon() = pattern-kernel-devel
Provides: pattern-order() = 3000
Provides: pattern-visible()
# Real Time Core
Requires: release-notes-sle_rt
Requires: kernel-rt
Requires: kernel-source-rt
Recommends: kernel-syms-rt
Recommends: cpuset
Recommends: libcpuset-devel
# Real Time Test Suite
Recommends: rt-tests
Recommends: ibmrtpkgs
# SLES compatibility KMPs
Recommends: crash-kmp-rt
Recommends: oracleasm-kmp-rt
Recommends: lttng-modules-kmp-rt
Recommends: lttng-tools-devel
# Storage and filesystem KMPs
Recommends: dlm-kmp-rt
Recommends: cluster-md-kmp-rt
Recommends: gfs2-kmp-rt
Recommends: ocfs2-kmp-rt
# Product Documentation
Recommends: sle-rt-shielding_en
Recommends: sle-rt-quick_en
Recommends: sle-rt-hw_en
Recommends: sle-rt-virtguide_en
# fate#318881: rt KVM support
# bnc#868542
Requires: virt-manager
Recommends: openssh
Recommends: yast2-control-center
Recommends: yast2-ncurses
Recommends: yast2-ncurses-pkg
Recommends: yast2-vm
Recommends: xorg-x11-xauth
Recommends: virt-install
Recommends: virt-viewer
Recommends: virt-v2v
%description rt_sles
Provide tools and patches to fix kernel at runtime.
%prep
%build
%install
mkdir -p $RPM_BUILD_ROOT/usr/share/doc/packages/patterns-rt/
echo 'This file marks the pattern rt_sles to be installed.' > $RPM_BUILD_ROOT/usr/share/doc/packages/patterns-rt/rt_sles.txt
%files
%files rt_sles
%defattr(-,root,root)
%dir /usr/share/doc/packages/patterns-rt
/usr/share/doc/packages/patterns-rt/rt_sles.txt
%changelog