%global pkgname Esp Summary: SpamAssassin plugin for Invaluement.com Service Provider DNSBLs Name: spamassassin-%{pkgname} Version: 0.3 Release: 1%{?dist} License: Apache2.0 URL: https://github.com/bigio/spamassassin-esp Source0: https://github.com/bigio/spamassassin-esp/archive/v%{version}.tar.gz#/esp-v%{version}.tar.gz Requires: spamassassin >= 3.2 Provides: spamassassin-Esp = %{version} BuildArch: noarch %description SpamAssassin plugin for Invaluement.com Service Provider DNSBLs ("SPBL"), Sendinblue, Voxmail and MailUp esp. The plugin doesn't download the data feed, the txt file should be downloaded using "curl -z" or "wget -N" that only downloads the file when the server versions are newer. %prep %autosetup -n spamassassin-esp-esp-v%{version} %build echo "Move along, nothing to see here..." %install install -D -p -m 644 %{pkgname}.cf $RPM_BUILD_ROOT%{_sysconfdir}/mail/spamassassin/%{pkgname}.cf touch -c -r %{pkgname}.cf $RPM_BUILD_ROOT%{_sysconfdir}/mail/spamassassin/%{pkgname}.cf install -D -p -m 644 %{pkgname}.pm $RPM_BUILD_ROOT%{perl_vendorlib}/Mail/SpamAssassin/Plugin/%{pkgname}.pm install -D -p -m 644 man/man3p/Mail\:\:SpamAssassin\:\:Plugin\:\:Esp.3p $RPM_BUILD_ROOT%{_mandir}/man3/Mail::SpamAssassin::Plugin::%{pkgname}.3pm %files %license LICENSE %doc README.MD %config(noreplace) %{_sysconfdir}/mail/spamassassin/%{pkgname}.cf %{perl_vendorlib}/Mail/SpamAssassin/Plugin/%{pkgname}.pm %{_mandir}/man3/*.3pm* %changelog * Wed Oct 14 2020 Greg Wildman - 0.3-1 - Initial spec.