|
|
|
@ -2,12 +2,11 @@
|
|
|
|
|
# define MSVSphere products
|
|
|
|
|
%global release_name Certified Server ARM Cinnamon KDE XFCE
|
|
|
|
|
%global major 9
|
|
|
|
|
%global minor 5
|
|
|
|
|
%global eol_date 2032-06-01
|
|
|
|
|
%global minor 4
|
|
|
|
|
|
|
|
|
|
Name: sphere-release
|
|
|
|
|
Version: %{major}.%{minor}
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Release: 2%{?dist}.100.certified
|
|
|
|
|
Summary: %{distro} release files
|
|
|
|
|
License: GPLv2
|
|
|
|
|
URL: https://msvsphere-os.ru
|
|
|
|
@ -375,23 +374,6 @@ else
|
|
|
|
|
ru_variant=$variant
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
# -------------------------------------------------------------------------
|
|
|
|
|
# Definitions for /etc/os-release and for macros in macros.dist. These
|
|
|
|
|
# macros are useful for spec files where distribution-specific identifiers
|
|
|
|
|
# are used to customize packages.
|
|
|
|
|
|
|
|
|
|
# Name of vendor / name of distribution. Typically used to identify where
|
|
|
|
|
# the binary comes from in --help or --version messages of programs.
|
|
|
|
|
# Examples: gdb.spec, clang.spec
|
|
|
|
|
|
|
|
|
|
# URL of the homepage of the distribution
|
|
|
|
|
# Example: gstreamer1-plugins-base.spec
|
|
|
|
|
%global dist_home_url https://msvsphere-os.ru/
|
|
|
|
|
|
|
|
|
|
# Bugzilla / bug reporting URLs shown to users.
|
|
|
|
|
# Examples: gcc.spec
|
|
|
|
|
%global dist_bug_report_url https://bugs.msvsphere-os.ru/
|
|
|
|
|
|
|
|
|
|
cat > %{buildroot}%{_prefix}/lib/os-release.$variant << EOF
|
|
|
|
|
NAME="%{distro}"
|
|
|
|
|
VERSION="%{major}.%{minor}%{?beta: %{beta}} (${variant})"
|
|
|
|
@ -404,14 +386,10 @@ ANSI_COLOR="1;35"
|
|
|
|
|
LOGO="fedora-logo-icon"
|
|
|
|
|
CPE_NAME="cpe:/o:ncsd:msvsphere:%{major}::baseos"
|
|
|
|
|
VENDOR_NAME="LLC NCSD"
|
|
|
|
|
HOME_URL="%{dist_home_url}"
|
|
|
|
|
DOCUMENTATION_URL="https://docs.msvsphere-os.ru/"
|
|
|
|
|
BUG_REPORT_URL="%{dist_bug_report_url}"
|
|
|
|
|
|
|
|
|
|
MSVSPHERE_MANTISBT_PROJECT="%{distro}-%{major}"
|
|
|
|
|
MSVSPHERE_MANTISBT_PROJECT_VERSION="%{major}.%{minor}"
|
|
|
|
|
MSVSPHERE_PRETTY_NAME="МСВСфера %{major}.%{minor}%{?beta: %{beta}} ${ru_variant}"
|
|
|
|
|
SUPPORT_END=%{eol_date}
|
|
|
|
|
EOF
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
@ -486,12 +464,6 @@ install -m 644 %{SOURCE401} %{buildroot}%{_datadir}/pki/sb-certs/secureboot-kern
|
|
|
|
|
install -m 644 %{SOURCE402} %{buildroot}%{_datadir}/pki/sb-certs/secureboot-grub2-x86_64.cer
|
|
|
|
|
install -m 644 %{SOURCE403} %{buildroot}%{_datadir}/pki/sb-certs/secureboot-fwupd-x86_64.cer
|
|
|
|
|
|
|
|
|
|
# install aarch64 secureboot certificates
|
|
|
|
|
install -m 644 %{SOURCE400} %{buildroot}%{_datadir}/pki/sb-certs/secureboot-ca-aarch64.cer
|
|
|
|
|
install -m 644 %{SOURCE401} %{buildroot}%{_datadir}/pki/sb-certs/secureboot-kernel-aarch64.cer
|
|
|
|
|
install -m 644 %{SOURCE402} %{buildroot}%{_datadir}/pki/sb-certs/secureboot-grub2-aarch64.cer
|
|
|
|
|
install -m 644 %{SOURCE403} %{buildroot}%{_datadir}/pki/sb-certs/secureboot-fwupd-aarch64.cer
|
|
|
|
|
|
|
|
|
|
# link x86_64 secureboot certificates
|
|
|
|
|
ln -sr %{buildroot}%{_datadir}/pki/sb-certs/secureboot-ca-x86_64.cer \
|
|
|
|
|
%{buildroot}%{_sysconfdir}/pki/sb-certs/secureboot-ca-x86_64.cer
|
|
|
|
@ -502,16 +474,6 @@ ln -sr %{buildroot}%{_datadir}/pki/sb-certs/secureboot-grub2-x86_64.cer \
|
|
|
|
|
ln -sr %{buildroot}%{_datadir}/pki/sb-certs/secureboot-fwupd-x86_64.cer \
|
|
|
|
|
%{buildroot}%{_sysconfdir}/pki/sb-certs/secureboot-fwupd-x86_64.cer
|
|
|
|
|
|
|
|
|
|
# link aarch64 secureboot certificates
|
|
|
|
|
ln -sr %{buildroot}%{_datadir}/pki/sb-certs/secureboot-ca-aarch64.cer \
|
|
|
|
|
%{buildroot}%{_sysconfdir}/pki/sb-certs/secureboot-ca-aarch64.cer
|
|
|
|
|
ln -sr %{buildroot}%{_datadir}/pki/sb-certs/secureboot-kernel-aarch64.cer \
|
|
|
|
|
%{buildroot}%{_sysconfdir}/pki/sb-certs/secureboot-kernel-aarch64.cer
|
|
|
|
|
ln -sr %{buildroot}%{_datadir}/pki/sb-certs/secureboot-grub2-aarch64.cer \
|
|
|
|
|
%{buildroot}%{_sysconfdir}/pki/sb-certs/secureboot-grub2-aarch64.cer
|
|
|
|
|
ln -sr %{buildroot}%{_datadir}/pki/sb-certs/secureboot-fwupd-aarch64.cer \
|
|
|
|
|
%{buildroot}%{_sysconfdir}/pki/sb-certs/secureboot-fwupd-aarch64.cer
|
|
|
|
|
|
|
|
|
|
# copy DNF repositories
|
|
|
|
|
install -d -m 0755 %{buildroot}%{_sysconfdir}/yum.repos.d
|
|
|
|
|
install -p -m 0644 %{SOURCE500} %{buildroot}%{_sysconfdir}/yum.repos.d/
|
|
|
|
@ -525,11 +487,6 @@ install -p -m 0644 %{SOURCE507} %{buildroot}%{_sysconfdir}/yum.repos.d/
|
|
|
|
|
install -p -m 0644 %{SOURCE508} %{buildroot}%{_sysconfdir}/yum.repos.d/
|
|
|
|
|
install -p -m 0644 %{SOURCE509} %{buildroot}%{_sysconfdir}/yum.repos.d/
|
|
|
|
|
|
|
|
|
|
# Use beta repos
|
|
|
|
|
%if %{defined betachannel}
|
|
|
|
|
sed -i "s@\$releasever@%{major}.%{minor}-beta@g" %{buildroot}%{_sysconfdir}/yum.repos.d/*.repo
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
# copy GPG keys
|
|
|
|
|
install -d -m 0755 %{buildroot}%{_sysconfdir}/pki/rpm-gpg
|
|
|
|
|
install -p -m 0644 %{SOURCE100} %{buildroot}%{_sysconfdir}/pki/rpm-gpg/
|
|
|
|
@ -655,30 +612,9 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Nov 26 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 9.5-2
|
|
|
|
|
- Updates LICENSES
|
|
|
|
|
|
|
|
|
|
* Thu Nov 14 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 9.5-1
|
|
|
|
|
- Final MSVSphere 9.5
|
|
|
|
|
* Tue Oct 08 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 9.4-2.100.certified
|
|
|
|
|
- Added Certified variant
|
|
|
|
|
|
|
|
|
|
* Mon Oct 28 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 9.5-0.4.4
|
|
|
|
|
- Added aarch64 support
|
|
|
|
|
|
|
|
|
|
* Mon Oct 21 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 9.5-0.4.3
|
|
|
|
|
- Use stable version but beta repos
|
|
|
|
|
|
|
|
|
|
* Sun Oct 20 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 9.5-0.4.2
|
|
|
|
|
- Rebase repos on 9.5-beta release version
|
|
|
|
|
- Update 90-default.preset
|
|
|
|
|
|
|
|
|
|
* Fri Oct 18 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 9.5-0.4.1
|
|
|
|
|
- Set Beta channel
|
|
|
|
|
- Added some msvsphere urls and EOL
|
|
|
|
|
|
|
|
|
|
* Sat Oct 12 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 9.5-0.4
|
|
|
|
|
- 9.5 Betta Release
|
|
|
|
|
|
|
|
|
|
* Thu Aug 08 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 9.4-2
|
|
|
|
|
- Fix debuginfo repos
|
|
|
|
|
|
|
|
|
@ -705,16 +641,16 @@ fi
|
|
|
|
|
* Tue Oct 31 2023 Arkady L. Shane <tigro@msvsphere-os.ru> - 9.2-5
|
|
|
|
|
- Drop REDHAT_SUPPORT* from /etc/os-release
|
|
|
|
|
|
|
|
|
|
* Mon Oct 30 2023 Arkady L. Shane <tigro@msvsphere-os.ru> - 9.2-4.1
|
|
|
|
|
* Mon Oct 09 2023 Arkady L. Shane <tigro@msvsphere-os.ru> - 9.2-4.1
|
|
|
|
|
- Added R: /usr/bin/ln
|
|
|
|
|
|
|
|
|
|
* Mon Oct 30 2023 Arkady L. Shane <tigro@msvsphere-os.ru> - 9.2-4
|
|
|
|
|
* Mon Oct 09 2023 Arkady L. Shane <tigro@msvsphere-os.ru> - 9.2-4
|
|
|
|
|
- Push two separated license for Server and ARM
|
|
|
|
|
|
|
|
|
|
* Fri Oct 27 2023 Arkady L. Shane <tigro@msvsphere-os.ru> - 9.2-3
|
|
|
|
|
- Drop brackets from PRETTY_NAME (INF-721)
|
|
|
|
|
|
|
|
|
|
* Tue Oct 17 2023 Arkady L. Shane <tigro@msvsphere-os.ru> - 9.2-2
|
|
|
|
|
* Mon Oct 17 2023 Arkady L. Shane <tigro@msvsphere-os.ru> - 9.2-2
|
|
|
|
|
- Replace PGP public key
|
|
|
|
|
|
|
|
|
|
* Tue Oct 10 2023 Arkady L. Shane <tigro@msvsphere-os.ru> - 9.2-1.12
|
|
|
|
|