Files
perl-Mail-SPF-Query/perl-Mail-SPF-Query.spec
2025-08-12 18:15:15 +02:00

77 lines
2.0 KiB
RPMSpec

#
# spec file for package perl-Mail-SPF-Query
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#
# norootforbuild
Name: perl-Mail-SPF-Query
BuildRequires: perl-Net-CIDR-Lite perl-Net-DNS perl-Sys-Hostname-Long perl-URI
BuildRequires: perl-macros
Version: 1.999.1
Release: 20
Requires: perl-URI perl-Net-CIDR-Lite perl-Net-DNS perl-Net-IP perl-Sys-Hostname-Long
AutoReqProv: on
Group: Development/Libraries/Perl
License: Artistic License
Url: http://cpan.org/modules/by-module/Class/
Summary: perl module for verifying SPF records
Source: Mail-SPF-Query-%{version}.tar.gz
Source100: README.md
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
%description
The SPF protocol relies on sender domains to publish a DNS whitelist of
their designated outbound mailers. Given an envelope sender,
Mail::SPF::Query determines the legitimacy of an SMTP client IP.
SEE ALSO
http://spf.pobox.com/
Authors:
--------
Meng Weng Wong <mengwong+spf@pobox.com>
%prep
%setup -n Mail-SPF-Query-%{version}
%build
perl Makefile.PL
make
%install
rm -rf $RPM_BUILD_ROOT
%perl_make_install
%perl_process_packlist
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc CHANGES
%doc %{_mandir}/man?/*
/usr/bin/spfd
/usr/bin/spfquery
%{perl_vendorlib}/Mail
%{perl_vendorarch}/auto/Mail
%changelog