Blame Aeon-release.spec

67af41
#
67af41
# spec file for package openSUSE-Aeon-release.spec
67af41
#
67af41
# Copyright (c) 2020 SUSE LLC
67af41
#
67af41
# All modifications and additions to the file contributed by third parties
67af41
# remain the property of their copyright owners, unless otherwise agreed
67af41
# upon. The license for this file, and modifications and additions to the
67af41
# file, is the same license as for the pristine package itself (unless the
67af41
# license for the pristine package is not an Open Source License, in which
67af41
# case the license is the MIT License). An "Open Source License" is a
67af41
# license that conforms to the Open Source Definition (Version 1.9)
67af41
# published by the Open Source Initiative.
67af41
67af41
# Please submit bugfixes or comments via https://bugs.opensuse.org/
67af41
#
67af41
67af41
67af41
Name:           Aeon-release
0c8f92
Version:        20240223
67af41
Release:        0
67af41
Summary:        openSUSE Aeon 
67af41
License:        GPL-2.0-or-later
67af41
Group:          System/Fhs
67af41
Source100:      weakremovers.inc
67af41
BuildRequires:  skelcd-openSUSE
67af41
# Make sure we are at SLES12 SP2 level
67af41
PreReq:         glibc >= 2.19
67af41
# in rare cases, 'ln' is not found...
67af41
Requires(post): coreutils
67af41
Suggests:       branding-openSUSE
67af41
Suggests:       distribution-logos-openSUSE-Aeon
67af41
Suggests:       openSUSE-build-key
67af41
Suggests:       openSUSE-repos-Aeon
67af41
Conflicts:      distribution-release
67af41
Conflicts:      kernel < 4.4
67af41
Provides:       distribution-release
67af41
# Aeon is a SUSE Linux type distribution
67af41
Provides:       suse-release = %{version}-%{release}
67af41
Provides:       suse-release-oss = %{version}-%{release}
67af41
# Give zypp a hint that this product must be kept up-to-date using zypper dup, not up (boo#1061384)
67af41
Provides:       product-update() = dup
67af41
# With more than one product in the FTP tree, yast needs to know which products are installable
67af41
# The name is referenced by the control file as well
67af41
Provides:       system-installation() = Aeon
67af41
# bnc#826592
67af41
Provides:       weakremover(kernel-default) < 3.11
67af41
Provides:       weakremover(kernel-desktop) < 4.2
67af41
Provides:       weakremover(kernel-ec2) < 3.11
67af41
Provides:       weakremover(kernel-pae) < 3.11
67af41
Provides:       weakremover(kernel-vanilla) < 3.11
67af41
Provides:       weakremover(kernel-xen) < 3.11
67af41
# migrated from MANUAL_OBSOLETES/packages
67af41
Provides:       weakremover(boost-license1_56_0)
67af41
Provides:       weakremover(boost-license1_59_0)
67af41
Provides:       weakremover(gpg-pubkey-3d25d3d9-36e12d04)
67af41
Provides:       weakremover(lib++dfb-1_7-6)
67af41
Provides:       weakremover(libastro-qt5-1)
67af41
Provides:       weakremover(libboost_atomic1_59_0)
67af41
Provides:       weakremover(libboost_atomic1_60_0)
67af41
Provides:       weakremover(libboost_atomic1_62_0)
67af41
Provides:       weakremover(libboost_atomic1_63_0)
67af41
Provides:       weakremover(libboost_chrono1_59_0)
67af41
Provides:       weakremover(libboost_chrono1_60_0)
67af41
Provides:       weakremover(libboost_chrono1_62_0)
67af41
Provides:       weakremover(libboost_chrono1_63_0)
67af41
Provides:       weakremover(libboost_container1_59_0)
67af41
Provides:       weakremover(libboost_container1_60_0)
67af41
Provides:       weakremover(libboost_container1_62_0)
67af41
Provides:       weakremover(libboost_container1_63_0)
67af41
Provides:       weakremover(libboost_context1_59_0)
67af41
Provides:       weakremover(libboost_context1_60_0)
67af41
Provides:       weakremover(libboost_context1_62_0)
67af41
Provides:       weakremover(libboost_context1_63_0)
67af41
Provides:       weakremover(libboost_coroutine1_59_0)
67af41
Provides:       weakremover(libboost_coroutine1_60_0)
67af41
Provides:       weakremover(libboost_coroutine1_62_0)
67af41
Provides:       weakremover(libboost_coroutine1_63_0)
67af41
Provides:       weakremover(libboost_date_time1_59_0)
67af41
Provides:       weakremover(libboost_date_time1_60_0)
67af41
Provides:       weakremover(libboost_date_time1_62_0)
67af41
Provides:       weakremover(libboost_date_time1_63_0)
67af41
Provides:       weakremover(libboost_filesystem1_59_0)
67af41
Provides:       weakremover(libboost_filesystem1_60_0)
67af41
Provides:       weakremover(libboost_filesystem1_62_0)
67af41
Provides:       weakremover(libboost_filesystem1_63_0)
67af41
Provides:       weakremover(libboost_graph1_59_0)
67af41
Provides:       weakremover(libboost_graph1_60_0)
67af41
Provides:       weakremover(libboost_graph1_62_0)
67af41
Provides:       weakremover(libboost_graph1_63_0)
67af41
Provides:       weakremover(libboost_iostreams1_59_0)
67af41
Provides:       weakremover(libboost_locale1_59_0)
67af41
Provides:       weakremover(libboost_log1_59_0)
67af41
Provides:       weakremover(libboost_log1_60_0)
67af41
Provides:       weakremover(libboost_log1_62_0)
67af41
Provides:       weakremover(libboost_log1_63_0)
67af41
Provides:       weakremover(libboost_math1_59_0)
67af41
Provides:       weakremover(libboost_program_options1_59_0)
67af41
Provides:       weakremover(libboost_python1_59_0)
67af41
Provides:       weakremover(libboost_random1_59_0)
67af41
Provides:       weakremover(libboost_regex1_59_0)
67af41
Provides:       weakremover(libboost_regex1_60_0)
67af41
Provides:       weakremover(libboost_regex1_62_0)
67af41
Provides:       weakremover(libboost_regex1_63_0)
67af41
Provides:       weakremover(libboost_serialization1_59_0)
67af41
Provides:       weakremover(libboost_signals1_59_0)
67af41
Provides:       weakremover(libboost_system1_56_0)
67af41
Provides:       weakremover(libboost_system1_59_0)
67af41
Provides:       weakremover(libboost_test1_59_0)
67af41
Provides:       weakremover(libboost_thread1_56_0)
67af41
Provides:       weakremover(libboost_thread1_59_0)
67af41
Provides:       weakremover(libboost_timer1_59_0)
67af41
Provides:       weakremover(libboost_wave1_59_0)
67af41
Provides:       weakremover(libcamel-1_2-54)
67af41
Provides:       weakremover(libdialog12)
67af41
Provides:       weakremover(libdirectfb-1_7-6)
67af41
Provides:       weakremover(libdns146)
67af41
Provides:       weakremover(libdns160)
67af41
Provides:       weakremover(libdns161)
67af41
Provides:       weakremover(libgdict-1_0-9)
67af41
Provides:       weakremover(libgit2-23)
67af41
Provides:       weakremover(libgpaste4)
67af41
Provides:       weakremover(libhdf5-11)
67af41
Provides:       weakremover(libhdf5_hl11)
67af41
Provides:       weakremover(libicu54_1)
67af41
Provides:       weakremover(libicu54_1-ledata)
67af41
Provides:       weakremover(libicu55_1)
67af41
Provides:       weakremover(libicu55_1-ledata)
67af41
Provides:       weakremover(libicu56_1)
67af41
Provides:       weakremover(libicu56_1-ledata)
67af41
Provides:       weakremover(libimobiledevice5)
67af41
Provides:       weakremover(libisc142)
67af41
Provides:       weakremover(libisc148)
67af41
Provides:       weakremover(libisl13)
67af41
Provides:       weakremover(libixion-0_10-0)
67af41
Provides:       weakremover(liblmdb-0_9_16)
67af41
Provides:       weakremover(libmicrohttpd11)
67af41
Provides:       weakremover(libminiupnpc15)
67af41
Provides:       weakremover(libnis1)
67af41
Provides:       weakremover(libntfs-3g86)
67af41
Provides:       weakremover(liborcus-0_10-0)
67af41
Provides:       weakremover(libpoppler47)
67af41
Provides:       weakremover(libpoppler48)
67af41
Provides:       weakremover(libpoppler49)
67af41
Provides:       weakremover(libpoppler50)
67af41
Provides:       weakremover(libpoppler51)
67af41
Provides:       weakremover(libpoppler52)
67af41
Provides:       weakremover(libpoppler53)
67af41
Provides:       weakremover(libpoppler54)
67af41
Provides:       weakremover(libpoppler55)
67af41
Provides:       weakremover(libpoppler56)
67af41
Provides:       weakremover(libpoppler57)
67af41
Provides:       weakremover(libpoppler58)
67af41
Provides:       weakremover(libpoppler59)
67af41
Provides:       weakremover(libpoppler61)
67af41
Provides:       weakremover(libpoppler62)
67af41
Provides:       weakremover(libpoppler63)
67af41
Provides:       weakremover(libpoppler64)
67af41
Provides:       weakremover(libpoppler65)
67af41
Provides:       weakremover(libprocps4)
67af41
Provides:       weakremover(libprocps5)
67af41
Provides:       weakremover(libpsl0)
67af41
Provides:       weakremover(libsgutils2-1_40-2)
67af41
Provides:       weakremover(libsgutils2-1_41-2)
67af41
Provides:       weakremover(libvpx2)
67af41
Provides:       weakremover(libxtables11)
67af41
Provides:       weakremover(libzip4)
67af41
Provides:       weakremover(mt_st)
67af41
Provides:       weakremover(openssl-debuginfo)
67af41
# this package should only be available for the "basearchs" of a product
67af41
ExclusiveArch:  %ix86 x86_64 ppc64le s390x aarch64 %arm
67af41
%include %{SOURCE100}
67af41
Provides:       %name-%version
67af41
Provides:       product() = Aeon
0c8f92
Provides:       product(Aeon) = 20240223-0
67af41
Provides:       product-label() = openSUSE%20Aeon
0c8f92
Provides:       product-cpeid() = cpe%3A%2Fo%3Aopensuse%3Aaeon%3A20240223
67af41
Provides:       product-url(releasenotes) = http%3A%2F%2Fdoc.opensuse.org%2Frelease%2Dnotes%2Fx86_64%2FopenSUSE%2FTumbleweed%2Frelease%2Dnotes%2DopenSUSE.rpm
67af41
Provides:       product-endoflife()
67af41
Requires:       product_flavor(Aeon)
67af41
67af41
67af41
67af41
%description
67af41
openSUSE Aeon bundles the benefits of a rolling OS and a read-only root filesystem in a polished Desktop platform. It is a modern Linux Operating System, designed for minimal maintenance and tinkering.
67af41
        It inherits the benefits of openSUSE Tumbleweed while redefining the operating system into a small, efficient and opinionated desktop.
67af41
67af41
%package -n Aeon-release-appliance
67af41
License:        BSD-3-Clause
67af41
Group:          System/Fhs
67af41
Provides:       product_flavor()
67af41
Provides:       flavor(appliance)
0c8f92
Provides:       product_flavor(Aeon) = 20240223-0
67af41
Summary:        openSUSE Aeon%{?betaversion: %{betaversion}}
67af41
67af41
%description appliance
67af41
openSUSE Aeon bundles the benefits of a rolling OS and a read-only root filesystem in a polished Desktop platform. It is a modern Linux Operating System, designed for minimal maintenance and tinkering.
67af41
        It inherits the benefits of openSUSE Tumbleweed while redefining the operating system into a small, efficient and opinionated desktop.
67af41
67af41
%files appliance
67af41
%defattr(-,root,root)
67af41
%doc %{_defaultdocdir}/Aeon-release-appliance
67af41
67af41
67af41
67af41
%prep
67af41
%setup -qcT
67af41
mkdir license
67af41
if [ -f /CD1/license.tar.gz ]; then
67af41
  tar -C license -xzf /CD1/license.tar.gz
67af41
elif [ -f %{_prefix}/lib/skelcd/CD1/license.tar.gz ]; then
67af41
  tar -C license -xzf %{_prefix}/lib/skelcd/CD1/license.tar.gz
67af41
fi
67af41
67af41
%build
67af41
67af41
%install
67af41
mkdir -p %{buildroot}%{_sysconfdir} %{buildroot}%{_prefix}/lib/issue.d %{buildroot}/run
67af41
67af41
echo -e "\nWelcome to openSUSE Aeon (%{_target_cpu}) - Kernel \\\r (\\\l).\n" > %{buildroot}%{_prefix}/lib/issue.d/10-OS
67af41
echo -e "\n" > %{buildroot}%{_prefix}/lib/issue.d/90-OS
67af41
67af41
VERSION_ID=`echo %{version}|tr '[:upper:]' '[:lower:]'|sed -e 's/ //g;'`
67af41
# note: VERSION is an optional field and has no meaning other than informative on a rolling distro
67af41
# We do thus not add it to the os-release file
67af41
cat > %{buildroot}%{_prefix}/lib/os-release <
67af41
NAME="openSUSE Aeon"
67af41
# VERSION="%{version}%{?betaversion: %{betaversion}}"
67af41
ID="opensuse-aeon"
67af41
ID_LIKE="suse opensuse opensuse-tumbleweed opensuse-microos"
67af41
VERSION_ID="$VERSION_ID"
67af41
PRETTY_NAME="openSUSE Aeon"
67af41
ANSI_COLOR="0;32"
67af41
CPE_NAME="cpe:/o:opensuse:aeon:%{version}"
67af41
BUG_REPORT_URL="https://bugzilla.opensuse.org"
67af41
SUPPORT_URL="https://bugs.opensuse.org"
67af41
HOME_URL="https://www.aeondesktop.org/"
67af41
DOCUMENTATION_URL="https://en.opensuse.org/Portal:Aeon"
67af41
LOGO="distributor-logo-Aeon"
67af41
EOF
67af41
ln -s ..%{_prefix}/lib/os-release %{buildroot}%{_sysconfdir}/os-release
67af41
67af41
# Put EULA into correct place
67af41
install -D -d -m 755 "%{buildroot}%_defaultlicensedir/product/base"
67af41
install -D -d -m 755 "%{buildroot}%_defaultlicensedir"
67af41
cp -a license "%{buildroot}%_defaultlicensedir/%name"
67af41
pushd license
67af41
for i in *; do
67af41
	ln -s "%_defaultlicensedir/%name/$i" %{buildroot}%_defaultlicensedir/product/base/$i
67af41
done
67af41
67af41
mkdir -p %{buildroot}%{_sysconfdir}/products.d
67af41
cat >%{buildroot}%{_sysconfdir}/products.d/Aeon.prod << EOF
67af41
67af41
<product schemeversion="0">
67af41
  <vendor>openSUSE</vendor>
67af41
  <name>Aeon</name>
0c8f92
  <version>20240223</version>
67af41
  <release>0</release>
67af41
  <endoflife></endoflife>
67af41
  <arch>%{_target_cpu}</arch>
0c8f92
  <cpeid>cpe:/o:opensuse:aeon:20240223</cpeid>
67af41
  <productline>Aeon</productline>
67af41
  <register>
67af41
    <pool>
67af41
    </pool>
67af41
    <updates>
67af41
    </updates>
67af41
  </register>
67af41
  <repositories>
67af41
  </repositories>
67af41
  <summary>openSUSE Aeon</summary>
67af41
  <shortsummary>openSUSE Aeon</shortsummary>
67af41
  <description>openSUSE Aeon bundles the benefits of a rolling OS and a read-only root filesystem in a polished Desktop platform. It is a modern Linux Operating System, designed for minimal maintenance and tinkering.
67af41
        It inherits the benefits of openSUSE Tumbleweed while redefining the operating system into a small, efficient and opinionated desktop.</description>
67af41
  <linguas>
67af41
    <language>en_US</language>
67af41
  </linguas>
67af41
  <urls>
67af41
    <url name="releasenotes">http://doc.opensuse.org/release-notes/x86_64/openSUSE/Tumbleweed/release-notes-openSUSE.rpm</url>
67af41
  </urls>
67af41
  <buildconfig>
67af41
    <producttheme>Aeon</producttheme>
67af41
    <create_flavors>true</create_flavors>
67af41
  </buildconfig>
67af41
  <installconfig>
67af41
    <defaultlang>en_US</defaultlang>
67af41
    <datadir>suse</datadir>
67af41
    <descriptiondir>suse/setup/descr</descriptiondir>
67af41
    <default_obs_repository_name>openSUSE_Tumbleweed</default_obs_repository_name>
67af41
    <default_obs_download_url>%{_download_url}</default_obs_download_url>
67af41
    <releasepackage name="%{name}" flag="EQ" version="%{version}" release="%{release}"/>
67af41
    <distribution>openSUSE</distribution>
67af41
  </installconfig>
67af41
  <runtimeconfig/>
67af41
</product>
67af41
67af41
EOF
67af41
67af41
mkdir -p %{buildroot}%{_defaultdocdir}/Aeon-release-appliance
67af41
cat >%{buildroot}%{_defaultdocdir}/Aeon-release-appliance/README << EOF
67af41
This package only exists for providing the product flavor 'appliance'.
67af41
67af41
EOF
67af41
67af41
67af41
67af41
%post
67af41
67af41
%files
67af41
%defattr(644,root,root,755)
67af41
%dir %_defaultlicensedir/product
67af41
%_defaultlicensedir/product/base
67af41
%license license/*
67af41
%{_sysconfdir}/os-release
67af41
%{_prefix}/lib/os-release
67af41
%dir %{_sysconfdir}/products.d
67af41
%{_sysconfdir}/products.d/*
67af41
%dir %{_prefix}/lib/issue.d
67af41
%{_prefix}/lib/issue.d/*-OS
67af41
67af41
%changelog
c28fe5
* Mon Feb 19 2024 Dominique Leuenberger <dimstar@opensuse.org>
c28fe5
- No information provided here - we needed a dated entry for
c28fe5
  RPM/reproducible builds