File patterns-manager-client-tools.spec of Package patterns-manager-client-tools

# spec file for package patterns-manager-client-tools
# 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

Name:           patterns-manager-client-tools
BuildRequires:  package-translations
BuildRequires:  perl(URI::Escape)
Summary:        Patterns for the SUSE Manager Client
License:        GPL-2.0+
Group:          Metapackages
Version:        12
Release:        0
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Source0:        %name-rpmlintrc

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 -n patterns-sle-manager_client
Summary:        SUSE Manager Client
Group:          Metapackages
Provides:       pattern() = manager_client
Provides:       pattern-icon() = pattern-generic
Provides:       pattern-order() = 3070
Provides:       pattern-visible()
Requires:       spacewalk-check
Requires:       spacewalk-client-setup
Requires:       spacewalk-client-tools
Requires:       zypp-plugin-spacewalk

%description -n patterns-sle-manager_client
Client-side packages to enable registration and basic management with SUSE
You need to have a SUSE Manager server running to make use of these packages.

%files -n patterns-sle-manager_client
%dir /usr/share/doc/packages/patterns-manager-client-tools

# empty on purpose


mkdir -p $RPM_BUILD_ROOT/usr/share/doc/packages/patterns-manager-client-tools/
echo 'This file marks the pattern manager_client to be installed.' > $RPM_BUILD_ROOT/usr/share/doc/packages/patterns-manager-client-tools/manager_client.txt

openSUSE Build Service is sponsored by