Added more separete packages (Cinnamon, KDE, XFCE)

i9-beta
Arkady L. Shane 1 year ago
parent 2af2b96f33
commit e2d46709d0
Signed by: tigro
GPG Key ID: 9C7900103E1C4F8B

@ -1,12 +1,12 @@
%global distro MSVSphere
# define MSVSphere products
%global release_name Server ARM
%global release_name Server ARM Cinnamon KDE XFCE
%global major 9
%global minor 2
Name: sphere-release
Version: %{major}.%{minor}
Release: 1.4%{?dist}
Release: 1.5%{?dist}
Summary: %{distro} release files
License: GPLv2
URL: https://msvsphere.ru
@ -151,6 +151,114 @@ Requires(meta): sphere-release-arm = %{version}-%{release}
Provides the necessary files for a MSVSphere installation that is identifying
itself as MSVSphere ARM Edition.
%package cinnamon
Summary: Base package for MSVSphere Cinnamon-specific default configurations
RemovePathPostfixes: .Cinnamon
Provides: sphere-release = %{version}-%{release}
Provides: sphere-release-variant = %{version}-%{release}
Provides: system-release
Provides: system-release(%{version})
Provides: base-module(platform:f%{version})
Requires: sphere-release-common = %{version}-%{release}
Provides: system-release-product
# sphere-release-common Requires: sphere-release-identity, so at least one
# package must provide it. This Recommends: pulls in
# sphere-release-identity-cinnamon if nothing else is already doing so.
Recommends: sphere-release-identity-cinnamon
%description cinnamon
Provides a base package for MSVSphere Cinnamon-specific configuration files to
depend on.
%package identity-cinnamon
Summary: Package providing the identity for MSVSPhere ARM Edition
RemovePathPostfixes: .Cinnamon
Provides: sphere-release-identity = %{version}-%{release}
Conflicts: sphere-release-identity
Requires(meta): sphere-release-cinnamon = %{version}-%{release}
%description identity-cinnamon
Provides the necessary files for a MSVSphere installation that is identifying
itself as MSVSphere Cinnamon Edition.
%package kde
Summary: Base package for MSVSphere KDE-specific default configurations
RemovePathPostfixes: .KDE
Provides: sphere-release = %{version}-%{release}
Provides: sphere-release-variant = %{version}-%{release}
Provides: system-release
Provides: system-release(%{version})
Provides: base-module(platform:f%{version})
Requires: sphere-release-common = %{version}-%{release}
Provides: system-release-product
# sphere-release-common Requires: sphere-release-identity, so at least one
# package must provide it. This Recommends: pulls in
# sphere-release-identity-kde if nothing else is already doing so.
Recommends: sphere-release-identity-kde
%description kde
Provides a base package for MSVSphere KDE-specific configuration files to
depend on.
%package identity-kde
Summary: Package providing the identity for MSVSPhere ARM Edition
RemovePathPostfixes: .KDE
Provides: sphere-release-identity = %{version}-%{release}
Conflicts: sphere-release-identity
Requires(meta): sphere-release-kde = %{version}-%{release}
%description identity-kde
Provides the necessary files for a MSVSphere installation that is identifying
itself as MSVSphere KDE Edition.
%package xfce
Summary: Base package for MSVSphere XFCE-specific default configurations
RemovePathPostfixes: .XFCE
Provides: sphere-release = %{version}-%{release}
Provides: sphere-release-variant = %{version}-%{release}
Provides: system-release
Provides: system-release(%{version})
Provides: base-module(platform:f%{version})
Requires: sphere-release-common = %{version}-%{release}
Provides: system-release-product
# sphere-release-common Requires: sphere-release-identity, so at least one
# package must provide it. This Recommends: pulls in
# sphere-release-identity-xfce if nothing else is already doing so.
Recommends: sphere-release-identity-xfce
%description xfce
Provides a base package for MSVSphere XFCE-specific configuration files to
depend on.
%package identity-xfce
Summary: Package providing the identity for MSVSPhere ARM Edition
RemovePathPostfixes: .XFCE
Provides: sphere-release-identity = %{version}-%{release}
Conflicts: sphere-release-identity
Requires(meta): sphere-release-xfce = %{version}-%{release}
%description identity-xfce
Provides the necessary files for a MSVSphere installation that is identifying
itself as MSVSphere XFCE Edition.
%package -n sphere-sb-certs
Summary: %{distro} public secureboot certificates
Group: System Environment/Base
@ -345,6 +453,21 @@ install -p -m 0644 %{SOURCE100} %{buildroot}%{_sysconfdir}/pki/rpm-gpg/
%{_prefix}/lib/os-release.ARM
%{_prefix}/lib/sphere-release.ARM
%files cinnamon
%files identity-cinnamon
%{_prefix}/lib/os-release.Cinnamon
%{_prefix}/lib/sphere-release.Cinnamon
%files kde
%files identity-kde
%{_prefix}/lib/os-release.KDE
%{_prefix}/lib/sphere-release.KDE
%files xfce
%files identity-xfce
%{_prefix}/lib/os-release.XFCE
%{_prefix}/lib/sphere-release.XFCE
%files -n sphere-sb-certs
# Note to future packagers:
# resetting the symlinks in /etc/pki/sb-certs on upgrade is the intended behavior here
@ -372,6 +495,10 @@ install -p -m 0644 %{SOURCE100} %{buildroot}%{_sysconfdir}/pki/rpm-gpg/
%changelog
* Mon Aug 21 2023 Arkady L. Shane <ashejn@msvsphere.ru> - 9.2-1.5
- Added more separete packages (Cinnamon, KDE, XFCE)
- Update EULA
* Sun Jul 30 2023 Arkady L. Shane <ashejn@msvsphere.ru> - 9.2-1.4
- Create separate packages for Server and ARM

Loading…
Cancel
Save