Files
perl-Mail-Milter-Authentica…/perl-Mail-Milter-Authentication.spec

228 lines
11 KiB
RPMSpec

#
# spec file for package perl-Mail-Milter-Authentication
#
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define cpan_name Mail-Milter-Authentication
Name: perl-Mail-Milter-Authentication
Version: 4.202.508.110
Release: 0
# 4.20250811 -> normalize -> 4.202.508.110
%define cpan_version 4.20250811
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Perl Mail Authentication Milter
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/M/MB/MBRADSHAW/%{cpan_name}-%{cpan_version}.tar.gz
Source100: README.md
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(App::Cmd::Setup)
BuildRequires: perl(Clone)
BuildRequires: perl(Crypt::OpenSSL::RSA)
BuildRequires: perl(Date::Format)
BuildRequires: perl(Date::Manip::Date)
BuildRequires: perl(Digest::SHA)
BuildRequires: perl(Email::Address::XS) >= 1.50
BuildRequires: perl(Email::Date::Format)
BuildRequires: perl(Email::Sender::Simple)
BuildRequires: perl(Email::Simple)
BuildRequires: perl(Email::Simple::Creator)
BuildRequires: perl(File::ShareDir::Install) >= 0.60
BuildRequires: perl(File::Slurp)
BuildRequires: perl(Import::Into)
BuildRequires: perl(JSON::XS)
BuildRequires: perl(List::MoreUtils)
BuildRequires: perl(Lock::File)
BuildRequires: perl(Log::Dispatchouli)
BuildRequires: perl(Mail::AuthenticationResults) >= 2.202.301.120
BuildRequires: perl(Mail::AuthenticationResults::Header)
BuildRequires: perl(Mail::AuthenticationResults::Header::AuthServID)
BuildRequires: perl(Mail::AuthenticationResults::Header::Comment)
BuildRequires: perl(Mail::AuthenticationResults::Header::Entry)
BuildRequires: perl(Mail::AuthenticationResults::Header::SubEntry)
BuildRequires: perl(Mail::AuthenticationResults::Parser)
BuildRequires: perl(Mail::BIMI) >= 3.202.309.130
BuildRequires: perl(Mail::DKIM) >= 1.202.8.240
BuildRequires: perl(Mail::DKIM::ARC::Signer)
BuildRequires: perl(Mail::DKIM::ARC::Verifier)
BuildRequires: perl(Mail::DKIM::DNS)
BuildRequires: perl(Mail::DKIM::KeyValueList)
BuildRequires: perl(Mail::DKIM::PrivateKey)
BuildRequires: perl(Mail::DKIM::Signer)
BuildRequires: perl(Mail::DKIM::TextWrap)
BuildRequires: perl(Mail::DKIM::Verifier)
BuildRequires: perl(Mail::DMARC::PurePerl) >= 1.201.606.120
BuildRequires: perl(Mail::DataFeed::Abusix) >= 1.20200617.1
BuildRequires: perl(Mail::SPF)
BuildRequires: perl(Module::Load)
BuildRequires: perl(Module::Loaded)
BuildRequires: perl(Net::DNS) >= 1.10
BuildRequires: perl(Net::DNS::Resolver)
BuildRequires: perl(Net::DNS::Resolver::Mock) >= 1.201.712.190
BuildRequires: perl(Net::IP)
BuildRequires: perl(Net::Server::PreFork)
BuildRequires: perl(Proc::ProcessTable)
BuildRequires: perl(Prometheus::Tiny::Shared) >= 0.20
BuildRequires: perl(SUPER)
BuildRequires: perl(Sereal)
BuildRequires: perl(TOML)
BuildRequires: perl(Test::Exception)
BuildRequires: perl(Test::File::Contents)
BuildRequires: perl(Test::Perl::Critic)
BuildRequires: perl(Text::Table)
BuildRequires: perl(feature)
Requires: perl(App::Cmd::Setup)
Requires: perl(Clone)
Requires: perl(Date::Format)
Requires: perl(Date::Manip::Date)
Requires: perl(Digest::SHA)
Requires: perl(Email::Address::XS) >= 1.50
Requires: perl(Email::Date::Format)
Requires: perl(Email::Sender::Simple)
Requires: perl(Email::Simple)
Requires: perl(Email::Simple::Creator)
Requires: perl(File::Slurp)
Requires: perl(Import::Into)
Requires: perl(JSON::XS)
Requires: perl(List::MoreUtils)
Requires: perl(Lock::File)
Requires: perl(Log::Dispatchouli)
Requires: perl(Mail::AuthenticationResults) >= 2.202.301.120
Requires: perl(Mail::AuthenticationResults::Header)
Requires: perl(Mail::AuthenticationResults::Header::AuthServID)
Requires: perl(Mail::AuthenticationResults::Header::Comment)
Requires: perl(Mail::AuthenticationResults::Header::Entry)
Requires: perl(Mail::AuthenticationResults::Header::SubEntry)
Requires: perl(Mail::AuthenticationResults::Parser)
Requires: perl(Mail::BIMI) >= 3.202.309.130
Requires: perl(Mail::DKIM) >= 1.202.8.240
Requires: perl(Mail::DKIM::ARC::Signer)
Requires: perl(Mail::DKIM::ARC::Verifier)
Requires: perl(Mail::DKIM::DNS)
Requires: perl(Mail::DKIM::KeyValueList)
Requires: perl(Mail::DKIM::TextWrap)
Requires: perl(Mail::DKIM::Verifier)
Requires: perl(Mail::DMARC::PurePerl) >= 1.201.606.120
Requires: perl(Mail::DataFeed::Abusix) >= 1.20200617.1
Requires: perl(Mail::SPF)
Requires: perl(Module::Load)
Requires: perl(Module::Loaded)
Requires: perl(Net::DNS) >= 1.10
Requires: perl(Net::DNS::Resolver)
Requires: perl(Net::DNS::Resolver::Mock) >= 1.201.712.190
Requires: perl(Net::IP)
Requires: perl(Net::Server::PreFork)
Requires: perl(Proc::ProcessTable)
Requires: perl(Prometheus::Tiny::Shared) >= 0.20
Requires: perl(SUPER)
Requires: perl(Sereal)
Requires: perl(TOML)
Requires: perl(Test::File::Contents)
Requires: perl(Text::Table)
Requires: perl(feature)
Provides: perl(AuthMilterTest)
Provides: perl(Mail::Milter::Authentication) = %{version}
Provides: perl(Mail::Milter::Authentication::App::Blocker::App) = %{version}
Provides: perl(Mail::Milter::Authentication::App::Blocker::App::Command::add) = %{version}
Provides: perl(Mail::Milter::Authentication::App::Blocker::App::Command::delete) = %{version}
Provides: perl(Mail::Milter::Authentication::App::Blocker::App::Command::list) = %{version}
Provides: perl(Mail::Milter::Authentication::App::ProcessLog::App) = %{version}
Provides: perl(Mail::Milter::Authentication::App::ProcessLog::App::Command::arex) = %{version}
Provides: perl(Mail::Milter::Authentication::Client) = %{version}
Provides: perl(Mail::Milter::Authentication::Config) = %{version}
Provides: perl(Mail::Milter::Authentication::Constants) = %{version}
Provides: perl(Mail::Milter::Authentication::Exception) = %{version}
Provides: perl(Mail::Milter::Authentication::HTDocs) = %{version}
Provides: perl(Mail::Milter::Authentication::Handler) = %{version}
Provides: perl(Mail::Milter::Authentication::Handler::ARC) = %{version}
Provides: perl(Mail::Milter::Authentication::Handler::AbusixDataFeed) = %{version}
Provides: perl(Mail::Milter::Authentication::Handler::AddID) = %{version}
Provides: perl(Mail::Milter::Authentication::Handler::AlignedFrom) = %{version}
Provides: perl(Mail::Milter::Authentication::Handler::Auth) = %{version}
Provides: perl(Mail::Milter::Authentication::Handler::BIMI) = %{version}
Provides: perl(Mail::Milter::Authentication::Handler::Blocker) = %{version}
Provides: perl(Mail::Milter::Authentication::Handler::DKIM) = %{version}
Provides: perl(Mail::Milter::Authentication::Handler::DMARC) = %{version}
Provides: perl(Mail::Milter::Authentication::Handler::IPRev) = %{version}
Provides: perl(Mail::Milter::Authentication::Handler::LocalIP) = %{version}
Provides: perl(Mail::Milter::Authentication::Handler::Logger) = %{version}
Provides: perl(Mail::Milter::Authentication::Handler::PTR) = %{version}
Provides: perl(Mail::Milter::Authentication::Handler::RBLDNS) = %{version}
Provides: perl(Mail::Milter::Authentication::Handler::ReturnOK) = %{version}
Provides: perl(Mail::Milter::Authentication::Handler::SPF) = %{version}
Provides: perl(Mail::Milter::Authentication::Handler::Sanitize) = %{version}
Provides: perl(Mail::Milter::Authentication::Handler::SenderID) = %{version}
Provides: perl(Mail::Milter::Authentication::Handler::Size) = %{version}
Provides: perl(Mail::Milter::Authentication::Handler::TLS) = %{version}
Provides: perl(Mail::Milter::Authentication::Handler::TestTimeout) = %{version}
Provides: perl(Mail::Milter::Authentication::Handler::TrustedIP) = %{version}
Provides: perl(Mail::Milter::Authentication::Handler::XGoogleDKIM) = %{version}
Provides: perl(Mail::Milter::Authentication::Metric) = %{version}
Provides: perl(Mail::Milter::Authentication::Metric::Grafana) = %{version}
Provides: perl(Mail::Milter::Authentication::Net::Milter) = %{version}
Provides: perl(Mail::Milter::Authentication::Net::ServerPatches) = %{version}
Provides: perl(Mail::Milter::Authentication::Pragmas) = %{version}
Provides: perl(Mail::Milter::Authentication::Protocol::Milter) = %{version}
Provides: perl(Mail::Milter::Authentication::Protocol::SMTP) = %{version}
Provides: perl(Mail::Milter::Authentication::Resolver) = %{version}
Provides: perl(Mail::Milter::Authentication::Tester) = %{version}
Provides: perl(Mail::Milter::Authentication::Tester::HandlerTester) = %{version}
Provides: perl(Module::AutoInstall) = 1.180.0
Provides: perl(Module::Install) = 1.180.0
Provides: perl(Module::Install::AutoInstall) = 1.180.0
Provides: perl(Module::Install::Base) = 1.180.0
Provides: perl(Module::Install::Base::FakeAdmin)
Provides: perl(Module::Install::Can) = 1.180.0
Provides: perl(Module::Install::Fetch) = 1.180.0
Provides: perl(Module::Install::Include) = 1.180.0
Provides: perl(Module::Install::Makefile) = 1.180.0
Provides: perl(Module::Install::Metadata) = 1.180.0
Provides: perl(Module::Install::Scripts) = 1.180.0
Provides: perl(Module::Install::Share) = 1.180.0
Provides: perl(Module::Install::Win32) = 1.180.0
Provides: perl(Module::Install::WriteAll) = 1.180.0
Provides: perl(TestAlignedFromHandler)
%undefine __perllib_provides
%{perl_requires}
%description
A Perl Implementation of email authentication standards rolled up into a
single easy to use milter.
%prep
%autosetup -n %{cpan_name}-%{cpan_version} -p1
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build
PERL_USE_UNSAFE_INC=1 perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%doc Changes README README.md
%license LICENSE
%changelog