]> git.pld-linux.org Git - packages/perl-Mail-Sendmail.git/blob - perl-Mail-Sendmail.spec
ea106de966757eec7333fc06f898fedcc3386719
[packages/perl-Mail-Sendmail.git] / perl-Mail-Sendmail.spec
1 #
2 # Conditional build:
3 %bcond_with     tests   # do not perform "make test"
4                         # need network connection
5
6 %define         pdir    Mail
7 %define         pnam    Sendmail
8 Summary:        Mail::Sendmail perl module
9 Summary(pl.UTF-8):      Moduł perla Mail::Sendmail
10 Name:           perl-Mail-Sendmail
11 Version:        0.80
12 Release:        1
13 License:        unknown
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  be1d23ebc2edc744ab2457f2086b4e2b
17 URL:            http://search.cpan.org/dist/Mail-Sendmail/
18 BuildRequires:  perl-devel >= 1:5.8.0
19 BuildRequires:  rpm-perlprov >= 4.1-13
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/*
This page took 0.039445 seconds and 2 git commands to generate.