159 lines
6.2 KiB
RPMSpec
159 lines
6.2 KiB
RPMSpec
#
|
|
# spec file for package perl-Mail-BIMI
|
|
#
|
|
# Copyright (c) 2025 SUSE LLC
|
|
#
|
|
# 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-BIMI
|
|
Name: perl-Mail-BIMI
|
|
Version: 3.202.501.300
|
|
Release: 0
|
|
# 3.20250130 -> normalize -> 3.202.501.300
|
|
%define cpan_version 3.20250130
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
|
Summary: BIMI object
|
|
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(App::Cmd::Tester)
|
|
BuildRequires: perl(Cache::FastMmap)
|
|
BuildRequires: perl(Capture::Tiny)
|
|
BuildRequires: perl(Class::Load)
|
|
BuildRequires: perl(Convert::ASN1)
|
|
BuildRequires: perl(Crypt::OpenSSL::Verify) >= 0.200
|
|
BuildRequires: perl(Crypt::OpenSSL::X509) >= 1.812
|
|
BuildRequires: perl(Digest::SHA)
|
|
BuildRequires: perl(File::Slurp)
|
|
BuildRequires: perl(HTTP::Tiny::Paranoid)
|
|
BuildRequires: perl(IO::Uncompress::Gunzip)
|
|
BuildRequires: perl(Import::Into)
|
|
BuildRequires: perl(JSON)
|
|
BuildRequires: perl(Mail::AuthenticationResults::Header::Comment)
|
|
BuildRequires: perl(Mail::AuthenticationResults::Header::Entry)
|
|
BuildRequires: perl(Mail::AuthenticationResults::Header::SubEntry)
|
|
BuildRequires: perl(Mail::DMARC)
|
|
BuildRequires: perl(Mail::DMARC::PurePerl)
|
|
BuildRequires: perl(Mail::SPF::Request)
|
|
BuildRequires: perl(Mail::SPF::Server)
|
|
BuildRequires: perl(Moo)
|
|
BuildRequires: perl(Moose)
|
|
BuildRequires: perl(Moose::Role)
|
|
BuildRequires: perl(Moose::Util::TypeConstraints)
|
|
BuildRequires: perl(Mozilla::CA)
|
|
BuildRequires: perl(Net::DNS::Resolver)
|
|
BuildRequires: perl(Net::DNS::Resolver::Mock) >= 1.20200214
|
|
BuildRequires: perl(Pod::Elemental::Element::Nested)
|
|
BuildRequires: perl(Pod::Elemental::Element::Pod5::Command)
|
|
BuildRequires: perl(Pod::Elemental::Element::Pod5::Ordinary)
|
|
BuildRequires: perl(Pod::Weaver::Role::Section)
|
|
BuildRequires: perl(Sereal)
|
|
BuildRequires: perl(Sub::Install)
|
|
BuildRequires: perl(Test::Class)
|
|
BuildRequires: perl(Test::Differences)
|
|
BuildRequires: perl(Test::Exception)
|
|
BuildRequires: perl(Test::RequiresInternet)
|
|
BuildRequires: perl(Try::Tiny)
|
|
BuildRequires: perl(XML::LibXML) >= 2.0202
|
|
BuildRequires: perl(feature)
|
|
BuildRequires: perl(parent)
|
|
Requires: perl(App::Cmd::Setup)
|
|
Requires: perl(Cache::FastMmap)
|
|
Requires: perl(Convert::ASN1)
|
|
Requires: perl(Crypt::OpenSSL::Verify) >= 0.200
|
|
Requires: perl(Crypt::OpenSSL::X509) >= 1.812
|
|
Requires: perl(Digest::SHA)
|
|
Requires: perl(File::Slurp)
|
|
Requires: perl(HTTP::Tiny::Paranoid)
|
|
Requires: perl(IO::Uncompress::Gunzip)
|
|
Requires: perl(Import::Into)
|
|
Requires: perl(JSON)
|
|
Requires: perl(Mail::AuthenticationResults::Header::Comment)
|
|
Requires: perl(Mail::AuthenticationResults::Header::Entry)
|
|
Requires: perl(Mail::AuthenticationResults::Header::SubEntry)
|
|
Requires: perl(Mail::DMARC)
|
|
Requires: perl(Mail::DMARC::PurePerl)
|
|
Requires: perl(Moose)
|
|
Requires: perl(Moose::Role)
|
|
Requires: perl(Moose::Util::TypeConstraints)
|
|
Requires: perl(Mozilla::CA)
|
|
Requires: perl(Net::DNS::Resolver)
|
|
Requires: perl(Sereal)
|
|
Requires: perl(Sub::Install)
|
|
Requires: perl(XML::LibXML) >= 2.0202
|
|
Requires: perl(feature)
|
|
Requires: perl(parent)
|
|
Provides: perl(Mail::BIMI) = %{version}
|
|
Provides: perl(Mail::BIMI::App) = %{version}
|
|
Provides: perl(Mail::BIMI::App::Command::checkdomain) = %{version}
|
|
Provides: perl(Mail::BIMI::App::Command::checkrecord) = %{version}
|
|
Provides: perl(Mail::BIMI::App::Command::checksvg) = %{version}
|
|
Provides: perl(Mail::BIMI::App::Command::checkvmc) = %{version}
|
|
Provides: perl(Mail::BIMI::App::Command::svgfromvmc) = %{version}
|
|
Provides: perl(Mail::BIMI::Base) = %{version}
|
|
Provides: perl(Mail::BIMI::CacheBackend::FastMmap) = %{version}
|
|
Provides: perl(Mail::BIMI::CacheBackend::File) = %{version}
|
|
Provides: perl(Mail::BIMI::CacheBackend::Null) = %{version}
|
|
Provides: perl(Mail::BIMI::Constants) = %{version}
|
|
Provides: perl(Mail::BIMI::Error) = %{version}
|
|
Provides: perl(Mail::BIMI::Indicator) = %{version}
|
|
Provides: perl(Mail::BIMI::Options) = %{version}
|
|
Provides: perl(Mail::BIMI::Prelude) = %{version}
|
|
Provides: perl(Mail::BIMI::Record) = %{version}
|
|
Provides: perl(Mail::BIMI::Record::Authority) = %{version}
|
|
Provides: perl(Mail::BIMI::Record::Location) = %{version}
|
|
Provides: perl(Mail::BIMI::Result) = %{version}
|
|
Provides: perl(Mail::BIMI::Role::CacheBackend) = %{version}
|
|
Provides: perl(Mail::BIMI::Role::Cacheable) = %{version}
|
|
Provides: perl(Mail::BIMI::Role::Data) = %{version}
|
|
Provides: perl(Mail::BIMI::Role::HasError) = %{version}
|
|
Provides: perl(Mail::BIMI::Role::HasHTTPClient) = %{version}
|
|
Provides: perl(Mail::BIMI::Trait::CacheKey) = %{version}
|
|
Provides: perl(Mail::BIMI::Trait::CacheSerial) = %{version}
|
|
Provides: perl(Mail::BIMI::Trait::Cacheable) = %{version}
|
|
Provides: perl(Mail::BIMI::VMC) = %{version}
|
|
Provides: perl(Mail::BIMI::VMC::Cert) = %{version}
|
|
Provides: perl(Mail::BIMI::VMC::Chain) = %{version}
|
|
%undefine __perllib_provides
|
|
%{perl_requires}
|
|
|
|
%description
|
|
Brand Indicators for Message Identification (BIMI) retrieval, validation,
|
|
and processing
|
|
|
|
%prep
|
|
%autosetup -n %{cpan_name}-%{cpan_version} -p1
|
|
|
|
%build
|
|
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
|