|
|
|
@ -1,20 +1,26 @@
|
|
|
|
|
Name: perl-Mail-Sendmail
|
|
|
|
|
Version: 0.79
|
|
|
|
|
Release: 32%{?dist}
|
|
|
|
|
Version: 0.80
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Simple platform independent mailer for Perl
|
|
|
|
|
|
|
|
|
|
License: Copyright only
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
URL: http://search.cpan.org/dist/Mail-Sendmail/
|
|
|
|
|
Source0: http://www.cpan.org/authors/id/M/MI/MIVKOVIC/Mail-Sendmail-%{version}.tar.gz
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
Source0: http://www.cpan.org/authors/id/N/NE/NEILB/Mail-Sendmail-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
BuildRequires: findutils
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
# Not picked up automatically.
|
|
|
|
|
Requires: perl(MIME::QuotedPrint)
|
|
|
|
|
Recommends: perl(Digest::MD5)
|
|
|
|
|
Recommends: perl(MIME::Base64)
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Mail::Sendmail is a simple platform independent library for sending
|
|
|
|
@ -29,15 +35,12 @@ easy to setup and use.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
|
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
|
|
|
|
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
|
|
|
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
chmod -R u+w $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -45,18 +48,17 @@ chmod -R u+w $RPM_BUILD_ROOT/*
|
|
|
|
|
# We don't want to send the test mail -> no make test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc Changes README Sendmail.html Todo
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%doc Changes README Todo
|
|
|
|
|
%{perl_vendorlib}/Mail/
|
|
|
|
|
%{_mandir}/man3/*.3pm*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Aug 21 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.80-1
|
|
|
|
|
- 0.80 bump
|
|
|
|
|
|
|
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.79-32
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|