]> git.pld-linux.org Git - packages/perl-MIME-Explode.git/blame - perl-MIME-Explode.spec
- release 6 (by relup.sh)
[packages/perl-MIME-Explode.git] / perl-MIME-Explode.spec
CommitLineData
404ef209
JB
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
5%include /usr/lib/rpm/macros.perl
cbb1139f 6%define pdir MIME
7%define pnam Explode
404ef209 8Summary: MIME::Explode - Perl extension for explode MIME messages
3380d14d 9Summary(pl.UTF-8): MIME::Explode - rozszerzenie Perla do rozbijania wiadomości MIME
404ef209 10Name: perl-MIME-Explode
b9d39a1c 11Version: 0.39
e52cd907 12Release: 6
404ef209 13# same as perl
70a08683 14License: GPL v1+ or Artistic
404ef209 15Group: Development/Languages/Perl
714aac98 16Source0: http://www.cpan.org/modules/by-module/MIME/%{pdir}-%{pnam}-%{version}.tar.gz
b9d39a1c 17# Source0-md5: 87be0487497ee30b4566ceac2dbaf733
714aac98 18URL: http://search.cpan.org/dist/MIME-Explode/
404ef209
JB
19BuildRequires: perl-devel >= 1:5.8.0
20BuildRequires: rpm-perlprov >= 4.1-13
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24MIME::Explode is Perl module for parsing and decoding single or
25multipart MIME messages, and outputting its decoded components to a
26given directory. This module is designed to allows users to extract
27the attached files out of a MIME encoded email messages or mailboxes.
28
1e65fd62
JR
29%description -l pl.UTF-8
30MIME::Explode to moduł Perla do analizy i dekodowania jedno- i
31wieloczęściowych wiadomości MIME oraz zapisu zdekodowanych składników
32do podanego katalogu. Ten moduł został opracowany aby umożliwić
33użytkownikom wydobywanie załączników z zakodowanych MIME wiadomości
404ef209
JB
34lub skrzynek pocztowych.
35
36%prep
37%setup -q -n %{pdir}-%{pnam}-%{version}
38
39%build
40%{__perl} Makefile.PL \
41 INSTALLDIRS=vendor
42
43%{__make} \
1a7d2e4f 44 CC="%{__cc}" \
404ef209
JB
45 OPTIMIZE="%{rpmcflags}"
46
47%{?with_tests:%{__make} test}
48
49%install
50rm -rf $RPM_BUILD_ROOT
51
52%{__make} install \
53 DESTDIR=$RPM_BUILD_ROOT
54
55%clean
56rm -rf $RPM_BUILD_ROOT
57
58%files
59%defattr(644,root,root,755)
60%doc Changes README
61%{perl_vendorarch}/MIME/Explode.pm
62%dir %{perl_vendorarch}/auto/MIME/Explode
63%{perl_vendorarch}/auto/MIME/Explode/autosplit.ix
404ef209
JB
64%attr(755,root,root) %{perl_vendorarch}/auto/MIME/Explode/Explode.so
65%{_mandir}/man3/*
This page took 0.118322 seconds and 4 git commands to generate.