777f97
Summary: Ceph Nautilus packages from the CentOS Storage SIG repository
777f97
Name: centos-release-ceph-nautilus
b05d81
Version: 1.3
b05d81
Release: 1%{?dist}
777f97
License: GPLv2
777f97
URL: http://wiki.centos.org/SpecialInterestGroup/Storage
777f97
Source0: CentOS-Ceph-Nautilus.repo
777f97
%if 0%{?centos} >= 7
777f97
BuildRequires: systemd
777f97
%endif
777f97
BuildArch: noarch
777f97
777f97
%if 0%{?centos} >= 7
777f97
# $contentdir for altarch support was added with CentOS-7.5
777f97
Requires: centos-release >= 7-5.1804.el7.centos.2
777f97
Requires(post): systemd
777f97
Requires(preun): systemd
777f97
Requires(postun): systemd
777f97
%endif
777f97
# This provides the public key to verify the RPMs
777f97
Requires: centos-release-storage-common
777f97
777f97
Provides: centos-release-ceph = 14
777f97
777f97
%description
777f97
yum configuration for Ceph Nautilus packages from the CentOS Storage SIG.
777f97
777f97
%install
777f97
install -D -m 644 %{SOURCE0} %{buildroot}%{_sysconfdir}/yum.repos.d/CentOS-Ceph-Nautilus.repo
777f97
%if 0%{?centos} < 7
777f97
sed -i 's/i\$contentdir/centos/g' %{buildroot}%{_sysconfdir}/yum.repos.d/CentOS-Ceph-Nautilus.repo
777f97
%endif
777f97
777f97
%if 0%{?centos} >= 7
777f97
%post
777f97
%systemd_post
777f97
777f97
%preun
777f97
%systemd_preun
777f97
777f97
%postun
777f97
%systemd_postun
777f97
%endif
777f97
777f97
%files
777f97
%defattr(-,root,root)
777f97
%config(noreplace) %{_sysconfdir}/yum.repos.d/CentOS-Ceph-Nautilus.repo
777f97
777f97
%changelog
777f97
* Thu May 14 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1.2-2
777f97
- initial checkin in git.centos.org ex github
777f97