From 9d864699bab79d89894bd997aeccf3f1df86f13d Mon Sep 17 00:00:00 2001 From: Anoop C S Date: Sep 05 2023 10:59:22 +0000 Subject: Initial version --- diff --git a/.centos-release-samba419.metadata b/.centos-release-samba419.metadata new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/.centos-release-samba419.metadata diff --git a/README.md b/README.md new file mode 100644 index 0000000..19120c2 --- /dev/null +++ b/README.md @@ -0,0 +1,2 @@ +centos-release-samba419 provides the YUM repository file for packages of the +CentOS Storage SIG that are used with Samba 4.19. diff --git a/SOURCES/CentOS-Samba-419.repo b/SOURCES/CentOS-Samba-419.repo new file mode 100644 index 0000000..23f332f --- /dev/null +++ b/SOURCES/CentOS-Samba-419.repo @@ -0,0 +1,18 @@ +# CentOS-Samba-419.repo +# +# Please see https://sigs.centos.org/storage for more information + +[centos-samba419] +name=CentOS-$stream - Samba 4.19 +mirrorlist=http://mirrorlist.centos.org?arch=$basearch&release=$stream&repo=storage-samba-419 +#baseurl=http://mirror.centos.org/$contentdir/$stream/storage/$basearch/samba-419/ +gpgcheck=1 +enabled=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Storage + +[centos-samba419-test] +name=CentOS-$stream - Samba 4.19 Testing +baseurl=http://buildlogs.centos.org/centos/$stream/storage/$basearch/samba-419/ +gpgcheck=0 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Storage diff --git a/SPECS/centos-release-samba419.spec b/SPECS/centos-release-samba419.spec new file mode 100644 index 0000000..b76bdb0 --- /dev/null +++ b/SPECS/centos-release-samba419.spec @@ -0,0 +1,49 @@ +Summary: Samba 4.19 packages from the CentOS Storage SIG repository +Name: centos-release-samba419 +Version: 1.0 +Release: 2%{?dist} +License: GPLv2 +URL: http://wiki.centos.org/SpecialInterestGroup/Storage +Source0: CentOS-Samba-419.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 = 419 + +%description +yum configuration for Samba 4.19 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-419.repo + +%if 0%{?centos} >= 8 +%post +%systemd_post smb.service + +%preun +%systemd_preun smb.service + +%postun +%systemd_postun smb.service +%endif + +%files +%defattr(-,root,root) +%config(noreplace) %{_sysconfdir}/yum.repos.d/CentOS-Samba-419.repo + +%changelog +* Tue Sep 05 2023 Anoop C S - 1.0-1 +- Initial version