3 %bcond_without tests # do not perform "make test"
7 Summary: MIME::Explode - Perl extension for explode MIME messages
8 Summary(pl.UTF-8): MIME::Explode - rozszerzenie Perla do rozbijania wiadomości MIME
9 Name: perl-MIME-Explode
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/MIME/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: 87be0487497ee30b4566ceac2dbaf733
17 URL: http://search.cpan.org/dist/MIME-Explode/
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 MIME::Explode is Perl module for parsing and decoding single or
24 multipart MIME messages, and outputting its decoded components to a
25 given directory. This module is designed to allows users to extract
26 the attached files out of a MIME encoded email messages or mailboxes.
28 %description -l pl.UTF-8
29 MIME::Explode to moduł Perla do analizy i dekodowania jedno- i
30 wieloczęściowych wiadomości MIME oraz zapisu zdekodowanych składników
31 do podanego katalogu. Ten moduł został opracowany aby umożliwić
32 użytkownikom wydobywanie załączników z zakodowanych MIME wiadomości
33 lub skrzynek pocztowych.
36 %setup -q -n %{pdir}-%{pnam}-%{version}
39 %{__perl} Makefile.PL \
44 OPTIMIZE="%{rpmcflags}"
46 %{?with_tests:%{__make} test}
49 rm -rf $RPM_BUILD_ROOT
52 DESTDIR=$RPM_BUILD_ROOT
55 rm -rf $RPM_BUILD_ROOT
58 %defattr(644,root,root,755)
60 %{perl_vendorarch}/MIME/Explode.pm
61 %dir %{perl_vendorarch}/auto/MIME/Explode
62 %{perl_vendorarch}/auto/MIME/Explode/autosplit.ix
63 %attr(755,root,root) %{perl_vendorarch}/auto/MIME/Explode/Explode.so