From 14cb8669a065934a6c9a450ce504ad5fad37d05d Mon Sep 17 00:00:00 2001 From: yatinkarel Date: Sep 10 2020 12:04:44 +0000 Subject: Initial release rpm NFV SIG --- diff --git a/.centos-release-nfv.metadata b/.centos-release-nfv.metadata new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/.centos-release-nfv.metadata diff --git a/SOURCES/CentOS-NFV-OpenvSwitch.repo b/SOURCES/CentOS-NFV-OpenvSwitch.repo new file mode 100644 index 0000000..daac567 --- /dev/null +++ b/SOURCES/CentOS-NFV-OpenvSwitch.repo @@ -0,0 +1,36 @@ +# CentOS-NFV-OpenvSwitch.repo +# +# Please see http://wiki.centos.org/SpecialInterestGroup/NFV for more +# information + +[centos-nfv-openvswitch] +name=CentOS-$releasever - NFV OpenvSwitch +#baseurl=http://mirror.centos.org/centos/$releasever/nfv/$basearch/openvswitch-2/ +mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=nfv-openvswitch-2 +gpgcheck=1 +enabled=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-NFV +module_hotfixes=1 + +[centos-nfv-openvswitch-testing] +name=CentOS-$releasever - NFV OpenvSwitch Testing +baseurl=http://buildlogs.centos.org/centos/$releasever/nfv/$basearch/openvswitch-2/ +gpgcheck=0 +enabled=0 +module_hotfixes=1 + +[centos-nfv-openvswitch-debuginfo] +name=CentOS-$releasever - NFV OpenvSwitch - Debug +baseurl=http://debuginfo.centos.org/centos/$releasever/nfv/$basearch/ +gpgcheck=1 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-NFV +module_hotfixes=1 + +[centos-nfv-openvswitch-source] +name=CentOS-$releasever - NFV OpenvSwitch - Source +baseurl=http://vault.centos.org/centos/$releasever/nfv/Source/openvswitch-2/ +gpgcheck=1 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-NFV +module_hotfixes=1 diff --git a/SOURCES/RPM-GPG-KEY-CentOS-SIG-NFV b/SOURCES/RPM-GPG-KEY-CentOS-SIG-NFV new file mode 100644 index 0000000..23f8d49 --- /dev/null +++ b/SOURCES/RPM-GPG-KEY-CentOS-SIG-NFV @@ -0,0 +1,20 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- +Version: GnuPG v2.0.22 (GNU/Linux) + +mQENBFqMVyYBCACriP6iaXy1GtYgrueyz3U+GmNvNrnugEUAeWicotKvmlqjUKqs +s5N+Zr9yjAuwPjruywNVxuhRxTdyvU0PMMh7ZMkeWtJ26GWuCmN9Wf3rU5I2Eljh +nzulf06q8E1zYLtggHfk6FOP+lYloCOPZys6BCxeWA8MvRfhbspI0pIhnnIFwHYe +71K/ljyfoAsth/WC5kZnqj0LpJRVmp2kooS79LSC1DXTATaaU0RCSY5xINMTjrmD +6yA6GwRoAUu3y1IF02jI2Q3NoOht7GtYXDuAr+MaRJBI1oXr2uAbu4Frvcx3zHAy +CRbngZNnbh/kssAvAoEHev/qkhVhvbIwVuizABEBAAG0V0NlbnRPUyBORlYgU0lH +IChodHRwczovL3dpa2kuY2VudG9zLm9yZy9TcGVjaWFsSW50ZXJlc3RHcm91cC9O +RlYpIDxzZWN1cml0eUBjZW50b3Mub3JnPokBOQQTAQIAIwUCWoxXJgIbAwcLCQgH +AwIBBhUIAgkKCwQWAgMBAh4BAheAAAoJECFGXiidKnanhrwH/2FOV18yEFpIIps9 +4GoAaLNtxdLEPbgLuKdu01x1ate2pv3yPQoewmI/AdxBItIA0uqeMX/XPGdBwvAD +1lPqpOtDBlaay12EeOTyhxKdTQdkW3Sb1Yhoj01qfNEEm3kaOiHDvIZHqxmj4OfP +K20hhI0pw2qm2JMsRtuLBgHo+rUP7gOHy7jbA1kvTc0lkpcQzTKgXM13L1l7tKXm +U8P7FKRKKG49IFQXtsbx1lW/vr2phzKVL93xQKeqEy5PauvZr+rIl8LNSVdoBEHc +y6f4nNlCyG0G2ZTe68vf4D9cFtITB/ZR6+/hp+2VT7ivT/hj+8721G900P3KjgA+ ++TXPsDw= +=B5Lp +-----END PGP PUBLIC KEY BLOCK----- diff --git a/SPECS/centos-release-nfv.spec b/SPECS/centos-release-nfv.spec new file mode 100644 index 0000000..0863a69 --- /dev/null +++ b/SPECS/centos-release-nfv.spec @@ -0,0 +1,53 @@ +Summary: Config to enable the repository for the NFV SIG +Name: centos-release-nfv +Version: 1 +Release: 1%{?dist} +License: GPLv2 +Group: System Environment/Base +URL: http://wiki.centos.org/SpecialInterestGroup/NFV +Source0: RPM-GPG-KEY-CentOS-SIG-NFV +Source1: CentOS-NFV-OpenvSwitch.repo + +BuildArch: noarch + +%description +yum configs for repositories as delivered by CentOS NFV SIG. + +%package common +Summary: Common package to contain NFV SIG + +Requires: centos-release + +%description common +Common files for repositories as delivered by CentOS NFV SIG. + +%package openvswitch +Summary: Common release file to establish shared metadata for CentOS NFV SIG + +Requires: %{name}-common + +%description openvswitch +yum configs for repositories as delivered by CentOS NFV SIG. + +%prep +%setup -q -n %{name} -T -c + +%install +# gpg key +install -p -d %{buildroot}%{_sysconfdir}/pki/rpm-gpg +install -m 644 %{SOURCE0} %{buildroot}%{_sysconfdir}/pki/rpm-gpg +# openvswitch repo +install -D -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/yum.repos.d/CentOS-NFV-OpenvSwitch.repo + +%files common +%defattr(-,root,root) +/etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-NFV + +%files openvswitch +%defattr(-,root,root) +%config(noreplace) %{_sysconfdir}/yum.repos.d/CentOS-NFV-OpenvSwitch.repo + +%changelog +* Thu Sep 10 2020 Yatin Karel - 1-1 +- Initial release rpm NFV SIG +