From f923204bb30bbf6b5cd2d490141120d27d8afd35 Mon Sep 17 00:00:00 2001 From: Kaleb S. KEITHLEY Date: Oct 16 2019 12:19:40 +0000 Subject: migrate from github repo Signed-off-by: Kaleb S. KEITHLEY --- diff --git a/README.md b/README.md new file mode 100644 index 0000000..a97dd25 --- /dev/null +++ b/README.md @@ -0,0 +1,21 @@ +centos-release-nfs-ganesha28 provides the YUM repository file for packages +of the CentOS Storage SIG that are used with NFS-Ganesha 2.8. + +This package needs to be built against the following targets so that the +packages land at the right tag for inclusion in CentOS Extras: + + - core6-extras-common-el6.centos (tag: core6-extras-common-candidate) + - core7-extras-common-el7.centos (tag: core7-extras-common-candidate) + +Build the package ike this: + + + $ rpmbuild -bs \ + --define "_sourcedir $PWD" --define "_srcrpmdir $PWD" \ + --define "dist .el7.centos" \ + centos-release-nfs-ganesha28.spec + + $ cbs \ + build core7-extras-common-el7.centos \ + centos-release-nfs-ganesha28-1.0-1.el7.centos.src.rpm + diff --git a/SOURCES/CentOS-NFS-Ganesha-28.repo b/SOURCES/CentOS-NFS-Ganesha-28.repo new file mode 100644 index 0000000..6b29616 --- /dev/null +++ b/SOURCES/CentOS-NFS-Ganesha-28.repo @@ -0,0 +1,20 @@ +# CentOS-NFS-Ganesha-28.repo +# +# Please see http://wiki.centos.org/SpecialInterestGroup/Storage for more +# information + +[centos-nfs-ganesha28] +name=CentOS-$releasever - NFS Ganesha 2.8 +mirrorlist=https://mirrorlist.centos.org?arch=$basearch&release=$releasever&repo=storage-nfs-ganesha-28 +#baseurl=https://mirror.centos.org/$contentdir/$releasever/storage/$basearch/nfs-ganesha-28/ +gpgcheck=1 +enabled=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Storage + +[centos-nfs-ganesha28-test] +name=CentOS-$releasever - NFS Ganesha 2.8 Testing +baseurl=https://buildlogs.centos.org/centos/$releasever/storage/$basearch/nfs-ganesha-28/ +gpgcheck=0 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Storage + diff --git a/SPECS/centos-release-nfs-ganesha28.spec b/SPECS/centos-release-nfs-ganesha28.spec new file mode 100644 index 0000000..4c8767a --- /dev/null +++ b/SPECS/centos-release-nfs-ganesha28.spec @@ -0,0 +1,40 @@ +Summary: NFS-Ganesha 2.8 packages from the CentOS Storage SIG repository +Name: centos-release-nfs-ganesha28 +Version: 1.0 +Release: 2%{?dist} +License: GPLv2 +URL: http://wiki.centos.org/SpecialInterestGroup/Storage +Source0: CentOS-NFS-Ganesha-28.repo +BuildArch: noarch + +%if 0%{?centos} >= 7 +# $contentdir for altarch support was added with CentOS-7.5 +Requires: centos-release >= 7-5.1804.el7.centos.2 +%endif +# This provides the public key to verify the RPMs +Requires: centos-release-storage-common + +Provides: centos-release-nfs-ganesha = 28 + +%description +yum configuration for NFS-Ganesha 2.8 packages from the CentOS Storage SIG. +NFS-Ganesha 2.8 will receive updates for approximately 12 months. For more +details about the release and maintenance schedule, see +https://github.com/nfs-ganesha/nfs-ganesha/wiki + +%install +install -D -m 644 %{SOURCE0} %{buildroot}%{_sysconfdir}/yum.repos.d/CentOS-NFS-Ganesha-28.repo +%if 0%{?centos} < 7 +sed -i 's/i\$contentdir/centos/g' %{buildroot}%{_sysconfdir}/yum.repos.d/CentOS-NFS-Ganesha-28.repo +%endif + +%files +%defattr(-,root,root) +%config(noreplace) %{_sysconfdir}/yum.repos.d/CentOS-NFS-Ganesha-28.repo + +%changelog +* Wed Jun 19 2019 Giulio Fidente - 1.0-2 +- Fix stale references to Gluster in the .repo file + +* Tue Jun 11 2019 Kaleb S KEITHLEY - 1.0-1 +- NFS-Ganesha 2.8