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

Contents of /rpms/perl-Mail-DMARC/sme9/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:31:40 2017 UTC (7 years, 5 months ago) by vip-ire
Branch: MAIN
CVS Tags: perl-Mail-DMARC-1_20141206-2_el6_sme, HEAD
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: 10321]

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

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