3 %bcond_with tests # unit tests (need network connection)
7 Summary: Mail::Sendmail Perl module
8 Summary(pl.UTF-8): Moduł Perla Mail::Sendmail
9 Name: perl-Mail-Sendmail
13 Group: Development/Languages/Perl
14 Source0: http://www.cpan.org/modules/by-module/Mail/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5: be1d23ebc2edc744ab2457f2086b4e2b
16 URL: https://metacpan.org/release/Mail-Sendmail
17 BuildRequires: perl-devel >= 1:5.8.0
18 BuildRequires: rpm-perlprov >= 4.1-13
19 BuildRequires: rpmbuild(macros) >= 1.745
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 Mail::Sendmail is a simple platform independent mailer.
26 %description -l pl.UTF-8
27 Mail::Sendmail to prosty, niezależny od platformy moduł do wysyłania
31 %setup -q -n %{pdir}-%{pnam}-%{version}
34 %{__perl} Makefile.PL \
39 rm -rf $RPM_BUILD_ROOT
42 DESTDIR=$RPM_BUILD_ROOT
44 %{?with_tests:%{__make} test}
47 rm -rf $RPM_BUILD_ROOT
50 %defattr(644,root,root,755)
51 %doc Changes README Todo
52 %{perl_vendorlib}/Mail/Sendmail.pm
53 %{_mandir}/man3/Mail::Sendmail.3pm*