]> git.pld-linux.org Git - packages/perl-Mail-Sendmail.git/blame - perl-Mail-Sendmail.spec
- updated URL and dependencies
[packages/perl-Mail-Sendmail.git] / perl-Mail-Sendmail.spec
CommitLineData
d94f810b 1#
2# Conditional build:
c429f2fb 3%bcond_with tests # unit tests (need network connection)
ab57946e 4
85d5fca6 5%define pdir Mail
6%define pnam Sendmail
c429f2fb
JB
7Summary: Mail::Sendmail Perl module
8Summary(pl.UTF-8): Moduł Perla Mail::Sendmail
e0a7e82d 9Name: perl-Mail-Sendmail
d614112d
AM
10Version: 0.80
11Release: 1
d94f810b 12License: unknown
e0a7e82d 13Group: Development/Languages/Perl
c429f2fb 14Source0: http://www.cpan.org/modules/by-module/Mail/%{pdir}-%{pnam}-%{version}.tar.gz
d614112d 15# Source0-md5: be1d23ebc2edc744ab2457f2086b4e2b
c429f2fb 16URL: https://metacpan.org/release/Mail-Sendmail
fb9855f1 17BuildRequires: perl-devel >= 1:5.8.0
ab57946e 18BuildRequires: rpm-perlprov >= 4.1-13
c429f2fb 19BuildRequires: rpmbuild(macros) >= 1.745
8fd27413 20BuildArch: noarch
726c8a77 21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
e0a7e82d 22
23%description
a56f1f40 24Mail::Sendmail is a simple platform independent mailer.
e0a7e82d 25
bf77d727
JR
26%description -l pl.UTF-8
27Mail::Sendmail to prosty, niezależny od platformy moduł do wysyłania
93439753 28poczty.
e0a7e82d 29
30%prep
94e98110 31%setup -q -n %{pdir}-%{pnam}-%{version}
e0a7e82d 32
33%build
f28ef6c2 34%{__perl} Makefile.PL \
32a5b20e 35 INSTALLDIRS=vendor
a395b35a 36%{__make}
e0a7e82d 37
38%install
39rm -rf $RPM_BUILD_ROOT
e0a7e82d 40
c4234867 41%{__make} install \
42 DESTDIR=$RPM_BUILD_ROOT
e0a7e82d 43
d94f810b 44%{?with_tests:%{__make} test}
45
e0a7e82d 46%clean
47rm -rf $RPM_BUILD_ROOT
48
49%files
50%defattr(644,root,root,755)
5a2912ce 51%doc Changes README Todo
f28ef6c2 52%{perl_vendorlib}/Mail/Sendmail.pm
c429f2fb 53%{_mandir}/man3/Mail::Sendmail.3pm*
This page took 0.118013 seconds and 4 git commands to generate.