From ce9feccf292d064b68c16ab709c8d45a08ff4f46bbb4422f7f79bb131fed8d72 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Sat, 8 Apr 2017 06:18:02 +0000 Subject: [PATCH] Accepting request 485951 from home:simotek:patterns Please forward to Factory and Update the maintainer list as you see appropriate. This partly replaces the old patterns package OBS-URL: https://build.opensuse.org/request/show/485951 OBS-URL: https://build.opensuse.org/package/show/system:install:head/patterns-server?expand=0&rev=1 --- .gitattributes | 23 +++ .gitignore | 1 + patterns-server-rpmlintrc | 3 + patterns-server.changes | 4 + patterns-server.spec | 360 ++++++++++++++++++++++++++++++++++++++ 5 files changed, 391 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 patterns-server-rpmlintrc create mode 100644 patterns-server.changes create mode 100644 patterns-server.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/patterns-server-rpmlintrc b/patterns-server-rpmlintrc new file mode 100644 index 0000000..459f6d4 --- /dev/null +++ b/patterns-server-rpmlintrc @@ -0,0 +1,3 @@ +addFilter("W: no-binary"); + + diff --git a/patterns-server.changes b/patterns-server.changes new file mode 100644 index 0000000..e346b67 --- /dev/null +++ b/patterns-server.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Thu Mar 16 06:15:40 UTC 2017 - sflees@suse.de + +- Create new package from old unified patterns package diff --git a/patterns-server.spec b/patterns-server.spec new file mode 100644 index 0000000..c251bd2 --- /dev/null +++ b/patterns-server.spec @@ -0,0 +1,360 @@ +# +# spec file for package patterns-openSUSE +# +# Copyright (c) 2017 SUSE LINUX 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/ +# + + +%bcond_with betatest + +Name: patterns-server +Version: 20170319 +Release: 0 +Summary: Patterns for Installation (server patterns) +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. + +This particular package contains all the server related patterns + +################################################################################ + +%package dhcp_dns_server +%pattern_serverfunctions +Summary: DHCP and DNS Server +Group: Metapackages +Provides: pattern() = dhcp_dns_server +Provides: pattern-icon() = yast-dns-server +Provides: pattern-order() = 3040 +Provides: pattern-visible() +Requires: pattern() = basesystem + +Recommends: bind +Recommends: dhcp-relay +Recommends: dhcp-server +Recommends: dhcp-tools +Recommends: yast2-dhcp-server +Recommends: yast2-dns-server +Recommends: bind-doc + +%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. + +%files dhcp_dns_server +%dir /usr/share/doc/packages/patterns +/usr/share/doc/packages/patterns/dhcp_dns_server.txt + +################################################################################ + +%package directory_server +%pattern_serverfunctions +Summary: Directory Server (LDAP) +Group: Metapackages +Provides: pattern() = directory_server +Provides: pattern-icon() = yast-ldap-server +Provides: pattern-order() = 3060 +Provides: pattern-visible() +Requires: pattern() = basesystem + +Recommends: nss_ldap +Recommends: openldap2 +Recommends: pam_ldap +Recommends: yast2-ldap-server +%ifarch x86_64 +Recommends: nss_ldap-32bit +Recommends: pam_ldap-32bit +%endif + +%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. + +%files directory_server +%dir /usr/share/doc/packages/patterns +/usr/share/doc/packages/patterns/directory_server.txt + +################################################################################ + +%package file_server +%pattern_serverfunctions +Summary: File Server +Group: Metapackages +Provides: pattern() = file_server +Provides: pattern-icon() = yast-nfs_server +Provides: pattern-order() = 2900 +Provides: pattern-visible() +Requires: pattern() = basesystem + +Recommends: nfsidmap +Recommends: nfs-kernel-server +Recommends: samba +Recommends: yast2-nfs-server +Recommends: yast2-samba-server +Recommends: vsftpd +Recommends: samba-client +Recommends: samba-winbind +Recommends: tftp +Recommends: yast2-ftp-server +Recommends: yast2-tftp-server +Suggests: atftp + +%description file_server +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 +%dir /usr/share/doc/packages/patterns +/usr/share/doc/packages/patterns/file_server.txt + +################################################################################ + +%package gateway_server +%pattern_serverfunctions +Summary: Internet Gateway +Group: Metapackages +Provides: pattern() = gateway_server +Provides: pattern-icon() = yast-dsl +Provides: pattern-order() = 3020 +Provides: pattern-visible() +Requires: pattern() = basesystem + +Recommends: wireshark +Recommends: ddclient +Recommends: fetchmail +Recommends: ipsec-tools +Recommends: quagga +Recommends: radvd +Recommends: rarpd +Recommends: squid3 +Recommends: squidGuard +Suggests: wwwoffle +Suggests: mirror + +%description gateway_server +Software to set up a proxy, firewall, and gateway server, including a virtual private network (VPN) gateway. + +%files gateway_server +%dir /usr/share/doc/packages/patterns +/usr/share/doc/packages/patterns/gateway_server.txt + +################################################################################ + +%package kvm_server +%pattern_serverfunctions +Summary: KVM Host Server +Group: Metapackages +Provides: pattern() = kvm_server +Provides: pattern-icon() = yast-uml +Provides: pattern-order() = 3099 +Provides: pattern-visible() +Requires: pattern() = basesystem + +Recommends: qemu-kvm +Recommends: vm-install +Recommends: tigervnc +Recommends: fontconfig +Recommends: fonts-config +Recommends: xorg-x11-fonts +Recommends: efont-unicode-bitmap-fonts +Recommends: xauth +Recommends: bridge-utils +Recommends: tftp +Recommends: agfa-fonts +Recommends: virt-viewer +Recommends: virt-manager +Recommends: libvirt-daemon-qemu +Suggests: libvirt +Suggests: libvirt-daemon-lxc + +%description kvm_server +Software to set up a server for configuring, managing, and monitoring virtual machines on a single physical machine. + +%files kvm_server +%dir /usr/share/doc/packages/patterns +/usr/share/doc/packages/patterns/kvm_server.txt + +################################################################################ + +%package lamp_server +%pattern_serverfunctions +Summary: Web and LAMP Server +Group: Metapackages +Provides: pattern() = lamp_server +Provides: pattern-icon() = yast-http-server +Provides: pattern-order() = 3000 +Provides: pattern-visible() +Requires: pattern() = basesystem + +Recommends: apache2 +Recommends: yast2-http-server +Recommends: apache2-doc +Recommends: apache2-example-pages +Recommends: apache2-mod_perl +Recommends: apache2-mod_php5 +Recommends: apache2-mod_python +Recommends: apache2-prefork +Recommends: mariadb +Recommends: php5-ctype +Recommends: php5-dom +Recommends: php5-iconv +Recommends: php5-mysql +Suggests: php5-gd +Suggests: php5-mbstring +Suggests: php5-zlib +Suggests: php5-zip +# slightly out of place I admit +Suggests: postgresql +Suggests: postgresql-contrib +Suggests: postgresql-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. + +%files lamp_server +%dir /usr/share/doc/packages/patterns +/usr/share/doc/packages/patterns/lamp_server.txt + +################################################################################ + +%package mail_server +%pattern_serverfunctions +Summary: Mail and News Server +Group: Metapackages +Provides: pattern() = mail_server +Provides: pattern-icon() = yast-mail-server +Provides: pattern-order() = 2980 +Provides: pattern-visible() +Requires: pattern() = basesystem + +Recommends: cyrus-imapd +Recommends: amavisd-new +Recommends: mailman +Recommends: clamav +Recommends: fetchmail +Recommends: postfix +Recommends: procmail +Recommends: spamassassin +Recommends: inn +Recommends: vacation +Suggests: dovecot12 +Suggests: mlmmj +Suggests: sendmail +Suggests: bogofilter-db +# this duplicates the recommend, but works around a problem with the solver +# as everything is weak required, it needs one more hint for postfix +Suggests: postfix + +%description mail_server +Software to set up electronic mail and message services to handle e-mail, mailing, and news lists, including a virus scanner to scan messages at the server level. + +%files mail_server +%dir /usr/share/doc/packages/patterns +/usr/share/doc/packages/patterns/mail_server.txt + +################################################################################ + +%package print_server +%pattern_serverfunctions +Summary: Print Server +Group: Metapackages +Provides: pattern() = print_server +Provides: pattern-icon() = yast-printer +Provides: pattern-order() = 2960 +Provides: pattern-visible() +Requires: pattern() = basesystem + +Recommends: cups +Recommends: cups-backends +Recommends: cups-filters-foomatic-rip +Recommends: OpenPrintingPPDs +Recommends: m2300w +Recommends: splix +Recommends: gutenprint +Recommends: hplip +Recommends: manufacturer-PPDs +Recommends: samba +Suggests: udev-configure-printer +Suggests: poster +# print to bluetooth +Suggests: bluez-cups +Suggests: pbm2l7k + +%description print_server +Software used to host print queues so that they may be accessed by other computers on the same network. LPD, CUPS, and SMB print servers and queues are supported. + +%files print_server +%dir /usr/share/doc/packages/patterns +/usr/share/doc/packages/patterns/print_server.txt + +################################################################################ + +%package xen_server +%pattern_serverfunctions +Summary: Xen Virtual Machine Host Server +Group: Metapackages +Provides: pattern() = xen_server +Provides: pattern-icon() = yast-uml +Provides: pattern-order() = 3080 +Provides: pattern-visible() +Requires: pattern() = basesystem + +Recommends: bridge-utils +Recommends: vm-install +Recommends: xen +Recommends: xen-libs +Recommends: xen-tools +Recommends: virt-manager +Recommends: xen-doc-html +Recommends: xterm +Recommends: yast2-vm +Recommends: virt-viewer +Recommends: libvirt-daemon-xen +# #382423 +Suggests: install-initrd +Suggests: libvirt +Suggests: libvirt-daemon-lxc + +%description xen_server +Software to set up a server for configuring, managing, and monitoring virtual machines on a single physical machine. + +%files xen_server +%dir /usr/share/doc/packages/patterns +/usr/share/doc/packages/patterns/xen_server.txt + +################################################################################ + +%prep + +%build + +%install +mkdir -p $RPM_BUILD_ROOT/usr/share/doc/packages/patterns/ +echo 'This file marks the pattern dhcp_dns_server to be installed.' > $RPM_BUILD_ROOT/usr/share/doc/packages/patterns/dhcp_dns_server.txt +echo 'This file marks the pattern directory_server to be installed.' > $RPM_BUILD_ROOT/usr/share/doc/packages/patterns/directory_server.txt +echo 'This file marks the pattern file_server to be installed.' > $RPM_BUILD_ROOT/usr/share/doc/packages/patterns/file_server.txt +echo 'This file marks the pattern gateway_server to be installed.' > $RPM_BUILD_ROOT/usr/share/doc/packages/patterns/gateway_server.txt +echo 'This file marks the pattern kvm_server to be installed.' > $RPM_BUILD_ROOT/usr/share/doc/packages/patterns/kvm_server.txt +echo 'This file marks the pattern lamp_server to be installed.' > $RPM_BUILD_ROOT/usr/share/doc/packages/patterns/lamp_server.txt +echo 'This file marks the pattern mail_server to be installed.' > $RPM_BUILD_ROOT/usr/share/doc/packages/patterns/mail_server.txt +echo 'This file marks the pattern print_server to be installed.' > $RPM_BUILD_ROOT/usr/share/doc/packages/patterns/print_server.txt +echo 'This file marks the pattern xen_server to be installed.' > $RPM_BUILD_ROOT/usr/share/doc/packages/patterns/xen_server.txt + +%changelog