File patterns-OBS-Server.spec of Package patterns-OBS-Server

#
# spec file for package patterns-OBS-Server
#
# Copyright (c) 2023 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#


Name:           patterns-OBS-Server
Version:        2.10
Release:        0
Summary:        Patterns for Installation (OBS-Server)
License:        MIT
Group:          Metapackages
URL:            https://github.com/openSUSE/patterns
Source0:        %{name}-rpmlintrc
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  patterns-rpm-macros

%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.

################################################################################

%package OBS_Server
%pattern_development
Summary:        Pattern for the OBS-Server
Group:          Metapackages
Provides:       pattern() = OBS_Server
Provides:       pattern-icon() = pattern-OBS-Server

Requires:       obs-server
Requires:       obs-worker
Requires:       obs-api
Requires:       obs-signd
Requires:       obs-source_service

%description OBS_Server
This is the pattern for the installation of the OBS-Server.


%files OBS_Server
%dir /usr/share/doc/packages/patterns
/usr/share/doc/packages/patterns/OBS_Server.txt

################################################################################

%prep

%build

%install
mkdir -p $RPM_BUILD_ROOT/usr/share/doc/packages/patterns/
echo 'This file marks the pattern OBS_Server to be installed.' > $RPM_BUILD_ROOT/usr/share/doc/packages/patterns/OBS_Server.txt
openSUSE Build Service is sponsored by