From 974b0c5fc4b615a245ca47513192752e4911b7bd Mon Sep 17 00:00:00 2001 From: Neal Gompa Date: Feb 20 2022 18:50:44 +0000 Subject: Initial package for CentOS Stream 9 --- diff --git a/.centos-release-hyperscale.metadata b/.centos-release-hyperscale.metadata new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/.centos-release-hyperscale.metadata diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6f9774b --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +BUILD +BUILDROOT +RPMS +SRPMS diff --git a/SOURCES/CentOS-Stream-Hyperscale-Experimental.repo b/SOURCES/CentOS-Stream-Hyperscale-Experimental.repo new file mode 100644 index 0000000..f3669f4 --- /dev/null +++ b/SOURCES/CentOS-Stream-Hyperscale-Experimental.repo @@ -0,0 +1,17 @@ +[centos-hyperscale-experimental] +name=CentOS Stream $releasever - Hyperscale Experimental +metalink=https://mirrors.centos.org/metalink?repo=centos-hyperscale-sig-packages-experimental-$stream&arch=$basearch&protocol=https,http +#baseurl=http://mirror.stream.centos.org/SIGs/$stream/hyperscale/$basearch/packages-experimental/ +gpgcheck=1 +enabled=1 +priority=50 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-HyperScale + +[centos-hyperscale-experimental-source] +name=CentOS Stream $releasever - Hyperscale Experimental - Source +metalink=https://mirrors.centos.org/metalink?repo=centos-hyperscale-sig-packages-experimental-$stream&arch=source&protocol=https,http +#baseurl=http://mirror.stream.centos.org/SIGs/$stream/hyperscale/source/packages-experimental/ +gpgcheck=1 +enabled=0 +priority=50 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-HyperScale diff --git a/SOURCES/CentOS-Stream-Hyperscale-Hotfixes.repo b/SOURCES/CentOS-Stream-Hyperscale-Hotfixes.repo new file mode 100644 index 0000000..9187d79 --- /dev/null +++ b/SOURCES/CentOS-Stream-Hyperscale-Hotfixes.repo @@ -0,0 +1,19 @@ +[centos-hyperscale-hotfixes] +name=CentOS Stream $releasever - Hyperscale Hotfixes +metalink=https://mirrors.centos.org/metalink?repo=centos-hyperscale-sig-packages-hotfixes-$stream&arch=$basearch&protocol=https,http +#baseurl=http://mirror.stream.centos.org/SIGs/$stream/hyperscale/$basearch/packages-hotfixes/ +gpgcheck=1 +enabled=1 +priority=50 +module_hotfixes=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-HyperScale + +[centos-hyperscale-hotfixes-source] +name=CentOS Stream $releasever - Hyperscale Hotfixes - Source +metalink=https://mirrors.centos.org/metalink?repo=centos-hyperscale-sig-packages-hotfixes-$stream&arch=source&protocol=https,http +#baseurl=http://mirror.stream.centos.org/SIGs/$stream/hyperscale/source/packages-hotfixes/ +gpgcheck=1 +enabled=0 +priority=50 +module_hotfixes=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-HyperScale diff --git a/SOURCES/CentOS-Stream-Hyperscale-Spin.repo b/SOURCES/CentOS-Stream-Hyperscale-Spin.repo new file mode 100644 index 0000000..b723e39 --- /dev/null +++ b/SOURCES/CentOS-Stream-Hyperscale-Spin.repo @@ -0,0 +1,17 @@ +[centos-hyperscale-spin] +name=CentOS Stream $releasever - Hyperscale Spin +metalink=https://mirrors.centos.org/metalink?repo=centos-hyperscale-sig-packages-spin-$stream&arch=$basearch&protocol=https,http +#baseurl=http://mirror.stream.centos.org/SIGs/$stream/hyperscale/$basearch/packages-spin/ +gpgcheck=1 +enabled=1 +priority=50 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-HyperScale + +[centos-hyperscale-spin-source] +name=CentOS Stream $releasever - Hyperscale Spin - Source +metalink=https://mirrors.centos.org/metalink?repo=centos-hyperscale-sig-packages-spin-$stream&arch=source&protocol=https,http +#baseurl=http://mirror.stream.centos.org/SIGs/$stream/hyperscale/source/packages-spin/ +gpgcheck=1 +enabled=0 +priority=50 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-HyperScale diff --git a/SOURCES/CentOS-Stream-Hyperscale.repo b/SOURCES/CentOS-Stream-Hyperscale.repo new file mode 100644 index 0000000..81d3d87 --- /dev/null +++ b/SOURCES/CentOS-Stream-Hyperscale.repo @@ -0,0 +1,17 @@ +[centos-hyperscale] +name=CentOS Stream $releasever - Hyperscale +metalink=https://mirrors.centos.org/metalink?repo=centos-hyperscale-sig-packages-main-$stream&arch=$basearch&protocol=https,http +#baseurl=http://mirror.stream.centos.org/SIGs/$stream/hyperscale/$basearch/packages-main/ +gpgcheck=1 +priority=50 +enabled=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-HyperScale + +[centos-hyperscale-source] +name=CentOS Stream $releasever - Hyperscale - Source +metalink=https://mirrors.centos.org/metalink?repo=centos-hyperscale-sig-packages-main-$stream&arch=source&protocol=https,http +#baseurl=http://mirror.stream.centos.org/SIGs/$stream/hyperscale/source/packages-main/ +gpgcheck=1 +priority=50 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-HyperScale diff --git a/SOURCES/RPM-GPG-KEY-CentOS-SIG-HyperScale b/SOURCES/RPM-GPG-KEY-CentOS-SIG-HyperScale new file mode 100644 index 0000000..4d12268 --- /dev/null +++ b/SOURCES/RPM-GPG-KEY-CentOS-SIG-HyperScale @@ -0,0 +1,32 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- +Version: GnuPG v2.0.22 (GNU/Linux) + +mQENBGAFPdEBCADhXtzOEQcQnug15GHYeYIA9Nw/x96b4XliZFi2GDT7Jqu6njA8 +QJtKm8C4Hoc/DxOXcidxDJ/pu2pYwzxRpuIi0K7PA5lF08HgF7aZsxq0yiFRMCaS +qpp4NCw/Xj0VPohu7jICQhzalnfZjTk0zEneBnpE6jCSIDLdaH8+iC5F2KerEPjq ++SZOH/aVLdFVgPUbz7zwL7XMsmDT0M22J1zO4QmUTsVbkaqtSw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fBBgBAgAJBQJgBT3RAhsMAAoJECoB+irrPaxAv0YIANrohSlmuLFT0U29 +SQkXCN1jjymWlMy/ATHPgfIm0xm2fs1Zfih84iHYsMjvlzy3yveyPQc+eIEhvnGb +zye7/2WwtO+DsDhRXZZK0bm34kjfTG6MWmlBSbHX8CWQVFeGan+5V9G/zgOPnBDj +Or7jYduVyrBDNQihagC6g4SBFx/4mfM//G6URCoFZza/Z3No4KubmHcTSGuyEdP0 +rAdP0LivvSlmybriiEyTqbOBQeqLSm3k9yv1POKP1e7gS5l1LMMXdTrfjjYNy6Gf +1vOfQdIhYs89ayk9Pshhb5YqqxN3d/Yzn3Ss1Ya1IPb3xsYAu6wjz8C3Arb9ZvFj +3MfXDY4= +=ilTU +-----END PGP PUBLIC KEY BLOCK----- diff --git a/SPECS/centos-release-hyperscale.spec b/SPECS/centos-release-hyperscale.spec new file mode 100644 index 0000000..4e92fb3 --- /dev/null +++ b/SPECS/centos-release-hyperscale.spec @@ -0,0 +1,70 @@ +Summary: CentOS Hyperscale SIG main repo configs +Name: centos-release-hyperscale +Version: 9 +Release: 1%{?dist} +License: GPLv2 +URL: http://wiki.centos.org/SpecialInterestGroup/Hyperscale +Source0: RPM-GPG-KEY-CentOS-SIG-HyperScale +Source1: CentOS-Stream-Hyperscale.repo +Source2: CentOS-Stream-Hyperscale-Experimental.repo +Source3: CentOS-Stream-Hyperscale-Hotfixes.repo +Source4: CentOS-Stream-Hyperscale-Spin.repo + +BuildArch: noarch + +Requires: centos-stream-release +Requires: epel-release = %{rhel} + +%description +Configs for the CentOS Hyperscale SIG main package repository. + +%package experimental +Summary: CentOS Hyperscale SIG experimental repo configs +Requires: %{name} = %{version}-%{release} + +%description experimental +Configs for the CentOS Hyperscale SIG experimental package repository. + +%package hotfixes +Summary: CentOS Hyperscale SIG module hotfixes repo configs +Requires: %{name} = %{version}-%{release} + +%description hotfixes +Configs for the CentOS Hyperscale SIG module hotfixes repository. + +%package spin +Summary: CentOS Hyperscale SIG spin repo configs +Requires: %{name} = %{version}-%{release} + +%description spin +Configs for the CentOS Hyperscale SIG spin repository. + +%prep +# Nothing to do + +%install +install -d %{buildroot}%{_sysconfdir}/pki/rpm-gpg +install -p -m 644 %{SOURCE0} %{buildroot}%{_sysconfdir}/pki/rpm-gpg +install -d %{buildroot}%{_sysconfdir}/yum.repos.d +install -p -m 644 %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} \ + %{buildroot}%{_sysconfdir}/yum.repos.d + +%files +%defattr(-,root,root) +%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-HyperScale +%config(noreplace) %{_sysconfdir}/yum.repos.d/CentOS-Stream-Hyperscale.repo + +%files experimental +%defattr(-,root,root) +%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-HyperScale +%config(noreplace) %{_sysconfdir}/yum.repos.d/CentOS-Stream-Hyperscale-Experimental.repo + +%files hotfixes +%config(noreplace) %{_sysconfdir}/yum.repos.d/CentOS-Stream-Hyperscale-Hotfixes.repo + +%files spin +%config(noreplace) %{_sysconfdir}/yum.repos.d/CentOS-Stream-Hyperscale-Spin.repo + +%changelog +* Sun Feb 20 2022 Neal Gompa - 9-1 +- Initial package for CentOS Stream 9