File patterns-ha-geo.spec of Package patterns-ha-geo
#
# spec file for package patterns-ha-geo
#
# 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: patterns-ha-geo
BuildRequires: package-translations
BuildRequires: patterns
BuildRequires: perl(URI::Escape)
Summary: Patterns for SLE HA GEO
License: GPL-2.0
Group: Metapackages
Version: 12
Release: 0
Url: http://en.opensuse.org/Patterns
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%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 ha_geo
%pattern_primaryfunctions
Summary: GEO Clustering for High Availability
Group: Metapackages
Provides: pattern() = ha_geo
Provides: pattern-icon() = yast-iscsi-client
Provides: pattern-order() = 3000
Provides: pattern-visible()
Requires: booth
Requires: release-notes-ha-geo
Requires: sle-ha-geo-release
Requires: sle-ha-release
Recommends: sle-ha-geo-manuals_en
Recommends: sle-ha-geo-quick_en-pdf
Recommends: yast2-geo-cluster
Recommends: pattern:ha_sles
%description ha_geo
This pattern provides tools for building multi-site clustering setups
based on the SUSE Linux Enterprise High-Availability and its GEO
extension.
%prep
%build
%install
mkdir -p $RPM_BUILD_ROOT/usr/share/doc/packages/patterns-ha-geo/
echo 'This file marks the pattern ha_geo to be installed.' > $RPM_BUILD_ROOT/usr/share/doc/packages/patterns-ha-geo/ha_geo.txt
%files
%files ha_geo
%defattr(-,root,root)
%dir /usr/share/doc/packages/patterns-ha-geo
/usr/share/doc/packages/patterns-ha-geo/ha_geo.txt
%clean
%changelog