%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) %define perl_ver %(eval `perl -V:version`; echo ${version}) Name: perl-Mail-SPF Version: 3.20240923 Release: 1mamba Summary: Mail::SPF - An object-oriented implementation of Sender Policy Framework Group: System/Libraries/Perl Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://www.cpan.org/ Source: https://cpan.metacpan.org/authors/id/M/MB/MBRADSHAW/Mail-SPF-%{version}.tar.gz License: BSF ## AUTOBUILDREQ-BEGIN BuildRequires: libperl BuildRequires: perl-Error BuildRequires: perl-Net-DNS BuildRequires: perl-NetAddr-IP BuildRequires: perl-URI BuildRequires: perl-devel ## AUTOBUILDREQ-END BuildRequires: perl >= 2:5.36.0 BuildRequires: perl-devel >= %perl_major_ver BuildRequires: perl-Module-Build BuildRequires: perl-version BuildRequires: perl-Net-DNS-Resolver-Programmable BuildRequires: perl-IO-Socket-INET6 Requires: perl >= %perl_major_ver %description Mail::SPF - An object-oriented implementation of Sender Policy Framework %prep %setup -q -n Mail-SPF-%{version} %build perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor %make %{?_smp_mflags} #% make test %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall_perl packlist=`find %{buildroot} -name .packlist` [ -z "$packlist" ] && exit 1 || cat $packlist | \ sed "s,%buildroot,,g;s,.*/man/.*,&.gz,g" | \ sort -u > .packlist && rm $packlist strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'` for dir in `find %{buildroot} -type d | grep $strid`; do echo "%dir ${dir#%buildroot}" >> .packlist done # fix perl path sed -i "s|%{_bindir}/perl%{perl_ver}|%{_bindir}/perl|" %{buildroot}%{_bindir}/spfquery %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" rm -f .packlist %files -f .packlist %defattr(-,root,root) %changelog * Tue Sep 24 2024 Automatic Build System 3.20240923-1mamba - automatic version update by autodist * Tue Aug 27 2024 Automatic Build System 3.20240827-1mamba - automatic version update by autodist * Mon Jun 17 2024 Automatic Build System 3.20240617-1mamba - automatic version update by autodist * Mon Apr 22 2024 Silvan Calarco 3.20240206-1mamba - update to 3.20240206 * Mon Apr 17 2023 Sdk Build System 2.9.0-3mamba - rebuilt with perl 5.36.0 * Thu Oct 28 2021 Silvan Calarco 2.9.0-2mamba - added POD patch to fix tests; specfile fixes * Mon Jul 22 2013 Automatic Build System 2.9.0-1mamba - automatic update by autodist * Sat Apr 27 2013 Automatic Build System 2.8.0-1mamba - update to 2.8.0 * Mon Nov 12 2012 Silvan Calarco 2.004-5mamba - perl 5.16 mass rebuild * Sat Nov 19 2011 Silvan Calarco 2.004-4mamba - remove to remove requirement for /usr/bin/perl * Thu Oct 01 2009 Silvan Calarco 2.004-3mamba - rebuilt with perl 5.10.1 * Wed Nov 05 2008 Silvan Calarco 2.004-2mamba - automatic rebuild by autodist * Wed May 09 2007 Silvan Calarco 2.004-1mamba - package created by autospec