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 http://bugs.opensuse.org/
#


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
Url:            http://en.opensuse.org/Patterns
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Source0:        %name-rpmlintrc

%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 -n patterns-sle-manager_client
%pattern_primaryfunctions
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
Manager.
You need to have a SUSE Manager server running to make use of these packages.


%files -n patterns-sle-manager_client
%defattr(-,root,root)
%dir /usr/share/doc/packages/patterns-manager-client-tools
/usr/share/doc/packages/patterns-manager-client-tools/manager_client.txt

%prep
# empty on purpose

%install

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

%changelog
openSUSE Build Service is sponsored by