]> git.pld-linux.org Git - packages/perl-MIME-Lite.git/blame - perl-MIME-Lite.spec
- reverted - moved to DEVEL (there's no required Email-Date-Format in PLD)
[packages/perl-MIME-Lite.git] / perl-MIME-Lite.spec
CommitLineData
1cf5d55d 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
4f28b1c0 5%include /usr/lib/rpm/macros.perl
b815fe25 6%define pdir MIME
7%define pnam Lite
3990834d 8Summary: MIME::Lite perl module
f0cb0bb4 9Summary(pl.UTF-8): Moduł perla MIME::Lite
22511b34 10Name: perl-MIME-Lite
72fc1ade
TP
11Version: 3.01
12Release: 2
1cf5d55d 13# same as perl
14License: GPL v1+ or Artisric
22511b34 15Group: Development/Languages/Perl
d4a263ef 16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
72fc1ade 17# Source0-md5: b41eb689819775fd8df360458fc2d507
663d5db8 18BuildRequires: rpm-perlprov >= 4.1-13
366ee46e 19BuildRequires: perl-devel >= 1:5.8.0
e75facb3 20BuildRequires: perl-libnet
75bd37f8 21BuildArch: noarch
6b78f350 22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22511b34 23
24%description
3990834d 25MIME::Lite is a simple, standalone module for generating MIME messages.
22511b34 26
7746f697
JR
27%description -l pl.UTF-8
28MIME::Lite jest prostym, samodzielnym modułem służącym do generowania
29wiadomości w formacie MIME.
22511b34 30
31%prep
4f28b1c0 32%setup -q -n %{pdir}-%{pnam}-%{version}
22511b34 33
34%build
663d5db8 35%{__perl} Makefile.PL \
20515edd 36 INSTALLDIRS=vendor
5d17e9a8 37%{__make}
22511b34 38
1cf5d55d 39%{?with_tests:%{__make} test}
40
22511b34 41%install
42rm -rf $RPM_BUILD_ROOT
22511b34 43
d40802db 44%{__make} install \
45 DESTDIR=$RPM_BUILD_ROOT
22511b34 46
22511b34 47%clean
48rm -rf $RPM_BUILD_ROOT
49
50%files
51%defattr(644,root,root,755)
652451e8 52%doc README examples
663d5db8 53%{perl_vendorlib}/MIME/Lite.pm
22511b34 54%{_mandir}/man3/*
This page took 0.087744 seconds and 4 git commands to generate.