From f1d2e4e7f7bba0624b34f0ea3f9e0e10c72e8155 Mon Sep 17 00:00:00 2001 From: Anoop C S Date: Aug 05 2020 09:12:53 +0000 Subject: Initial version Signed-off-by: Anoop C S --- diff --git a/README.md b/README.md new file mode 100644 index 0000000..9ac4a74 --- /dev/null +++ b/README.md @@ -0,0 +1,2 @@ +centos-release-samba411 provides the YUM repository file for packages of the +CentOS Storage SIG that are used with Samba 4.11. diff --git a/SOURCES/CentOS-Samba-411.repo b/SOURCES/CentOS-Samba-411.repo new file mode 100644 index 0000000..be99691 --- /dev/null +++ b/SOURCES/CentOS-Samba-411.repo @@ -0,0 +1,19 @@ +# CentOS-Samba-411.repo +# +# Please see http://wiki.centos.org/SpecialInterestGroup/Storage for more +# information + +[centos-samba411] +name=CentOS-$releasever - Samba 4.11 +mirrorlist=http://mirrorlist.centos.org?arch=$basearch&release=$releasever&repo=storage-samba-411 +#baseurl=http://mirror.centos.org/$contentdir/$releasever/storage/$basearch/samba-411/ +gpgcheck=1 +enabled=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Storage + +[centos-samba411-test] +name=CentOS-$releasever - Samba 4.11 Testing +baseurl=http://buildlogs.centos.org/centos/$releasever/storage/$basearch/samba-411/ +gpgcheck=0 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Storage diff --git a/SPECS/centos-release-samba411.spec b/SPECS/centos-release-samba411.spec new file mode 100644 index 0000000..d3c9ca8 --- /dev/null +++ b/SPECS/centos-release-samba411.spec @@ -0,0 +1,49 @@ +Summary: Samba 4.11 packages from the CentOS Storage SIG repository +Name: centos-release-samba411 +Version: 1.0 +Release: 1%{?dist} +License: GPLv2 +URL: http://wiki.centos.org/SpecialInterestGroup/Storage +Source0: CentOS-Samba-411.repo +%if 0%{?centos} >= 8 +BuildRequires: systemd +%endif +BuildArch: noarch + +%if 0%{?centos} >= 8 +Requires: centos-release >= 8.1 +Requires(post): systemd +Requires(preun): systemd +Requires(postun): systemd +%endif +# This provides the public key to verify the RPMs +Requires: centos-release-storage-common + +Provides: centos-release-samba = 411 + +%description +yum configuration for Samba 4.11 packages from the CentOS Storage SIG. For more +details about the release and maintenance schedule, see +https://wiki.samba.org/index.php/Samba_Release_Planning + +%install +install -D -m 644 %{SOURCE0} %{buildroot}%{_sysconfdir}/yum.repos.d/CentOS-Samba-411.repo + +%if 0%{?centos} >= 8 +%post +%systemd_post + +%preun +%systemd_preun + +%postun +%systemd_postun +%endif + +%files +%defattr(-,root,root) +%config(noreplace) %{_sysconfdir}/yum.repos.d/CentOS-Samba-411.repo + +%changelog +* Wed Aug 5 2020 Anoop C S - 1.0-1 +- Initial version