File patterns-sle.spec of Package patterns-sle

# spec file for package patterns-sle
# 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-sle
BuildRequires:  perl(URI::Escape)
Summary:        Patterns for SLE
License:        GPL-2.0+
Group:          Metapackages
Version:        12
Release:        0
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  package-translations
Source0:        %name-rpmlintrc
# the following files are used by include macros, and listed here to get them into the srpm.
Source10:       gnome.txt
# created by, contains the 32bit patterns
Source30:       pattern-definition-32bit.txt

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 gnome-basic
Summary:        GNOME Desktop Environment
Group:          Metapackages
Provides:       pattern() = gnome-basic
Provides:       pattern-icon() = pattern-gnome
Provides:       pattern-order() = 2010
Provides:       pattern-visible()
Requires:       pattern() = basesystem
Requires:       pattern() = x11
%include %_sourcedir/gnome.txt

%description gnome-basic
The GNOME desktop environment is an intuitive and attractive desktop for users.


# empty on purpose


mkdir -p $RPM_BUILD_ROOT/usr/share/doc/packages/patterns-sle/
echo 'This file marks the pattern gnome-basic to be installed.' > $RPM_BUILD_ROOT/usr/share/doc/packages/patterns-sle/gnome-basic.txt

%files gnome-basic
%dir /usr/share/doc/packages/patterns-sle

# This file is created at check-in time. Sorry for the inconsistent workflow :(
%include %_sourcedir/pattern-definition-32bit.txt

openSUSE Build Service is sponsored by