Anoop C S b22ec8
Summary: Samba 4.20 packages from the CentOS Storage SIG repository
Anoop C S b22ec8
Name: centos-release-samba420
Anoop C S b22ec8
Version: 1.0
Anoop C S b22ec8
Release: 1%{?dist}
Anoop C S b22ec8
License: GPLv2
Anoop C S b22ec8
URL: http://wiki.centos.org/SpecialInterestGroup/Storage
Anoop C S b22ec8
Source0: CentOS-Samba-420.repo
Anoop C S b22ec8
%if 0%{?centos} >= 8
Anoop C S b22ec8
BuildRequires: systemd
Anoop C S b22ec8
%endif
Anoop C S b22ec8
BuildArch: noarch
Anoop C S b22ec8
Anoop C S b22ec8
%if 0%{?centos} >= 8
Anoop C S b22ec8
Requires: centos-release >= 8.1
Anoop C S b22ec8
Requires(post): systemd
Anoop C S b22ec8
Requires(preun): systemd
Anoop C S b22ec8
Requires(postun): systemd
Anoop C S b22ec8
%endif
Anoop C S b22ec8
# This provides the public key to verify the RPMs
Anoop C S b22ec8
Requires: centos-release-storage-common
Anoop C S b22ec8
Anoop C S b22ec8
Provides: centos-release-samba = 420
Anoop C S b22ec8
Anoop C S b22ec8
%description
Anoop C S b22ec8
yum configuration for Samba 4.20 packages from the CentOS Storage SIG. For more
Anoop C S b22ec8
details about the release and maintenance schedule, see
Anoop C S b22ec8
https://wiki.samba.org/index.php/Samba_Release_Planning
Anoop C S b22ec8
Anoop C S b22ec8
%install
Anoop C S b22ec8
install -D -m 644 %{SOURCE0} %{buildroot}%{_sysconfdir}/yum.repos.d/CentOS-Samba-420.repo
Anoop C S b22ec8
Anoop C S b22ec8
%if 0%{?centos} >= 8
Anoop C S b22ec8
%post
Anoop C S b22ec8
%systemd_post smb.service
Anoop C S b22ec8
Anoop C S b22ec8
%preun
Anoop C S b22ec8
%systemd_preun smb.service
Anoop C S b22ec8
Anoop C S b22ec8
%postun
Anoop C S b22ec8
%systemd_postun smb.service
Anoop C S b22ec8
%endif
Anoop C S b22ec8
Anoop C S b22ec8
%files
Anoop C S b22ec8
%defattr(-,root,root)
Anoop C S b22ec8
%config(noreplace) %{_sysconfdir}/yum.repos.d/CentOS-Samba-420.repo
Anoop C S b22ec8
Anoop C S b22ec8
%changelog
Anoop C S b22ec8
* Wed Apr 03 2024 Anoop C S <anoopcs@samba.org> - 1.0-1
Anoop C S b22ec8
- Initial version