/[smeserver]/rpms/perl-Mail-DMARC/sme10/perl-Mail-DMARC.spec
ViewVC logotype

Contents of /rpms/perl-Mail-DMARC/sme10/perl-Mail-DMARC.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.4 - (show annotations) (download)
Sat May 20 11:24:19 2017 UTC (7 years, 6 months ago) by vip-ire
Branch: MAIN
CVS Tags: perl-Mail-DMARC-1_20141206-2_el7_sme
Changes since 1.3: +6 -1 lines
* Sat May 20 2017 Daniel Berteaud <daniel@firewall-services.com> 1.20141206-2
- Handle undef domains (like bounces) [SME: 10318]

1 Name: perl-Mail-DMARC
2 Version: 1.20141206
3 Release: 2%{?dist}
4 Summary: Perl implementation of DMARC
5 License: GPL+ or Artistic
6 Group: Development/Libraries
7 URL: http://search.cpan.org/dist/Mail-DMARC/
8 Source0: http://www.cpan.org/modules/by-module/Mail/Mail-DMARC-%{version}.tar.gz
9 Patch0: Mail-DMARC-1.20141206-build_fix.patch
10 Patch1: Mail-DMARC-1.20141206-use_email_mime_creator.patch
11 Patch2: Mail-DMARC-1.20141206-dont_set_date_manually.patch
12 Patch3: Mail-DMARC-1.20141206-handle_undef_domains.patch
13 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
14 BuildArch: noarch
15 BuildRequires: perl >= 0:5.008
16 BuildRequires: perl(Carp)
17 BuildRequires: perl(CGI)
18 BuildRequires: perl(Config::Tiny)
19 BuildRequires: perl(CPAN)
20 BuildRequires: perl(Data::Dumper)
21 #BuildRequires: perl(DBD::SQLite) >= 1.31
22 BuildRequires: perl(DBIx::Simple)
23 BuildRequires: perl(Email::MIME)
24 BuildRequires: perl(Email::MIME::Creator)
25 BuildRequires: perl(Email::Simple)
26 BuildRequires: perl(Encode)
27 BuildRequires: perl(File::ShareDir)
28 BuildRequires: perl(Getopt::Long)
29 BuildRequires: perl(IO::Compress::Gzip)
30 BuildRequires: perl(IO::Compress::Zip)
31 BuildRequires: perl(IO::Uncompress::Gunzip)
32 BuildRequires: perl(IO::Uncompress::Unzip)
33 BuildRequires: perl(JSON)
34 BuildRequires: perl(Module::Build)
35 BuildRequires: perl(Net::DNS::Resolver)
36 BuildRequires: perl(Net::HTTP)
37 BuildRequires: perl(Net::IMAP::Simple)
38 BuildRequires: perl(Net::IP)
39 BuildRequires: perl(Net::SMTPS)
40 BuildRequires: perl(parent)
41 BuildRequires: perl(Pod::Usage)
42 BuildRequires: perl(Regexp::Common) >= 2013031301
43 BuildRequires: perl(Socket)
44 BuildRequires: perl(Socket6) >= 0.23
45 BuildRequires: perl(Test::More)
46 BuildRequires: perl(URI)
47 BuildRequires: perl(XML::LibXML)
48 Requires: perl(Carp)
49 Requires: perl(CGI)
50 Requires: perl(Config::Tiny)
51 Requires: perl(CPAN)
52 Requires: perl(Data::Dumper)
53 Requires: perl(DBD::SQLite) >= 1.31
54 Requires: perl(DBIx::Simple)
55 Requires: perl(Email::MIME)
56 Requires: perl(Email::MIME::Creator)
57 Requires: perl(Email::Simple)
58 Requires: perl(Encode)
59 Requires: perl(File::ShareDir)
60 Requires: perl(Getopt::Long)
61 Requires: perl(IO::Compress::Gzip)
62 Requires: perl(IO::Compress::Zip)
63 Requires: perl(IO::Uncompress::Gunzip)
64 Requires: perl(IO::Uncompress::Unzip)
65 Requires: perl(JSON)
66 Requires: perl(Net::DNS::Resolver)
67 Requires: perl(Net::HTTP)
68 Requires: perl(Net::IMAP::Simple)
69 Requires: perl(Net::IP)
70 Requires: perl(Net::SMTPS)
71 Requires: perl(parent)
72 Requires: perl(Pod::Usage)
73 Requires: perl(Regexp::Common) >= 2013031301
74 Requires: perl(Socket)
75 Requires: perl(Socket6) >= 0.23
76 Requires: perl(URI)
77 Requires: perl(XML::LibXML)
78 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
79
80 %description
81 This module is a suite of tools for implementing DMARC. It adheres very
82 tightly to the 2013 DMARC draft, intending to implement every MUST and
83 every SHOULD.
84
85 %prep
86 %setup -q -n Mail-DMARC-%{version}
87 %patch0 -p1
88 %patch1 -p1
89 %patch2 -p1
90 %patch3 -p1
91
92 %build
93 %{__perl} Build.PL installdirs=vendor
94 ./Build
95
96 %install
97 rm -rf $RPM_BUILD_ROOT
98
99 ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
100 %{__mkdir_p} $RPM_BUILD_ROOT/%{_sysconfdir}/
101 %{__mkdir_p} $RPM_BUILD_ROOT/%{perl_vendorlib}/auto/share/dist/Mail-DMARC
102 cp mail-dmarc.ini $RPM_BUILD_ROOT/%{_sysconfdir}/
103 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
104
105 %{_fixperms} $RPM_BUILD_ROOT/*
106
107
108 %check
109 ./Build test
110
111 %clean
112 rm -rf $RPM_BUILD_ROOT
113
114 %files
115 %defattr(-,root,root,-)
116 %doc Changes DEVELOP.md dist.ini example FAQ.md LICENSE mail-dmarc.ini README README.mkdn share TODO.md
117 %config(noreplace) %{_sysconfdir}/mail-dmarc.ini
118 %{perl_vendorlib}/*
119 %{_mandir}/man3/*
120 %{_mandir}/man1/*
121 %{_bindir}/dmarc_*
122
123 %changelog
124 * Sat May 20 2017 Daniel Berteaud <daniel@firewall-services.com> 1.20141206-2
125 - Handle undef domains (like bounces) [SME: 10318]
126
127 * Thu May 5 2016 Daniel Berteaud <daniel@firewall-services.com> 1.20141206-1
128 - First build using cpanspec
129 - Patch to support building with older Module::Build
130 - Patch to support older Email::MIME (before it merged Email::MIME::Creator)
131 - Patch to let Email::MIME::Creator set the Date automatically as the manual date
132 doesn't work with some locales (at least fr)
133

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed