1
0

Accepting request 657790 from system:install:head

- Adjust icons to state of yast2-theme package

OBS-URL: https://build.opensuse.org/request/show/657790
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/patterns-server?expand=0&rev=6
This commit is contained in:
Dominique Leuenberger 2018-12-13 18:50:00 +00:00 committed by Git OBS Bridge
commit 02d0861b8f
2 changed files with 143 additions and 151 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Dec 13 09:38:08 UTC 2018 - Dominique Leuenberger <dimstar@opensuse.org>
- Adjust icons to state of yast2-theme package
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jul 19 12:07:25 UTC 2018 - sflees@suse.de Thu Jul 19 12:07:25 UTC 2018 - sflees@suse.de

View File

@ -12,24 +12,22 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
%bcond_with betatest %bcond_with betatest
Name: patterns-server Name: patterns-server
Version: 20180718 Version: 20180718
Release: 0 Release: 0
Summary: Patterns for Installation (server patterns) Summary: Patterns for Installation (server patterns)
License: MIT License: MIT
Group: Metapackages Group: Metapackages
Url: https://github.com/openSUSE/patterns URL: https://github.com/openSUSE/patterns
Source0: %{name}-rpmlintrc Source0: %{name}-rpmlintrc
Source1: pattern-definition-32bit.txt Source1: pattern-definition-32bit.txt
Source2: create_32bit-patterns_file.pl Source2: create_32bit-patterns_file.pl
Source3: pre_checkin.sh Source3: pre_checkin.sh
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: patterns-rpm-macros BuildRequires: patterns-rpm-macros
%description %description
@ -46,18 +44,10 @@ This particular package contains all the server related patterns
Summary: DHCP and DNS Server Summary: DHCP and DNS Server
Group: Metapackages Group: Metapackages
Provides: pattern() = dhcp_dns_server Provides: pattern() = dhcp_dns_server
Provides: pattern-icon() = yast-dns-server Provides: pattern-icon() = pattern-server
Provides: pattern-order() = 3040 Provides: pattern-order() = 3040
Provides: pattern-visible() Provides: pattern-visible()
%if 0%{?is_opensuse}
Provides: patterns-openSUSE-dhcp_dns_server = %{version}
Obsoletes: patterns-openSUSE-dhcp_dns_server < %{version}
%else
Provides: patterns-sles-dhcp_dns_server = %{version}
Obsoletes: patterns-sles-dhcp_dns_server < %{version}
%endif
Requires: pattern() = basesystem Requires: pattern() = basesystem
Requires: bind Requires: bind
Requires: dhcp-server Requires: dhcp-server
Recommends: bind-chrootenv Recommends: bind-chrootenv
@ -67,13 +57,20 @@ Recommends: dhcp-relay
Recommends: dhcp-tools Recommends: dhcp-tools
Recommends: yast2-dhcp-server Recommends: yast2-dhcp-server
Recommends: yast2-dns-server Recommends: yast2-dns-server
%if 0%{?is_opensuse}
Provides: patterns-openSUSE-dhcp_dns_server = %{version}
Obsoletes: patterns-openSUSE-dhcp_dns_server < %{version}
%else
Provides: patterns-sles-dhcp_dns_server = %{version}
Obsoletes: patterns-sles-dhcp_dns_server < %{version}
%endif
%description dhcp_dns_server %description dhcp_dns_server
Software to set up a server for the Dynamic Host Configuration Protocol (DHCP) and the Domain Name System (DNS) services. DHCP provides configuration parameters to client computers to integrate them into a network, whereas DNS delivers information associated with domain names, in particular, the IP address. Software to set up a server for the Dynamic Host Configuration Protocol (DHCP) and the Domain Name System (DNS) services. DHCP provides configuration parameters to client computers to integrate them into a network, whereas DNS delivers information associated with domain names, in particular, the IP address.
%files dhcp_dns_server %files dhcp_dns_server
%dir /usr/share/doc/packages/patterns %dir %{_docdir}/patterns
/usr/share/doc/packages/patterns/dhcp_dns_server.txt %{_docdir}/patterns/dhcp_dns_server.txt
################################################################################ ################################################################################
@ -82,9 +79,15 @@ Software to set up a server for the Dynamic Host Configuration Protocol (DHCP) a
Summary: Directory Server (LDAP) Summary: Directory Server (LDAP)
Group: Metapackages Group: Metapackages
Provides: pattern() = directory_server Provides: pattern() = directory_server
Provides: pattern-icon() = yast-ldap-server Provides: pattern-icon() = pattern-server
Provides: pattern-order() = 3060 Provides: pattern-order() = 3060
Provides: pattern-visible() Provides: pattern-visible()
Requires: pattern() = basesystem
# bsc#1084789
Recommends: 389-ds
Recommends: nss_ldap
Recommends: pam_ldap
Recommends: yast2-ldap-server
%if 0%{?is_opensuse} %if 0%{?is_opensuse}
Provides: patterns-openSUSE-directory_server = %{version} Provides: patterns-openSUSE-directory_server = %{version}
Obsoletes: patterns-openSUSE-directory_server < %{version} Obsoletes: patterns-openSUSE-directory_server < %{version}
@ -92,20 +95,13 @@ Obsoletes: patterns-openSUSE-directory_server < %{version}
Provides: patterns-sles-directory_server = %{version} Provides: patterns-sles-directory_server = %{version}
Obsoletes: patterns-sles-directory_server < %{version} Obsoletes: patterns-sles-directory_server < %{version}
%endif %endif
Requires: pattern() = basesystem
# bsc#1084789
Recommends: 389-ds
Recommends: nss_ldap
Recommends: pam_ldap
Recommends: yast2-ldap-server
%description directory_server %description directory_server
Software to set up a directory server with OpenLDAP. The Lightweight Directory Access Protocol (LDAP) is used to access online directory services. Software to set up a directory server with OpenLDAP. The Lightweight Directory Access Protocol (LDAP) is used to access online directory services.
%files directory_server %files directory_server
%dir /usr/share/doc/packages/patterns %dir %{_docdir}/patterns
/usr/share/doc/packages/patterns/directory_server.txt %{_docdir}/patterns/directory_server.txt
################################################################################ ################################################################################
@ -114,18 +110,10 @@ Software to set up a directory server with OpenLDAP. The Lightweight Directory A
Summary: File Server Summary: File Server
Group: Metapackages Group: Metapackages
Provides: pattern() = file_server Provides: pattern() = file_server
Provides: pattern-icon() = yast-nfs_server Provides: pattern-icon() = pattern-server
Provides: pattern-order() = 2900 Provides: pattern-order() = 2900
Provides: pattern-visible() Provides: pattern-visible()
%if 0%{?is_opensuse}
Provides: patterns-openSUSE-file_server = %{version}
Obsoletes: patterns-openSUSE-file_server < %{version}
%else
Provides: patterns-sles-file_server = %{version}
Obsoletes: patterns-sles-file_server < %{version}
%endif
Requires: pattern() = basesystem Requires: pattern() = basesystem
Requires: nfs-kernel-server Requires: nfs-kernel-server
Recommends: nfsidmap Recommends: nfsidmap
Recommends: samba Recommends: samba
@ -134,6 +122,13 @@ Recommends: samba-winbind
Recommends: tftp Recommends: tftp
Recommends: vsftpd Recommends: vsftpd
%if 0%{?is_opensuse} %if 0%{?is_opensuse}
Provides: patterns-openSUSE-file_server = %{version}
Obsoletes: patterns-openSUSE-file_server < %{version}
%else
Provides: patterns-sles-file_server = %{version}
Obsoletes: patterns-sles-file_server < %{version}
%endif
%if 0%{?is_opensuse}
Recommends: yast2-ftp-server Recommends: yast2-ftp-server
Recommends: yast2-nfs-server Recommends: yast2-nfs-server
Recommends: yast2-samba-server Recommends: yast2-samba-server
@ -145,8 +140,8 @@ Suggests: atftp
File services to host files so that they may be accessed or retrieved by other computers on the same network. This includes the FTP, SMB, and NFS protocols. File services to host files so that they may be accessed or retrieved by other computers on the same network. This includes the FTP, SMB, and NFS protocols.
%files file_server %files file_server
%dir /usr/share/doc/packages/patterns %dir %{_docdir}/patterns
/usr/share/doc/packages/patterns/file_server.txt %{_docdir}/patterns/file_server.txt
################################################################################ ################################################################################
@ -155,18 +150,10 @@ File services to host files so that they may be accessed or retrieved by other c
Summary: Internet Gateway Summary: Internet Gateway
Group: Metapackages Group: Metapackages
Provides: pattern() = gateway_server Provides: pattern() = gateway_server
Provides: pattern-icon() = yast-dsl Provides: pattern-icon() = pattern-server
Provides: pattern-order() = 3020 Provides: pattern-order() = 3020
Provides: pattern-visible() Provides: pattern-visible()
%if 0%{?is_opensuse}
Provides: patterns-openSUSE-gateway_server = %{version}
Obsoletes: patterns-openSUSE-gateway_server < %{version}
%else
Provides: patterns-sles-gateway_server = %{version}
Obsoletes: patterns-sles-gateway_server < %{version}
%endif
Requires: pattern() = basesystem Requires: pattern() = basesystem
Requires: wireshark Requires: wireshark
Recommends: arptables Recommends: arptables
Recommends: calamaris Recommends: calamaris
@ -180,13 +167,20 @@ Recommends: rarpd
Recommends: squid Recommends: squid
Recommends: whois Recommends: whois
Recommends: wondershaper Recommends: wondershaper
%if 0%{?is_opensuse}
Provides: patterns-openSUSE-gateway_server = %{version}
Obsoletes: patterns-openSUSE-gateway_server < %{version}
%else
Provides: patterns-sles-gateway_server = %{version}
Obsoletes: patterns-sles-gateway_server < %{version}
%endif
%description gateway_server %description gateway_server
Software to set up a proxy, firewall, and gateway server, including a virtual private network (VPN) gateway. Software to set up a proxy, firewall, and gateway server, including a virtual private network (VPN) gateway.
%files gateway_server %files gateway_server
%dir /usr/share/doc/packages/patterns %dir %{_docdir}/patterns
/usr/share/doc/packages/patterns/gateway_server.txt %{_docdir}/patterns/gateway_server.txt
################################################################################ ################################################################################
@ -195,9 +189,15 @@ Software to set up a proxy, firewall, and gateway server, including a virtual pr
Summary: KVM Host Server Summary: KVM Host Server
Group: Metapackages Group: Metapackages
Provides: pattern() = kvm_server Provides: pattern() = kvm_server
Provides: pattern-icon() = yast-uml Provides: pattern-icon() = pattern-server
Provides: pattern-order() = 3099 Provides: pattern-order() = 3099
Provides: pattern-visible() Provides: pattern-visible()
Requires: pattern() = basesystem
Requires: tftp
Recommends: libvirt-daemon-qemu
Recommends: tigervnc
Recommends: virt-install
Recommends: vm-install
%if 0%{?is_opensuse} %if 0%{?is_opensuse}
Provides: patterns-openSUSE-kvm_server = %{version} Provides: patterns-openSUSE-kvm_server = %{version}
Obsoletes: patterns-openSUSE-kvm_server < %{version} Obsoletes: patterns-openSUSE-kvm_server < %{version}
@ -205,8 +205,6 @@ Obsoletes: patterns-openSUSE-kvm_server < %{version}
Provides: patterns-sles-kvm_server = %{version} Provides: patterns-sles-kvm_server = %{version}
Obsoletes: patterns-sles-kvm_server < %{version} Obsoletes: patterns-sles-kvm_server < %{version}
%endif %endif
Requires: pattern() = basesystem
# fix issue because qemu-kvm is not present on all arch and # fix issue because qemu-kvm is not present on all arch and
# we would like to deprecate it for the futur (will be only # we would like to deprecate it for the futur (will be only
# updated if already installed on the system) # updated if already installed on the system)
@ -222,18 +220,13 @@ Requires: qemu-s390
%ifarch %arm %ifarch %arm
Requires: qemu-arm Requires: qemu-arm
%endif %endif
Requires: tftp
Recommends: libvirt-daemon-qemu
Recommends: tigervnc
Recommends: virt-install
Recommends: vm-install
%description kvm_server %description kvm_server
Software to set up a server for configuring, managing, and monitoring virtual machines on a single physical machine. Software to set up a server for configuring, managing, and monitoring virtual machines on a single physical machine.
%files kvm_server %files kvm_server
%dir /usr/share/doc/packages/patterns %dir %{_docdir}/patterns
/usr/share/doc/packages/patterns/kvm_server.txt %{_docdir}/patterns/kvm_server.txt
################################################################################ ################################################################################
@ -242,34 +235,33 @@ Software to set up a server for configuring, managing, and monitoring virtual ma
Summary: KVM Virtualization Host and tools Summary: KVM Virtualization Host and tools
Group: Metapackages Group: Metapackages
Provides: pattern() = kvm_tools Provides: pattern() = kvm_tools
Provides: pattern-icon() = yast-uml Provides: pattern-icon() = pattern-server
Provides: pattern-order() = 1090 Provides: pattern-order() = 1090
Provides: pattern-visible() Provides: pattern-visible()
%if !0%{?is_opensuse}
Provides: patterns-sles-kvm_tools = %{version}
Obsoletes: patterns-sles-kvm_tools < %{version}
%endif
Requires: pattern() = basesystem Requires: pattern() = basesystem
Requires: pattern() = kvm_server Requires: pattern() = kvm_server
Requires: libvirt-client Requires: libvirt-client
Requires: libvirt-daemon-qemu
Requires: libvirt-daemon-config-network Requires: libvirt-daemon-config-network
Requires: libvirt-daemon-qemu
Requires: tigervnc Requires: tigervnc
Requires: vm-install
# bnc#868542 # bnc#868542
Requires: virt-manager Requires: virt-manager
Requires: vm-install
Recommends: openssh Recommends: openssh
# BSC#1078908
Recommends: vim
Recommends: virt-install
Recommends: virt-v2v
Recommends: virt-viewer
Recommends: xorg-x11-xauth
Recommends: yast2-control-center Recommends: yast2-control-center
Recommends: yast2-ncurses Recommends: yast2-ncurses
Recommends: yast2-ncurses-pkg Recommends: yast2-ncurses-pkg
Recommends: yast2-vm Recommends: yast2-vm
Recommends: xorg-x11-xauth %if !0%{?is_opensuse}
Recommends: virt-install Provides: patterns-sles-kvm_tools = %{version}
Recommends: virt-viewer Obsoletes: patterns-sles-kvm_tools < %{version}
Recommends: virt-v2v %endif
# BSC#1078908
Recommends: vim
%description kvm_tools %description kvm_tools
This will provide all minimal system to get a running KVM Hypervisor This will provide all minimal system to get a running KVM Hypervisor
@ -277,8 +269,8 @@ and be able to configure, manage, and monitor virtual machines on a
single physical machine. single physical machine.
%files kvm_tools %files kvm_tools
%dir /usr/share/doc/packages/patterns %dir %{_docdir}/patterns
/usr/share/doc/packages/patterns/kvm_tools.txt %{_docdir}/patterns/kvm_tools.txt
################################################################################ ################################################################################
@ -287,20 +279,11 @@ single physical machine.
Summary: Web and LAMP Server Summary: Web and LAMP Server
Group: Metapackages Group: Metapackages
Provides: pattern() = lamp_server Provides: pattern() = lamp_server
Provides: pattern-icon() = yast-http-server Provides: pattern-icon() = pattern-web-devel
Provides: pattern-order() = 3000 Provides: pattern-order() = 3000
Provides: pattern-visible() Provides: pattern-visible()
%if 0%{?is_opensuse}
Provides: patterns-openSUSE-lamp_server = %{version}
Obsoletes: patterns-openSUSE-lamp_server < %{version}
%else
Provides: patterns-sles-lamp_server = %{version}
Obsoletes: patterns-sles-lamp_server < %{version}
%endif
Requires: pattern() = basesystem Requires: pattern() = basesystem
Requires: apache2 Requires: apache2
Recommends: yast2-http-server
Recommends: apache2-doc Recommends: apache2-doc
Recommends: apache2-example-pages Recommends: apache2-example-pages
Recommends: apache2-mod_php7 Recommends: apache2-mod_php7
@ -310,13 +293,21 @@ Recommends: libapr-util1
Recommends: libapr1 Recommends: libapr1
Recommends: mariadb Recommends: mariadb
Recommends: perl Recommends: perl
Recommends: yast2-http-server
%if 0%{?is_opensuse}
Provides: patterns-openSUSE-lamp_server = %{version}
Obsoletes: patterns-openSUSE-lamp_server < %{version}
%else
Provides: patterns-sles-lamp_server = %{version}
Obsoletes: patterns-sles-lamp_server < %{version}
%endif
%description lamp_server %description lamp_server
Software to set up a Web server that is able to serve static, dynamic, and interactive content (like a Web shop). This includes Apache HTTP Server, the database management system MySQL, and scripting languages such as PHP, Python, Ruby on Rails, or Perl. Software to set up a Web server that is able to serve static, dynamic, and interactive content (like a Web shop). This includes Apache HTTP Server, the database management system MySQL, and scripting languages such as PHP, Python, Ruby on Rails, or Perl.
%files lamp_server %files lamp_server
%dir /usr/share/doc/packages/patterns %dir %{_docdir}/patterns
/usr/share/doc/packages/patterns/lamp_server.txt %{_docdir}/patterns/lamp_server.txt
################################################################################ ################################################################################
@ -325,18 +316,10 @@ Software to set up a Web server that is able to serve static, dynamic, and inter
Summary: Mail and News Server Summary: Mail and News Server
Group: Metapackages Group: Metapackages
Provides: pattern() = mail_server Provides: pattern() = mail_server
Provides: pattern-icon() = yast-mail-server Provides: pattern-icon() = pattern-server
Provides: pattern-order() = 2980 Provides: pattern-order() = 2980
Provides: pattern-visible() Provides: pattern-visible()
%if 0%{?is_opensuse}
Provides: patterns-openSUSE-mail_server = %{version}
Obsoletes: patterns-openSUSE-mail_server < %{version}
%else
Provides: patterns-sles-mail_server = %{version}
Obsoletes: patterns-sles-mail_server < %{version}
%endif
Requires: pattern() = basesystem Requires: pattern() = basesystem
Requires: vacation Requires: vacation
Recommends: amavisd-new Recommends: amavisd-new
Recommends: clamav Recommends: clamav
@ -344,13 +327,20 @@ Recommends: cyrus-imapd
Recommends: inn Recommends: inn
Recommends: mailman Recommends: mailman
Recommends: spamassassin Recommends: spamassassin
%if 0%{?is_opensuse}
Provides: patterns-openSUSE-mail_server = %{version}
Obsoletes: patterns-openSUSE-mail_server < %{version}
%else
Provides: patterns-sles-mail_server = %{version}
Obsoletes: patterns-sles-mail_server < %{version}
%endif
%description mail_server %description mail_server
Software to set up electronic mail and message services to handle email, mailing, and news lists, including a virus scanner to scan messages at the server level. Software to set up electronic mail and message services to handle email, mailing, and news lists, including a virus scanner to scan messages at the server level.
%files mail_server %files mail_server
%dir /usr/share/doc/packages/patterns %dir %{_docdir}/patterns
/usr/share/doc/packages/patterns/mail_server.txt %{_docdir}/patterns/mail_server.txt
################################################################################ ################################################################################
@ -359,9 +349,25 @@ Software to set up electronic mail and message services to handle email, mailing
Summary: Print Server Summary: Print Server
Group: Metapackages Group: Metapackages
Provides: pattern() = print_server Provides: pattern() = print_server
Provides: pattern-icon() = yast-printer Provides: pattern-icon() = pattern-server
Provides: pattern-order() = 2960 Provides: pattern-order() = 2960
Provides: pattern-visible() Provides: pattern-visible()
Requires: pattern() = basesystem
Requires: cups
Recommends: OpenPrintingPPDs-ghostscript
Recommends: OpenPrintingPPDs-hpijs
Recommends: OpenPrintingPPDs-postscript
Recommends: cups-backends
Recommends: cups-filters
Recommends: cups-filters-cups-browsed
Recommends: cups-filters-foomatic-rip
Recommends: cups-filters-ghostscript
Recommends: epson-inkjet-printer-escpr
Recommends: gutenprint
Recommends: hplip-hpijs
Recommends: manufacturer-PPDs
Recommends: samba
Recommends: splix
%if 0%{?is_opensuse} %if 0%{?is_opensuse}
Provides: patterns-openSUSE-print_server = %{version} Provides: patterns-openSUSE-print_server = %{version}
Obsoletes: patterns-openSUSE-print_server < %{version} Obsoletes: patterns-openSUSE-print_server < %{version}
@ -369,23 +375,6 @@ Obsoletes: patterns-openSUSE-print_server < %{version}
Provides: patterns-sles-printing = %{version} Provides: patterns-sles-printing = %{version}
Obsoletes: patterns-sles-printing < %{version} Obsoletes: patterns-sles-printing < %{version}
%endif %endif
Requires: pattern() = basesystem
Requires: cups
Recommends: cups-backends
Recommends: cups-filters
Recommends: cups-filters-cups-browsed
Recommends: cups-filters-foomatic-rip
Recommends: cups-filters-ghostscript
Recommends: epson-inkjet-printer-escpr
Recommends: gutenprint
Recommends: hplip-hpijs
Recommends: manufacturer-PPDs
Recommends: OpenPrintingPPDs-ghostscript
Recommends: OpenPrintingPPDs-hpijs
Recommends: OpenPrintingPPDs-postscript
Recommends: samba
Recommends: splix
%description printing %description printing
This pattern provides all packages necessary for printing. It provides all This pattern provides all packages necessary for printing. It provides all
@ -393,8 +382,8 @@ needed packages for printing to a locally connected printer, printing using a
remote print server and for setting up a print server. remote print server and for setting up a print server.
%files printing %files printing
%dir /usr/share/doc/packages/patterns %dir %{_docdir}/patterns
/usr/share/doc/packages/patterns/printing.txt %{_docdir}/patterns/printing.txt
################################################################################ ################################################################################
@ -405,9 +394,20 @@ remote print server and for setting up a print server.
Summary: Xen Virtual Machine Host Server Summary: Xen Virtual Machine Host Server
Group: Metapackages Group: Metapackages
Provides: pattern() = xen_server Provides: pattern() = xen_server
Provides: pattern-icon() = yast-uml Provides: pattern-icon() = pattern-server
Provides: pattern-order() = 3080 Provides: pattern-order() = 3080
Provides: pattern-visible() Provides: pattern-visible()
Requires: pattern() = basesystem
Requires: kernel-xen
Requires: tftp
Requires: xen
Requires: xen-libs
Requires: xen-tools
Recommends: libvirt-daemon-xen
Recommends: tigervnc
# #382423
Recommends: virt-install
Recommends: vm-install
%if 0%{?is_opensuse} %if 0%{?is_opensuse}
Provides: patterns-openSUSE-xen_server = %{version} Provides: patterns-openSUSE-xen_server = %{version}
Obsoletes: patterns-openSUSE-xen_server < %{version} Obsoletes: patterns-openSUSE-xen_server < %{version}
@ -415,25 +415,13 @@ Obsoletes: patterns-openSUSE-xen_server < %{version}
Provides: patterns-sles-xen_server = %{version} Provides: patterns-sles-xen_server = %{version}
Obsoletes: patterns-sles-xen_server < %{version} Obsoletes: patterns-sles-xen_server < %{version}
%endif %endif
Requires: pattern() = basesystem
Requires: kernel-xen
Requires: tftp
Requires: xen
Requires: xen-libs
Requires: xen-tools
Recommends: libvirt-daemon-xen
# #382423
Recommends: virt-install
Recommends: vm-install
Recommends: tigervnc
%description xen_server %description xen_server
Software to set up a server for configuring, managing, and monitoring virtual machines on a single physical machine. Software to set up a server for configuring, managing, and monitoring virtual machines on a single physical machine.
%files xen_server %files xen_server
%dir /usr/share/doc/packages/patterns %dir %{_docdir}/patterns
/usr/share/doc/packages/patterns/xen_server.txt %{_docdir}/patterns/xen_server.txt
%endif %endif
################################################################################ ################################################################################
@ -444,35 +432,34 @@ Software to set up a server for configuring, managing, and monitoring virtual ma
Summary: XEN Virtualization Host and tools Summary: XEN Virtualization Host and tools
Group: Metapackages Group: Metapackages
Provides: pattern() = xen_tools Provides: pattern() = xen_tools
Provides: pattern-icon() = yast-uml Provides: pattern-icon() = pattern-server
Provides: pattern-order() = 1080 Provides: pattern-order() = 1080
Provides: pattern-visible() Provides: pattern-visible()
%if !0%{?is_opensuse}
Provides: patterns-sles-xen_tools = %{version}
Obsoletes: patterns-sles-xen_tools < %{version}
%endif
Requires: pattern() = basesystem Requires: pattern() = basesystem
Requires: pattern() = xen_server Requires: pattern() = xen_server
Requires: libvirt-client Requires: libvirt-client
Requires: libvirt-daemon-xen
Requires: libvirt-daemon-config-network Requires: libvirt-daemon-config-network
Requires: libvirt-daemon-xen
Requires: tigervnc Requires: tigervnc
Requires: vm-install
# bnc#868542 # bnc#868542
Requires: virt-manager Requires: virt-manager
Requires: vm-install
Recommends: openssh Recommends: openssh
# BSC#1078908
Recommends: vim
Recommends: virt-install
Recommends: virt-viewer
#Recommends: sles-xen_en-pdf #Recommends: sles-xen_en-pdf
Recommends: xen-doc-html Recommends: xen-doc-html
Recommends: xorg-x11-xauth
Recommends: yast2-control-center Recommends: yast2-control-center
Recommends: yast2-ncurses Recommends: yast2-ncurses
Recommends: yast2-ncurses-pkg Recommends: yast2-ncurses-pkg
Recommends: yast2-vm Recommends: yast2-vm
Recommends: xorg-x11-xauth %if !0%{?is_opensuse}
Recommends: virt-install Provides: patterns-sles-xen_tools = %{version}
Recommends: virt-viewer Obsoletes: patterns-sles-xen_tools < %{version}
# BSC#1078908 %endif
Recommends: vim
%description xen_tools %description xen_tools
This will provide all minimal system to get a running XEN Hypervisor This will provide all minimal system to get a running XEN Hypervisor
@ -480,8 +467,8 @@ and be able to configure, manage, and monitor virtual machines on a
single physical machine. single physical machine.
%files xen_tools %files xen_tools
%dir /usr/share/doc/packages/patterns %dir %{_docdir}/patterns
/usr/share/doc/packages/patterns/xen_tools.txt %{_docdir}/patterns/xen_tools.txt
%endif %endif
################################################################################ ################################################################################
@ -491,26 +478,26 @@ single physical machine.
%build %build
%install %install
mkdir -p "%{buildroot}/usr/share/doc/packages/patterns" mkdir -p "%{buildroot}%{_docdir}/patterns"
for i in dhcp_dns_server directory_server file_server gateway_server \ for i in dhcp_dns_server directory_server file_server gateway_server \
lamp_server mail_server printing lamp_server mail_server printing
do do
echo "This file marks the pattern $i to be installed." \ echo "This file marks the pattern $i to be installed." \
>"%{buildroot}/usr/share/doc/packages/patterns/$i.txt" >"%{buildroot}%{_docdir}/patterns/$i.txt"
echo "This file marks the pattern $i-32bit to be installed." \ echo "This file marks the pattern $i-32bit to be installed." \
>"%{buildroot}/usr/share/doc/packages/patterns/$i-32bit.txt" >"%{buildroot}%{_docdir}/patterns/$i-32bit.txt"
done done
# NO 32bits pattern for KVM or XEN # NO 32bits pattern for KVM or XEN
for i in kvm_tools kvm_server for i in kvm_tools kvm_server
do do
echo "This file marks the pattern $i to be installed." \ echo "This file marks the pattern $i to be installed." \
> "%{buildroot}/usr/share/doc/packages/patterns/$i.txt" > "%{buildroot}%{_docdir}/patterns/$i.txt"
done done
# XEN is only available on x86_64 # XEN is only available on x86_64
%ifarch x86_64 %ifarch x86_64
for i in xen_server xen_tools; do for i in xen_server xen_tools; do
echo "This file marks the pattern $i to be installed." \ echo "This file marks the pattern $i to be installed." \
>"%{buildroot}/usr/share/doc/packages/patterns/$i.txt" >"%{buildroot}%{_docdir}/patterns/$i.txt"
done done
%endif %endif