Blame openSUSE-release.spec

Bernhard M. Wiedemann ba321b
#
Bernhard M. Wiedemann ba321b
# spec file for package openSUSE-release.spec
Bernhard M. Wiedemann ba321b
#
Bernhard M. Wiedemann 0992e3
# Copyright (c) 2020 SUSE LLC
Bernhard M. Wiedemann ba321b
#
Bernhard M. Wiedemann ba321b
# All modifications and additions to the file contributed by third parties
Bernhard M. Wiedemann ba321b
# remain the property of their copyright owners, unless otherwise agreed
Bernhard M. Wiedemann ba321b
# upon. The license for this file, and modifications and additions to the
Bernhard M. Wiedemann ba321b
# file, is the same license as for the pristine package itself (unless the
Bernhard M. Wiedemann ba321b
# license for the pristine package is not an Open Source License, in which
Bernhard M. Wiedemann ba321b
# case the license is the MIT License). An "Open Source License" is a
Bernhard M. Wiedemann ba321b
# license that conforms to the Open Source Definition (Version 1.9)
Bernhard M. Wiedemann ba321b
# published by the Open Source Initiative.
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
# Please submit bugfixes or comments via https://bugs.opensuse.org/
Bernhard M. Wiedemann ba321b
#
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
%define product openSUSE
Bernhard M. Wiedemann ba321b
#define betaversion %{nil}
Bernhard M. Wiedemann ba321b
%define codename Tumbleweed
Bernhard M. Wiedemann ba321b
Name:           openSUSE-release
Bernhard M. Wiedemann 7325e5
Version:        20200717
Bernhard M. Wiedemann ba321b
Release:        0
Bernhard M. Wiedemann ba321b
# 0 is the product release, not the build release of this package
Bernhard M. Wiedemann ba321b
Summary:        openSUSE Tumbleweed
Bernhard M. Wiedemann ba321b
License:        BSD-3-Clause
Bernhard M. Wiedemann ba321b
Group:          System/Fhs
Bernhard M. Wiedemann ba321b
Source100:      weakremovers.inc
Bernhard M. Wiedemann ba321b
BuildRequires:  skelcd-control-openSUSE
Bernhard M. Wiedemann ba321b
BuildRequires:  skelcd-openSUSE
Bernhard M. Wiedemann 81d9a0
Suggests:       branding-openSUSE
Bernhard M. Wiedemann 81d9a0
Suggests:       distribution-logos-openSUSE-Tumbleweed
Bernhard M. Wiedemann ba321b
Suggests:       java-11-openjdk
Bernhard M. Wiedemann ba321b
Suggests:       mariadb
Bernhard M. Wiedemann ba321b
Suggests:       mariadb-client
Bernhard M. Wiedemann 0992e3
Suggests:       openSUSE-build-key
Bernhard M. Wiedemann 1de9d6
Suggests:       openssl-1_1
Bernhard M. Wiedemann ba321b
Conflicts:      core-release <= 10
Bernhard M. Wiedemann ba321b
Conflicts:      distribution-release
Bernhard M. Wiedemann ba321b
Conflicts:      sled-release <= 10
Bernhard M. Wiedemann ba321b
Conflicts:      sles-release <= 10
Bernhard M. Wiedemann ba321b
Provides:       aaa_version
Bernhard M. Wiedemann ba321b
Provides:       distribution-release
Bernhard M. Wiedemann ba321b
Provides:       suse-release = %{version}-%{release}
Bernhard M. Wiedemann ba321b
Provides:       suse-release-oss = %{version}-%{release}
Bernhard M. Wiedemann ba321b
# Give zypp a hint that this product must be kept up-to-date using zypper dup, not up (boo#1061384)
Bernhard M. Wiedemann ba321b
Provides:       product-update() = dup
Bernhard M. Wiedemann ba321b
# Since we have more than one product in the FTP tree, we need to give yast a hint
Bernhard M. Wiedemann ba321b
Provides:       system-installation() = openSUSE
Bernhard M. Wiedemann ba321b
Obsoletes:      aaa_version
Bernhard M. Wiedemann ba321b
Obsoletes:      openSUSE-Promo-release <= 11.1
Bernhard M. Wiedemann ba321b
Obsoletes:      openSUSE-release-live <= 11.0
Bernhard M. Wiedemann ba321b
# bnc#826592
Bernhard M. Wiedemann ba321b
Provides:       weakremover(kernel-default) < 3.11
Bernhard M. Wiedemann ba321b
Provides:       weakremover(kernel-desktop) < 4.2
Bernhard M. Wiedemann ba321b
Provides:       weakremover(kernel-ec2) < 3.11
Bernhard M. Wiedemann ba321b
Provides:       weakremover(kernel-pae) < 3.11
Bernhard M. Wiedemann ba321b
Provides:       weakremover(kernel-vanilla) < 3.11
Bernhard M. Wiedemann ba321b
Provides:       weakremover(kernel-xen) < 3.11
Bernhard M. Wiedemann ba321b
# migrated from MANUAL_OBSOLETES/packages
Bernhard M. Wiedemann ba321b
Provides:       weakremover(boost-license1_56_0)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(boost-license1_59_0)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(gpg-pubkey-3d25d3d9-36e12d04)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(lib++dfb-1_7-6)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libastro-qt5-1)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libboost_atomic1_59_0)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libboost_atomic1_60_0)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libboost_atomic1_62_0)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libboost_atomic1_63_0)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libboost_chrono1_59_0)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libboost_chrono1_60_0)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libboost_chrono1_62_0)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libboost_chrono1_63_0)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libboost_container1_59_0)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libboost_container1_60_0)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libboost_container1_62_0)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libboost_container1_63_0)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libboost_context1_59_0)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libboost_context1_60_0)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libboost_context1_62_0)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libboost_context1_63_0)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libboost_coroutine1_59_0)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libboost_coroutine1_60_0)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libboost_coroutine1_62_0)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libboost_coroutine1_63_0)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libboost_date_time1_59_0)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libboost_date_time1_60_0)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libboost_date_time1_62_0)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libboost_date_time1_63_0)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libboost_filesystem1_59_0)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libboost_filesystem1_60_0)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libboost_filesystem1_62_0)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libboost_filesystem1_63_0)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libboost_graph1_59_0)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libboost_graph1_60_0)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libboost_graph1_62_0)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libboost_graph1_63_0)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libboost_iostreams1_59_0)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libboost_locale1_59_0)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libboost_log1_59_0)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libboost_log1_60_0)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libboost_log1_62_0)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libboost_log1_63_0)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libboost_math1_59_0)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libboost_program_options1_59_0)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libboost_python1_59_0)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libboost_random1_59_0)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libboost_regex1_59_0)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libboost_regex1_60_0)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libboost_regex1_62_0)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libboost_regex1_63_0)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libboost_serialization1_59_0)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libboost_signals1_59_0)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libboost_system1_56_0)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libboost_system1_59_0)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libboost_test1_59_0)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libboost_thread1_56_0)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libboost_thread1_59_0)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libboost_timer1_59_0)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libboost_wave1_59_0)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libcamel-1_2-54)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libdialog12)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libdirectfb-1_7-6)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libdns146)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libdns160)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libdns161)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libgdict-1_0-9)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libgit2-23)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libgpaste4)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libhdf5-11)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libhdf5_hl11)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libicu54_1)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libicu54_1-ledata)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libicu55_1)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libicu55_1-ledata)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libicu56_1)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libicu56_1-ledata)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libimobiledevice5)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libisc142)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libisc148)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libisl13)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libixion-0_10-0)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(liblmdb-0_9_16)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libmicrohttpd11)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libminiupnpc15)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libnis1)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libntfs-3g86)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(liborcus-0_10-0)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libpoppler47)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libpoppler48)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libpoppler49)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libpoppler50)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libpoppler51)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libpoppler52)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libpoppler53)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libpoppler54)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libpoppler55)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libpoppler56)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libpoppler57)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libpoppler58)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libpoppler59)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libpoppler61)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libpoppler62)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libpoppler63)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libpoppler64)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libpoppler65)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libprocps4)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libprocps5)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libpsl0)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libsgutils2-1_40-2)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libsgutils2-1_41-2)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libvpx2)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libxtables11)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(libzip4)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(mt_st)
Bernhard M. Wiedemann ba321b
Provides:       weakremover(openssl-debuginfo)
Bernhard M. Wiedemann ba321b
%include %{SOURCE100}
Bernhard M. Wiedemann ba321b
Provides:       %name-%version
Bernhard M. Wiedemann ba321b
Provides:       product() = openSUSE
Bernhard M. Wiedemann 7325e5
Provides:       product(openSUSE) = 20200717-0
Bernhard M. Wiedemann ba321b
%ifarch x86_64
Bernhard M. Wiedemann ba321b
Provides:       product-register-target() = openSUSE%2DTumbleweed%2Dx86_64
Bernhard M. Wiedemann ba321b
%endif
Bernhard M. Wiedemann ba321b
%ifarch s390x
Bernhard M. Wiedemann ba321b
Provides:       product-register-target() = openSUSE%2DTumbleweed%2Ds390x
Bernhard M. Wiedemann ba321b
%endif
Bernhard M. Wiedemann ba321b
%ifarch ppc64le
Bernhard M. Wiedemann ba321b
Provides:       product-register-target() = openSUSE%2DTumbleweed%2Dppc64le
Bernhard M. Wiedemann ba321b
%endif
Bernhard M. Wiedemann ba321b
%ifarch aarch64
Bernhard M. Wiedemann ba321b
Provides:       product-register-target() = openSUSE%2DTumbleweed%2Daarch64
Bernhard M. Wiedemann ba321b
%endif
Bernhard M. Wiedemann ba321b
Provides:       product-label() = openSUSE
Bernhard M. Wiedemann 7325e5
Provides:       product-cpeid() = cpe%3A%2Fo%3Aopensuse%3Aopensuse%3A20200717
Bernhard M. Wiedemann ba321b
Provides:       product-url(releasenotes) = http%3A%2F%2Fdoc.opensuse.org%2Frelease%2Dnotes%2Fx86_64%2FopenSUSE%2FTumbleweed%2Frelease%2Dnotes%2DopenSUSE.rpm
Bernhard M. Wiedemann ba321b
Provides:       product-url(repository) = http%3A%2F%2Fdownload.opensuse.org%2Ftumbleweed%2Frepo%2Foss%2F
Bernhard M. Wiedemann ba321b
Requires:       product_flavor(openSUSE)
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
%description
Bernhard M. Wiedemann ba321b
openSUSE Tumbleweed is the rolling distribution by the openSUSE.org project.
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
%package ftp
Bernhard M. Wiedemann ba321b
License:        BSD-3-Clause
Bernhard M. Wiedemann ba321b
Group:          System/Fhs
Bernhard M. Wiedemann ba321b
Provides:       product_flavor()
Bernhard M. Wiedemann ba321b
Provides:       flavor(ftp)
Bernhard M. Wiedemann 7325e5
Provides:       product_flavor(openSUSE) = 20200717-0
Bernhard M. Wiedemann ba321b
Summary:        openSUSE Tumbleweed%{?betaversion: %{betaversion}}
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
%description ftp
Bernhard M. Wiedemann ba321b
openSUSE Tumbleweed is the rolling distribution by the openSUSE.org project.
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
%files ftp
Bernhard M. Wiedemann ba321b
%defattr(-,root,root)
Bernhard M. Wiedemann ba321b
%doc %{_defaultdocdir}/openSUSE-release-ftp
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
%package mini
Bernhard M. Wiedemann ba321b
License:        BSD-3-Clause
Bernhard M. Wiedemann ba321b
Group:          System/Fhs
Bernhard M. Wiedemann ba321b
Provides:       product_flavor()
Bernhard M. Wiedemann ba321b
Provides:       flavor(mini)
Bernhard M. Wiedemann 7325e5
Provides:       product_flavor(openSUSE) = 20200717-0
Bernhard M. Wiedemann ba321b
Summary:        openSUSE Tumbleweed%{?betaversion: %{betaversion}}
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
%description mini
Bernhard M. Wiedemann ba321b
openSUSE Tumbleweed is the rolling distribution by the openSUSE.org project.
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
%files mini
Bernhard M. Wiedemann ba321b
%defattr(-,root,root)
Bernhard M. Wiedemann ba321b
%doc %{_defaultdocdir}/openSUSE-release-mini
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
%package dvd
Bernhard M. Wiedemann ba321b
License:        BSD-3-Clause
Bernhard M. Wiedemann ba321b
Group:          System/Fhs
Bernhard M. Wiedemann ba321b
Provides:       product_flavor()
Bernhard M. Wiedemann ba321b
Provides:       flavor(dvd)
Bernhard M. Wiedemann 7325e5
Provides:       product_flavor(openSUSE) = 20200717-0
Bernhard M. Wiedemann ba321b
Summary:        openSUSE Tumbleweed%{?betaversion: %{betaversion}}
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
%description dvd
Bernhard M. Wiedemann ba321b
openSUSE Tumbleweed is the rolling distribution by the openSUSE.org project.
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
%files dvd
Bernhard M. Wiedemann ba321b
%defattr(-,root,root)
Bernhard M. Wiedemann ba321b
%doc %{_defaultdocdir}/openSUSE-release-dvd
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
%package livecd-kde
Bernhard M. Wiedemann ba321b
License:        BSD-3-Clause
Bernhard M. Wiedemann ba321b
Group:          System/Fhs
Bernhard M. Wiedemann ba321b
Provides:       product_flavor()
Bernhard M. Wiedemann ba321b
Provides:       flavor(livecd-kde)
Bernhard M. Wiedemann 7325e5
Provides:       product_flavor(openSUSE) = 20200717-0
Bernhard M. Wiedemann ba321b
Summary:        openSUSE Tumbleweed%{?betaversion: %{betaversion}}
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
%description livecd-kde
Bernhard M. Wiedemann ba321b
openSUSE Tumbleweed is the rolling distribution by the openSUSE.org project.
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
%files livecd-kde
Bernhard M. Wiedemann ba321b
%defattr(-,root,root)
Bernhard M. Wiedemann ba321b
%doc %{_defaultdocdir}/openSUSE-release-livecd-kde
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
%package livecd-x11
Bernhard M. Wiedemann ba321b
License:        BSD-3-Clause
Bernhard M. Wiedemann ba321b
Group:          System/Fhs
Bernhard M. Wiedemann ba321b
Provides:       product_flavor()
Bernhard M. Wiedemann ba321b
Provides:       flavor(livecd-x11)
Bernhard M. Wiedemann 7325e5
Provides:       product_flavor(openSUSE) = 20200717-0
Bernhard M. Wiedemann ba321b
Summary:        openSUSE Tumbleweed%{?betaversion: %{betaversion}}
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
%description livecd-x11
Bernhard M. Wiedemann ba321b
openSUSE Tumbleweed is the rolling distribution by the openSUSE.org project.
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
%files livecd-x11
Bernhard M. Wiedemann ba321b
%defattr(-,root,root)
Bernhard M. Wiedemann ba321b
%doc %{_defaultdocdir}/openSUSE-release-livecd-x11
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
%package livecd-gnome
Bernhard M. Wiedemann ba321b
License:        BSD-3-Clause
Bernhard M. Wiedemann ba321b
Group:          System/Fhs
Bernhard M. Wiedemann ba321b
Provides:       product_flavor()
Bernhard M. Wiedemann ba321b
Provides:       flavor(livecd-gnome)
Bernhard M. Wiedemann 7325e5
Provides:       product_flavor(openSUSE) = 20200717-0
Bernhard M. Wiedemann ba321b
Summary:        openSUSE Tumbleweed%{?betaversion: %{betaversion}}
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
%description livecd-gnome
Bernhard M. Wiedemann ba321b
openSUSE Tumbleweed is the rolling distribution by the openSUSE.org project.
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
%files livecd-gnome
Bernhard M. Wiedemann ba321b
%defattr(-,root,root)
Bernhard M. Wiedemann ba321b
%doc %{_defaultdocdir}/openSUSE-release-livecd-gnome
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
%package livecd-xfce
Bernhard M. Wiedemann ba321b
License:        BSD-3-Clause
Bernhard M. Wiedemann ba321b
Group:          System/Fhs
Bernhard M. Wiedemann ba321b
Provides:       product_flavor()
Bernhard M. Wiedemann ba321b
Provides:       flavor(livecd-xfce)
Bernhard M. Wiedemann 7325e5
Provides:       product_flavor(openSUSE) = 20200717-0
Bernhard M. Wiedemann ba321b
Summary:        openSUSE Tumbleweed%{?betaversion: %{betaversion}}
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
%description livecd-xfce
Bernhard M. Wiedemann ba321b
openSUSE Tumbleweed is the rolling distribution by the openSUSE.org project.
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
%files livecd-xfce
Bernhard M. Wiedemann ba321b
%defattr(-,root,root)
Bernhard M. Wiedemann ba321b
%doc %{_defaultdocdir}/openSUSE-release-livecd-xfce
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
%package usb-kde
Bernhard M. Wiedemann ba321b
License:        BSD-3-Clause
Bernhard M. Wiedemann ba321b
Group:          System/Fhs
Bernhard M. Wiedemann ba321b
Provides:       product_flavor()
Bernhard M. Wiedemann ba321b
Provides:       flavor(usb-kde)
Bernhard M. Wiedemann 7325e5
Provides:       product_flavor(openSUSE) = 20200717-0
Bernhard M. Wiedemann ba321b
Summary:        openSUSE Tumbleweed%{?betaversion: %{betaversion}}
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
%description usb-kde
Bernhard M. Wiedemann ba321b
openSUSE Tumbleweed is the rolling distribution by the openSUSE.org project.
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
%files usb-kde
Bernhard M. Wiedemann ba321b
%defattr(-,root,root)
Bernhard M. Wiedemann ba321b
%doc %{_defaultdocdir}/openSUSE-release-usb-kde
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
%package usb-gnome
Bernhard M. Wiedemann ba321b
License:        BSD-3-Clause
Bernhard M. Wiedemann ba321b
Group:          System/Fhs
Bernhard M. Wiedemann ba321b
Provides:       product_flavor()
Bernhard M. Wiedemann ba321b
Provides:       flavor(usb-gnome)
Bernhard M. Wiedemann 7325e5
Provides:       product_flavor(openSUSE) = 20200717-0
Bernhard M. Wiedemann ba321b
Summary:        openSUSE Tumbleweed%{?betaversion: %{betaversion}}
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
%description usb-gnome
Bernhard M. Wiedemann ba321b
openSUSE Tumbleweed is the rolling distribution by the openSUSE.org project.
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
%files usb-gnome
Bernhard M. Wiedemann ba321b
%defattr(-,root,root)
Bernhard M. Wiedemann ba321b
%doc %{_defaultdocdir}/openSUSE-release-usb-gnome
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
%package usb-x11
Bernhard M. Wiedemann ba321b
License:        BSD-3-Clause
Bernhard M. Wiedemann ba321b
Group:          System/Fhs
Bernhard M. Wiedemann ba321b
Provides:       product_flavor()
Bernhard M. Wiedemann ba321b
Provides:       flavor(usb-x11)
Bernhard M. Wiedemann 7325e5
Provides:       product_flavor(openSUSE) = 20200717-0
Bernhard M. Wiedemann ba321b
Summary:        openSUSE Tumbleweed%{?betaversion: %{betaversion}}
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
%description usb-x11
Bernhard M. Wiedemann ba321b
openSUSE Tumbleweed is the rolling distribution by the openSUSE.org project.
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
%files usb-x11
Bernhard M. Wiedemann ba321b
%defattr(-,root,root)
Bernhard M. Wiedemann ba321b
%doc %{_defaultdocdir}/openSUSE-release-usb-x11
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
%package appliance
Bernhard M. Wiedemann ba321b
License:        BSD-3-Clause
Bernhard M. Wiedemann ba321b
Group:          System/Fhs
Bernhard M. Wiedemann ba321b
Provides:       product_flavor()
Bernhard M. Wiedemann ba321b
Provides:       flavor(appliance)
Bernhard M. Wiedemann 7325e5
Provides:       product_flavor(openSUSE) = 20200717-0
Bernhard M. Wiedemann ba321b
Summary:        openSUSE Tumbleweed%{?betaversion: %{betaversion}}
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
%description appliance
Bernhard M. Wiedemann ba321b
openSUSE Tumbleweed is the rolling distribution by the openSUSE.org project.
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
%files appliance
Bernhard M. Wiedemann ba321b
%defattr(-,root,root)
Bernhard M. Wiedemann ba321b
%doc %{_defaultdocdir}/openSUSE-release-appliance
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
%package appliance-docker
Bernhard M. Wiedemann ba321b
License:        BSD-3-Clause
Bernhard M. Wiedemann ba321b
Group:          System/Fhs
Bernhard M. Wiedemann ba321b
Provides:       product_flavor()
Bernhard M. Wiedemann ba321b
Provides:       flavor(appliance-docker)
Bernhard M. Wiedemann 7325e5
Provides:       product_flavor(openSUSE) = 20200717-0
Bernhard M. Wiedemann ba321b
Summary:        openSUSE Tumbleweed%{?betaversion: %{betaversion}}
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
%description appliance-docker
Bernhard M. Wiedemann ba321b
openSUSE Tumbleweed is the rolling distribution by the openSUSE.org project.
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
%files appliance-docker
Bernhard M. Wiedemann ba321b
%defattr(-,root,root)
Bernhard M. Wiedemann ba321b
%doc %{_defaultdocdir}/openSUSE-release-appliance-docker
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
%package appliance-kvm
Bernhard M. Wiedemann ba321b
License:        BSD-3-Clause
Bernhard M. Wiedemann ba321b
Group:          System/Fhs
Bernhard M. Wiedemann ba321b
Provides:       product_flavor()
Bernhard M. Wiedemann ba321b
Provides:       flavor(appliance-kvm)
Bernhard M. Wiedemann 7325e5
Provides:       product_flavor(openSUSE) = 20200717-0
Bernhard M. Wiedemann ba321b
Summary:        openSUSE Tumbleweed%{?betaversion: %{betaversion}}
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
%description appliance-kvm
Bernhard M. Wiedemann ba321b
openSUSE Tumbleweed is the rolling distribution by the openSUSE.org project.
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
%files appliance-kvm
Bernhard M. Wiedemann ba321b
%defattr(-,root,root)
Bernhard M. Wiedemann ba321b
%doc %{_defaultdocdir}/openSUSE-release-appliance-kvm
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
%package appliance-vmware
Bernhard M. Wiedemann ba321b
License:        BSD-3-Clause
Bernhard M. Wiedemann ba321b
Group:          System/Fhs
Bernhard M. Wiedemann ba321b
Provides:       product_flavor()
Bernhard M. Wiedemann ba321b
Provides:       flavor(appliance-vmware)
Bernhard M. Wiedemann 7325e5
Provides:       product_flavor(openSUSE) = 20200717-0
Bernhard M. Wiedemann ba321b
Summary:        openSUSE Tumbleweed%{?betaversion: %{betaversion}}
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
%description appliance-vmware
Bernhard M. Wiedemann ba321b
openSUSE Tumbleweed is the rolling distribution by the openSUSE.org project.
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
%files appliance-vmware
Bernhard M. Wiedemann ba321b
%defattr(-,root,root)
Bernhard M. Wiedemann ba321b
%doc %{_defaultdocdir}/openSUSE-release-appliance-vmware
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
%package appliance-openstack
Bernhard M. Wiedemann ba321b
License:        BSD-3-Clause
Bernhard M. Wiedemann ba321b
Group:          System/Fhs
Bernhard M. Wiedemann ba321b
Provides:       product_flavor()
Bernhard M. Wiedemann ba321b
Provides:       flavor(appliance-openstack)
Bernhard M. Wiedemann 7325e5
Provides:       product_flavor(openSUSE) = 20200717-0
Bernhard M. Wiedemann ba321b
Summary:        openSUSE Tumbleweed%{?betaversion: %{betaversion}}
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
%description appliance-openstack
Bernhard M. Wiedemann ba321b
openSUSE Tumbleweed is the rolling distribution by the openSUSE.org project.
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
%files appliance-openstack
Bernhard M. Wiedemann ba321b
%defattr(-,root,root)
Bernhard M. Wiedemann ba321b
%doc %{_defaultdocdir}/openSUSE-release-appliance-openstack
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
%package appliance-hyperv
Bernhard M. Wiedemann ba321b
License:        BSD-3-Clause
Bernhard M. Wiedemann ba321b
Group:          System/Fhs
Bernhard M. Wiedemann ba321b
Provides:       product_flavor()
Bernhard M. Wiedemann ba321b
Provides:       flavor(appliance-hyperv)
Bernhard M. Wiedemann 7325e5
Provides:       product_flavor(openSUSE) = 20200717-0
Bernhard M. Wiedemann ba321b
Summary:        openSUSE Tumbleweed%{?betaversion: %{betaversion}}
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
%description appliance-hyperv
Bernhard M. Wiedemann ba321b
openSUSE Tumbleweed is the rolling distribution by the openSUSE.org project.
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
%files appliance-hyperv
Bernhard M. Wiedemann ba321b
%defattr(-,root,root)
Bernhard M. Wiedemann ba321b
%doc %{_defaultdocdir}/openSUSE-release-appliance-hyperv
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
%package appliance-vagrant
Bernhard M. Wiedemann ba321b
License:        BSD-3-Clause
Bernhard M. Wiedemann ba321b
Group:          System/Fhs
Bernhard M. Wiedemann ba321b
Provides:       product_flavor()
Bernhard M. Wiedemann ba321b
Provides:       flavor(appliance-vagrant)
Bernhard M. Wiedemann 7325e5
Provides:       product_flavor(openSUSE) = 20200717-0
Bernhard M. Wiedemann ba321b
Summary:        openSUSE Tumbleweed%{?betaversion: %{betaversion}}
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
%description appliance-vagrant
Bernhard M. Wiedemann ba321b
openSUSE Tumbleweed is the rolling distribution by the openSUSE.org project.
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
%files appliance-vagrant
Bernhard M. Wiedemann ba321b
%defattr(-,root,root)
Bernhard M. Wiedemann ba321b
%doc %{_defaultdocdir}/openSUSE-release-appliance-vagrant
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
%package appliance-wsl
Bernhard M. Wiedemann ba321b
License:        BSD-3-Clause
Bernhard M. Wiedemann ba321b
Group:          System/Fhs
Bernhard M. Wiedemann ba321b
Provides:       product_flavor()
Bernhard M. Wiedemann ba321b
Provides:       flavor(appliance-wsl)
Bernhard M. Wiedemann 7325e5
Provides:       product_flavor(openSUSE) = 20200717-0
Bernhard M. Wiedemann ba321b
Summary:        openSUSE Tumbleweed%{?betaversion: %{betaversion}}
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
%description appliance-wsl
Bernhard M. Wiedemann ba321b
openSUSE Tumbleweed is the rolling distribution by the openSUSE.org project.
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
%files appliance-wsl
Bernhard M. Wiedemann ba321b
%defattr(-,root,root)
Bernhard M. Wiedemann ba321b
%doc %{_defaultdocdir}/openSUSE-release-appliance-wsl
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
%package appliance-custom
Bernhard M. Wiedemann ba321b
License:        BSD-3-Clause
Bernhard M. Wiedemann ba321b
Group:          System/Fhs
Bernhard M. Wiedemann ba321b
Provides:       product_flavor()
Bernhard M. Wiedemann ba321b
Provides:       flavor(appliance-custom)
Bernhard M. Wiedemann 7325e5
Provides:       product_flavor(openSUSE) = 20200717-0
Bernhard M. Wiedemann ba321b
Summary:        openSUSE Tumbleweed%{?betaversion: %{betaversion}}
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
%description appliance-custom
Bernhard M. Wiedemann ba321b
openSUSE Tumbleweed is the rolling distribution by the openSUSE.org project.
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
%files appliance-custom
Bernhard M. Wiedemann ba321b
%defattr(-,root,root)
Bernhard M. Wiedemann ba321b
%doc %{_defaultdocdir}/openSUSE-release-appliance-custom
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
%prep
Bernhard M. Wiedemann ba321b
%setup -qcT
Bernhard M. Wiedemann ba321b
mkdir license
Bernhard M. Wiedemann ba321b
if [ -f /CD1/license.tar.gz ]; then
Bernhard M. Wiedemann ba321b
  tar -C license -xzf /CD1/license.tar.gz
Bernhard M. Wiedemann ba321b
elif [ -f %{_libexecdir}/skelcd/CD1/license.tar.gz ]; then
Bernhard M. Wiedemann ba321b
  tar -C license -xzf %{_libexecdir}/skelcd/CD1/license.tar.gz
Bernhard M. Wiedemann ba321b
fi
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
%build
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
%install
Bernhard M. Wiedemann ba321b
mkdir -p %{buildroot}%{_sysconfdir} %{buildroot}%{_libexecdir}/issue.d %{buildroot}/run
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
echo -e 'Welcome to %{product} %{codename} %{version}%{?betaversion: %{betaversion}} - Kernel \\r (\\l).\n' > %{buildroot}%{_libexecdir}/issue.d/10-openSUSE.conf
Bernhard M. Wiedemann ba321b
echo -e "\n" > %{buildroot}%{_libexecdir}/issue.d/90-openSUSE.conf
Bernhard M. Wiedemann ba321b
echo    'Welcome to %{product} %{codename} %{version}%{?betaversion: %{betaversion}} - Kernel %%r (%%t).' > %{buildroot}%{_sysconfdir}/issue.net
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
VERSION_ID=`echo %{version}|tr '[:upper:]' '[:lower:]'|sed -e 's/ //g;'`
Bernhard M. Wiedemann ba321b
# note: VERSION is an optional field and has no meaning other than informative on a rolling distro
Bernhard M. Wiedemann ba321b
# We do thus not add it to the os-release file
Bernhard M. Wiedemann ba321b
cat > %{buildroot}%{_libexecdir}/os-release <
Bernhard M. Wiedemann ba321b
NAME="openSUSE Tumbleweed"
Bernhard M. Wiedemann ba321b
# VERSION="%{version}%{?betaversion: %{betaversion}}"
Bernhard M. Wiedemann ba321b
ID="opensuse-tumbleweed"
Bernhard M. Wiedemann ba321b
ID_LIKE="opensuse suse"
Bernhard M. Wiedemann ba321b
VERSION_ID="$VERSION_ID"
Bernhard M. Wiedemann ba321b
PRETTY_NAME="openSUSE Tumbleweed"
Bernhard M. Wiedemann ba321b
ANSI_COLOR="0;32"
Bernhard M. Wiedemann ba321b
CPE_NAME="cpe:/o:opensuse:tumbleweed:%{version}"
Bernhard M. Wiedemann ba321b
BUG_REPORT_URL="https://bugs.opensuse.org"
Bernhard M. Wiedemann ba321b
HOME_URL="https://www.opensuse.org/"
Bernhard M. Wiedemann ba321b
LOGO="distributor-logo"
Bernhard M. Wiedemann ba321b
EOF
Bernhard M. Wiedemann ba321b
ln -s ..%{_libexecdir}/os-release %{buildroot}%{_sysconfdir}/os-release
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
echo "Have a lot of fun..." > %{buildroot}%{_sysconfdir}/motd
Bernhard M. Wiedemann ba321b
# Bug 404141 - /etc/YaST/control.xml should be owned by some package
Bernhard M. Wiedemann ba321b
mkdir -p %{buildroot}%{_sysconfdir}/YaST2/
Bernhard M. Wiedemann ba321b
echo %{buildroot}
Bernhard M. Wiedemann ba321b
if [ -f /CD1/control.xml ]; then
Bernhard M. Wiedemann ba321b
  install -m 644 /CD1/control.xml %{buildroot}%{_sysconfdir}/YaST2/
Bernhard M. Wiedemann ba321b
elif [ -f %{_libexecdir}/skelcd/CD1/control.xml ]; then
Bernhard M. Wiedemann ba321b
  install -m 644 %{_libexecdir}/skelcd/CD1/control.xml %{buildroot}%{_sysconfdir}/YaST2/
Bernhard M. Wiedemann ba321b
fi
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
# fate#319341, make openSUSE-release own YaST license files. TODO:
Bernhard M. Wiedemann ba321b
# get rid of /etc/YaST2/licenses
Bernhard M. Wiedemann ba321b
install -D -d -m 755 "%{buildroot}%_defaultlicensedir/product/base"
Bernhard M. Wiedemann ba321b
install -D -d -m 755 "%{buildroot}%_defaultlicensedir"
Bernhard M. Wiedemann ba321b
cp -a license "%{buildroot}%_defaultlicensedir/%name"
Bernhard M. Wiedemann ba321b
pushd license
Bernhard M. Wiedemann ba321b
for i in *; do
Bernhard M. Wiedemann ba321b
	ln -s "%_defaultlicensedir/%name/$i" %{buildroot}%_defaultlicensedir/product/base/$i
Bernhard M. Wiedemann ba321b
done
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
mkdir -p $RPM_BUILD_ROOT/etc/products.d
Bernhard M. Wiedemann ba321b
cat >$RPM_BUILD_ROOT/etc/products.d/openSUSE.prod << EOF
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
<product schemeversion="0">
Bernhard M. Wiedemann ba321b
  <vendor>openSUSE</vendor>
Bernhard M. Wiedemann ba321b
  <name>openSUSE</name>
Bernhard M. Wiedemann 7325e5
  <version>20200717</version>
Bernhard M. Wiedemann ba321b
  <release>0</release>
Bernhard M. Wiedemann ba321b
  <arch>%{_target_cpu}</arch>
Bernhard M. Wiedemann 7325e5
  <cpeid>cpe:/o:opensuse:opensuse:20200717</cpeid>
Bernhard M. Wiedemann ba321b
  <productline>openSUSE</productline>
Bernhard M. Wiedemann ba321b
  <register>
Bernhard M. Wiedemann ba321b
    <pool>
Bernhard M. Wiedemann ba321b
    </pool>
Bernhard M. Wiedemann ba321b
    <updates>
Bernhard M. Wiedemann ba321b
      <distrotarget arch="x86_64">openSUSE-Tumbleweed-x86_64</distrotarget>
Bernhard M. Wiedemann ba321b
      <distrotarget arch="s390x">openSUSE-Tumbleweed-s390x</distrotarget>
Bernhard M. Wiedemann ba321b
      <distrotarget arch="ppc64le">openSUSE-Tumbleweed-ppc64le</distrotarget>
Bernhard M. Wiedemann ba321b
      <distrotarget arch="aarch64">openSUSE-Tumbleweed-aarch64</distrotarget>
Bernhard M. Wiedemann ba321b
    </updates>
Bernhard M. Wiedemann ba321b
  </register>
Bernhard M. Wiedemann ba321b
  <repositories>
Bernhard M. Wiedemann ba321b
  </repositories>
Bernhard M. Wiedemann ba321b
  <updaterepokey>000000000</updaterepokey>
Bernhard M. Wiedemann ba321b
  <summary>openSUSE Tumbleweed</summary>
Bernhard M. Wiedemann ba321b
  <shortsummary>openSUSE</shortsummary>
Bernhard M. Wiedemann ba321b
  <description>openSUSE Tumbleweed is the rolling distribution by the openSUSE.org project.</description>
Bernhard M. Wiedemann ba321b
  <linguas>
Bernhard M. Wiedemann ba321b
    <language>cs</language>
Bernhard M. Wiedemann ba321b
    <language>da</language>
Bernhard M. Wiedemann ba321b
    <language>de</language>
Bernhard M. Wiedemann ba321b
    <language>el</language>
Bernhard M. Wiedemann ba321b
    <language>en</language>
Bernhard M. Wiedemann ba321b
    <language>en_GB</language>
Bernhard M. Wiedemann ba321b
    <language>en_US</language>
Bernhard M. Wiedemann ba321b
    <language>es</language>
Bernhard M. Wiedemann ba321b
    <language>fr</language>
Bernhard M. Wiedemann ba321b
    <language>hu</language>
Bernhard M. Wiedemann ba321b
    <language>it</language>
Bernhard M. Wiedemann ba321b
    <language>ja</language>
Bernhard M. Wiedemann ba321b
    <language>pl</language>
Bernhard M. Wiedemann ba321b
    <language>pt</language>
Bernhard M. Wiedemann ba321b
    <language>pt_BR</language>
Bernhard M. Wiedemann ba321b
    <language>ru</language>
Bernhard M. Wiedemann ba321b
    <language>zh</language>
Bernhard M. Wiedemann ba321b
    <language>zh_CN</language>
Bernhard M. Wiedemann ba321b
    <language>zh_TW</language>
Bernhard M. Wiedemann ba321b
  </linguas>
Bernhard M. Wiedemann ba321b
  <urls>
Bernhard M. Wiedemann ba321b
    <url name="releasenotes">http://doc.opensuse.org/release-notes/x86_64/openSUSE/Tumbleweed/release-notes-openSUSE.rpm</url>
Bernhard M. Wiedemann ba321b
    <url name="repository">http://download.opensuse.org/tumbleweed/repo/oss/</url>
Bernhard M. Wiedemann ba321b
  </urls>
Bernhard M. Wiedemann ba321b
  <buildconfig>
Bernhard M. Wiedemann ba321b
    <producttheme>openSUSE</producttheme>
Bernhard M. Wiedemann ba321b
    <create_flavors>true</create_flavors>
Bernhard M. Wiedemann ba321b
  </buildconfig>
Bernhard M. Wiedemann ba321b
  <installconfig>
Bernhard M. Wiedemann ba321b
    <defaultlang>en_US</defaultlang>
Bernhard M. Wiedemann ba321b
    <releasepackage name="openSUSE-release" flag="EQ" version="%{version}" release="%{release}"/>
Bernhard M. Wiedemann ba321b
    <distribution>openSUSE</distribution>
Bernhard M. Wiedemann ba321b
  </installconfig>
Bernhard M. Wiedemann ba321b
  <runtimeconfig/>
Bernhard M. Wiedemann ba321b
</product>
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
EOF
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
mkdir -p $RPM_BUILD_ROOT/%{_defaultdocdir}/openSUSE-release-ftp
Bernhard M. Wiedemann ba321b
cat >$RPM_BUILD_ROOT/%{_defaultdocdir}/openSUSE-release-ftp/README << EOF
Bernhard M. Wiedemann ba321b
This package only exists for providing the product flavor 'ftp'.
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
EOF
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
mkdir -p $RPM_BUILD_ROOT/%{_defaultdocdir}/openSUSE-release-mini
Bernhard M. Wiedemann ba321b
cat >$RPM_BUILD_ROOT/%{_defaultdocdir}/openSUSE-release-mini/README << EOF
Bernhard M. Wiedemann ba321b
This package only exists for providing the product flavor 'mini'.
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
EOF
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
mkdir -p $RPM_BUILD_ROOT/%{_defaultdocdir}/openSUSE-release-dvd
Bernhard M. Wiedemann ba321b
cat >$RPM_BUILD_ROOT/%{_defaultdocdir}/openSUSE-release-dvd/README << EOF
Bernhard M. Wiedemann ba321b
This package only exists for providing the product flavor 'dvd'.
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
EOF
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
mkdir -p $RPM_BUILD_ROOT/%{_defaultdocdir}/openSUSE-release-livecd-kde
Bernhard M. Wiedemann ba321b
cat >$RPM_BUILD_ROOT/%{_defaultdocdir}/openSUSE-release-livecd-kde/README << EOF
Bernhard M. Wiedemann ba321b
This package only exists for providing the product flavor 'livecd-kde'.
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
EOF
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
mkdir -p $RPM_BUILD_ROOT/%{_defaultdocdir}/openSUSE-release-livecd-x11
Bernhard M. Wiedemann ba321b
cat >$RPM_BUILD_ROOT/%{_defaultdocdir}/openSUSE-release-livecd-x11/README << EOF
Bernhard M. Wiedemann ba321b
This package only exists for providing the product flavor 'livecd-x11'.
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
EOF
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
mkdir -p $RPM_BUILD_ROOT/%{_defaultdocdir}/openSUSE-release-livecd-gnome
Bernhard M. Wiedemann ba321b
cat >$RPM_BUILD_ROOT/%{_defaultdocdir}/openSUSE-release-livecd-gnome/README << EOF
Bernhard M. Wiedemann ba321b
This package only exists for providing the product flavor 'livecd-gnome'.
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
EOF
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
mkdir -p $RPM_BUILD_ROOT/%{_defaultdocdir}/openSUSE-release-livecd-xfce
Bernhard M. Wiedemann ba321b
cat >$RPM_BUILD_ROOT/%{_defaultdocdir}/openSUSE-release-livecd-xfce/README << EOF
Bernhard M. Wiedemann ba321b
This package only exists for providing the product flavor 'livecd-xfce'.
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
EOF
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
mkdir -p $RPM_BUILD_ROOT/%{_defaultdocdir}/openSUSE-release-usb-kde
Bernhard M. Wiedemann ba321b
cat >$RPM_BUILD_ROOT/%{_defaultdocdir}/openSUSE-release-usb-kde/README << EOF
Bernhard M. Wiedemann ba321b
This package only exists for providing the product flavor 'usb-kde'.
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
EOF
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
mkdir -p $RPM_BUILD_ROOT/%{_defaultdocdir}/openSUSE-release-usb-gnome
Bernhard M. Wiedemann ba321b
cat >$RPM_BUILD_ROOT/%{_defaultdocdir}/openSUSE-release-usb-gnome/README << EOF
Bernhard M. Wiedemann ba321b
This package only exists for providing the product flavor 'usb-gnome'.
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
EOF
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
mkdir -p $RPM_BUILD_ROOT/%{_defaultdocdir}/openSUSE-release-usb-x11
Bernhard M. Wiedemann ba321b
cat >$RPM_BUILD_ROOT/%{_defaultdocdir}/openSUSE-release-usb-x11/README << EOF
Bernhard M. Wiedemann ba321b
This package only exists for providing the product flavor 'usb-x11'.
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
EOF
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
mkdir -p $RPM_BUILD_ROOT/%{_defaultdocdir}/openSUSE-release-appliance
Bernhard M. Wiedemann ba321b
cat >$RPM_BUILD_ROOT/%{_defaultdocdir}/openSUSE-release-appliance/README << EOF
Bernhard M. Wiedemann ba321b
This package only exists for providing the product flavor 'appliance'.
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
EOF
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
mkdir -p $RPM_BUILD_ROOT/%{_defaultdocdir}/openSUSE-release-appliance-docker
Bernhard M. Wiedemann ba321b
cat >$RPM_BUILD_ROOT/%{_defaultdocdir}/openSUSE-release-appliance-docker/README << EOF
Bernhard M. Wiedemann ba321b
This package only exists for providing the product flavor 'appliance-docker'.
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
EOF
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
mkdir -p $RPM_BUILD_ROOT/%{_defaultdocdir}/openSUSE-release-appliance-kvm
Bernhard M. Wiedemann ba321b
cat >$RPM_BUILD_ROOT/%{_defaultdocdir}/openSUSE-release-appliance-kvm/README << EOF
Bernhard M. Wiedemann ba321b
This package only exists for providing the product flavor 'appliance-kvm'.
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
EOF
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
mkdir -p $RPM_BUILD_ROOT/%{_defaultdocdir}/openSUSE-release-appliance-vmware
Bernhard M. Wiedemann ba321b
cat >$RPM_BUILD_ROOT/%{_defaultdocdir}/openSUSE-release-appliance-vmware/README << EOF
Bernhard M. Wiedemann ba321b
This package only exists for providing the product flavor 'appliance-vmware'.
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
EOF
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
mkdir -p $RPM_BUILD_ROOT/%{_defaultdocdir}/openSUSE-release-appliance-openstack
Bernhard M. Wiedemann ba321b
cat >$RPM_BUILD_ROOT/%{_defaultdocdir}/openSUSE-release-appliance-openstack/README << EOF
Bernhard M. Wiedemann ba321b
This package only exists for providing the product flavor 'appliance-openstack'.
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
EOF
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
mkdir -p $RPM_BUILD_ROOT/%{_defaultdocdir}/openSUSE-release-appliance-hyperv
Bernhard M. Wiedemann ba321b
cat >$RPM_BUILD_ROOT/%{_defaultdocdir}/openSUSE-release-appliance-hyperv/README << EOF
Bernhard M. Wiedemann ba321b
This package only exists for providing the product flavor 'appliance-hyperv'.
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
EOF
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
mkdir -p $RPM_BUILD_ROOT/%{_defaultdocdir}/openSUSE-release-appliance-vagrant
Bernhard M. Wiedemann ba321b
cat >$RPM_BUILD_ROOT/%{_defaultdocdir}/openSUSE-release-appliance-vagrant/README << EOF
Bernhard M. Wiedemann ba321b
This package only exists for providing the product flavor 'appliance-vagrant'.
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
EOF
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
mkdir -p $RPM_BUILD_ROOT/%{_defaultdocdir}/openSUSE-release-appliance-wsl
Bernhard M. Wiedemann ba321b
cat >$RPM_BUILD_ROOT/%{_defaultdocdir}/openSUSE-release-appliance-wsl/README << EOF
Bernhard M. Wiedemann ba321b
This package only exists for providing the product flavor 'appliance-wsl'.
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
EOF
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
mkdir -p $RPM_BUILD_ROOT/%{_defaultdocdir}/openSUSE-release-appliance-custom
Bernhard M. Wiedemann ba321b
cat >$RPM_BUILD_ROOT/%{_defaultdocdir}/openSUSE-release-appliance-custom/README << EOF
Bernhard M. Wiedemann ba321b
This package only exists for providing the product flavor 'appliance-custom'.
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
EOF
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
# this is a base product, create symlink
Bernhard M. Wiedemann ba321b
ln -s openSUSE.prod %{buildroot}%{_sysconfdir}/products.d/baseproduct
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
%posttrans
Bernhard M. Wiedemann ba321b
# Launch the issue-generator: we have a new config file in /usr/lib/issue.d that needs to be represented
Bernhard M. Wiedemann ba321b
if [ -x %{_sbindir}/issue-generator ]; then
Bernhard M. Wiedemann ba321b
    if [ -x %{_bindir}/systemd-tmpfiles ]; then
Bernhard M. Wiedemann ba321b
      %{_bindir}/systemd-tmpfiles --create issue-generator.conf || :
Bernhard M. Wiedemann ba321b
    fi
Bernhard M. Wiedemann ba321b
    %{_sbindir}/issue-generator || :
Bernhard M. Wiedemann ba321b
fi
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
%files
Bernhard M. Wiedemann ba321b
%defattr(644,root,root,755)
Bernhard M. Wiedemann ba321b
%dir %_defaultlicensedir/product
Bernhard M. Wiedemann ba321b
%_defaultlicensedir/product/base
Bernhard M. Wiedemann ba321b
%license license/*
Bernhard M. Wiedemann ba321b
%{_sysconfdir}/os-release
Bernhard M. Wiedemann ba321b
%{_libexecdir}/os-release
Bernhard M. Wiedemann ba321b
# Bug 404141 - /etc/YaST/control.xml should be owned by some package
Bernhard M. Wiedemann ba321b
%dir %{_sysconfdir}/YaST2/
Bernhard M. Wiedemann ba321b
%config %{_sysconfdir}/YaST2/control.xml
Bernhard M. Wiedemann ba321b
%config(noreplace) %{_sysconfdir}/motd
Bernhard M. Wiedemann ba321b
%dir %{_libexecdir}/issue.d/
Bernhard M. Wiedemann ba321b
%{_libexecdir}/issue.d/10-openSUSE.conf
Bernhard M. Wiedemann ba321b
%{_libexecdir}/issue.d/90-openSUSE.conf
Bernhard M. Wiedemann ba321b
%config(noreplace) %{_sysconfdir}/issue.net
Bernhard M. Wiedemann ba321b
%{_sysconfdir}/products.d
Bernhard M. Wiedemann ba321b
Bernhard M. Wiedemann ba321b
%changelog