diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..546fd0b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/Mail-AuthenticationResults-2.20210112.tar.gz diff --git a/.perl-Mail-AuthenticationResults.metadata b/.perl-Mail-AuthenticationResults.metadata new file mode 100644 index 0000000..c4f59d0 --- /dev/null +++ b/.perl-Mail-AuthenticationResults.metadata @@ -0,0 +1 @@ +4296956590f5b65173a9ea01a0dafdac5ac8167e SOURCES/Mail-AuthenticationResults-2.20210112.tar.gz diff --git a/SPECS/perl-Mail-AuthenticationResults.spec b/SPECS/perl-Mail-AuthenticationResults.spec new file mode 100644 index 0000000..7b48d49 --- /dev/null +++ b/SPECS/perl-Mail-AuthenticationResults.spec @@ -0,0 +1,60 @@ +Name: perl-Mail-AuthenticationResults +Version: 2.20210112 +Release: 1%{?dist} +Summary: Object Oriented Authentication-Results Headers +License: GPL+ or Artistic +URL: http://search.cpan.org/dist/Mail-AuthenticationResults/ +Source0: http://www.cpan.org/modules/by-module/Mail/Mail-AuthenticationResults-%{version}.tar.gz +BuildArch: noarch + +BuildRequires: make +BuildRequires: perl >= 0:5.008 +BuildRequires: perl-generators +BuildRequires: perl(base) +BuildRequires: perl(Carp) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(JSON) +BuildRequires: perl(lib) +BuildRequires: perl(Scalar::Util) +BuildRequires: perl(strict) +BuildRequires: perl(Test::Exception) +BuildRequires: perl(Test::More) +BuildRequires: perl(warnings) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + + +%description +Object Oriented Authentication-Results email headers. + + +%prep +%setup -q -n Mail-AuthenticationResults-%{version} + + +%build +perl Makefile.PL INSTALLDIRS=vendor +%make_build + + +%install +make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT + +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} $RPM_BUILD_ROOT/* + + +%check +make test + + +%files +%license LICENSE +%doc Changes dist.ini README README.md +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Mon Nov 28 2022 Martin Osvald - 2.20210112-1 +- Initial version