1 |
Name: perl-Mail-DMARC |
Name: perl-Mail-DMARC |
2 |
Version: 1.20141206 |
Version: 1.20141206 |
3 |
Release: 1%{?dist} |
Release: 2%{?dist} |
4 |
Summary: Perl implementation of DMARC |
Summary: Perl implementation of DMARC |
5 |
License: GPL+ or Artistic |
License: GPL+ or Artistic |
6 |
Group: Development/Libraries |
Group: Development/Libraries |
9 |
Patch0: Mail-DMARC-1.20141206-build_fix.patch |
Patch0: Mail-DMARC-1.20141206-build_fix.patch |
10 |
Patch1: Mail-DMARC-1.20141206-use_email_mime_creator.patch |
Patch1: Mail-DMARC-1.20141206-use_email_mime_creator.patch |
11 |
Patch2: Mail-DMARC-1.20141206-dont_set_date_manually.patch |
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) |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
14 |
BuildArch: noarch |
BuildArch: noarch |
15 |
BuildRequires: perl >= 0:5.008 |
BuildRequires: perl >= 0:5.008 |
50 |
Requires: perl(Config::Tiny) |
Requires: perl(Config::Tiny) |
51 |
Requires: perl(CPAN) |
Requires: perl(CPAN) |
52 |
Requires: perl(Data::Dumper) |
Requires: perl(Data::Dumper) |
53 |
#Requires: perl(DBD::SQLite) >= 1.31 |
Requires: perl(DBD::SQLite) >= 1.31 |
54 |
Requires: perl(DBIx::Simple) |
Requires: perl(DBIx::Simple) |
55 |
Requires: perl(Email::MIME) |
Requires: perl(Email::MIME) |
56 |
Requires: perl(Email::MIME::Creator) |
Requires: perl(Email::MIME::Creator) |
87 |
%patch0 -p1 |
%patch0 -p1 |
88 |
%patch1 -p1 |
%patch1 -p1 |
89 |
%patch2 -p1 |
%patch2 -p1 |
90 |
|
%patch3 -p1 |
91 |
|
|
92 |
%build |
%build |
93 |
%{__perl} Build.PL installdirs=vendor |
%{__perl} Build.PL installdirs=vendor |
100 |
%{__mkdir_p} $RPM_BUILD_ROOT/%{_sysconfdir}/ |
%{__mkdir_p} $RPM_BUILD_ROOT/%{_sysconfdir}/ |
101 |
%{__mkdir_p} $RPM_BUILD_ROOT/%{perl_vendorlib}/auto/share/dist/Mail-DMARC |
%{__mkdir_p} $RPM_BUILD_ROOT/%{perl_vendorlib}/auto/share/dist/Mail-DMARC |
102 |
cp mail-dmarc.ini $RPM_BUILD_ROOT/%{_sysconfdir}/ |
cp mail-dmarc.ini $RPM_BUILD_ROOT/%{_sysconfdir}/ |
|
cp share/public_suffix_list $RPM_BUILD_ROOT/%{perl_vendorlib}/auto/share/dist/Mail-DMARC/ |
|
|
cp -r share/html $RPM_BUILD_ROOT/%{perl_vendorlib}/auto/share/dist/Mail-DMARC/ |
|
103 |
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; |
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; |
104 |
|
|
105 |
%{_fixperms} $RPM_BUILD_ROOT/* |
%{_fixperms} $RPM_BUILD_ROOT/* |
121 |
%{_bindir}/dmarc_* |
%{_bindir}/dmarc_* |
122 |
|
|
123 |
%changelog |
%changelog |
124 |
* Thu Apr 5 2016 Daniel Berteaud <daniel@firewall-services.com> 1.20141206-1 |
* 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 |
- First build using cpanspec |
129 |
- Patch to support building with older Module::Build |
- Patch to support building with older Module::Build |
130 |
- Patch to support older Email::MIME (before it merged Email::MIME::Creator) |
- Patch to support older Email::MIME (before it merged Email::MIME::Creator) |