]> git.pld-linux.org Git - packages/perl-Mail-Sendmail.git/blob - perl-Mail-Sendmail.spec
- updated URL and dependencies
[packages/perl-Mail-Sendmail.git] / perl-Mail-Sendmail.spec
1 #
2 # Conditional build:
3 %bcond_with     tests   # unit tests (need network connection)
4
5 %define         pdir    Mail
6 %define         pnam    Sendmail
7 Summary:        Mail::Sendmail Perl module
8 Summary(pl.UTF-8):      Moduł Perla Mail::Sendmail
9 Name:           perl-Mail-Sendmail
10 Version:        0.80
11 Release:        1
12 License:        unknown
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
20 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 Mail::Sendmail is a simple platform independent mailer.
25
26 %description -l pl.UTF-8
27 Mail::Sendmail to prosty, niezależny od platformy moduł do wysyłania
28 poczty.
29
30 %prep
31 %setup -q -n %{pdir}-%{pnam}-%{version}
32
33 %build
34 %{__perl} Makefile.PL \
35         INSTALLDIRS=vendor
36 %{__make}
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40
41 %{__make} install \
42         DESTDIR=$RPM_BUILD_ROOT
43
44 %{?with_tests:%{__make} test}
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %doc Changes README Todo
52 %{perl_vendorlib}/Mail/Sendmail.pm
53 %{_mandir}/man3/Mail::Sendmail.3pm*
This page took 0.076314 seconds and 4 git commands to generate.