]> git.pld-linux.org Git - packages/perl-Email-Reply.git/blame - perl-Email-Reply.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Email-Reply.git] / perl-Email-Reply.spec
CommitLineData
d1895297 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
d1895297 5%define pdir Email
6%define pnam Reply
ca56099a 7Summary: Email::Reply - reply to a message
dc47781c 8Summary(pl.UTF-8): Email::Reply - odpowiadanie na e-mail
d1895297 9Name: perl-Email-Reply
1ba324e7 10Version: 1.202
d1895297 11Release: 1
12# same as perl
13License: GPL v1+ or Artistic
14Group: Development/Languages/Perl
74d70e3f 15Source0: http://www.cpan.org/modules/by-module/Email/%{pdir}-%{pnam}-%{version}.tar.gz
1ba324e7 16# Source0-md5: a1d1758016232c98e4119b653d7e1421
74d70e3f 17URL: http://search.cpan.org/dist/Email-Reply/
d1895297 18BuildRequires: perl-devel >= 1:5.8.0
19BuildRequires: rpm-perlprov >= 4.1-13
20%if %{with tests}
30a3e1a0
MB
21BuildRequires: perl-Email-Abstract >= 2.01
22BuildRequires: perl-Email-Address >= 1.80
23BuildRequires: perl-Email-MIME >= 1.82
24BuildRequires: perl-Email-MIME-Creator >= 1.41
25BuildRequires: perl-Email-MIME-Modifier >= 1.42
d1895297 26%endif
27BuildArch: noarch
28BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30%description
ca56099a 31This software takes the hard out of generating replies to email
32messages.
d1895297 33
246797f4
JR
34%description -l pl.UTF-8
35Pakiet ten usuwa trudność generowania odpowiedzi na wiadomości e-mail.
d1895297 36
37%prep
38%setup -q -n %{pdir}-%{pnam}-%{version}
39
40%build
41%{__perl} Makefile.PL \
42 INSTALLDIRS=vendor
43%{__make}
44
45%{?with_tests:%{__make} test}
46
47%install
48rm -rf $RPM_BUILD_ROOT
49
50%{__make} install \
51 DESTDIR=$RPM_BUILD_ROOT
52
53%clean
54rm -rf $RPM_BUILD_ROOT
55
56%files
57%defattr(644,root,root,755)
58%doc Changes
59%{perl_vendorlib}/Email/*.pm
60%{_mandir}/man3/*
This page took 0.047466 seconds and 4 git commands to generate.