3 %bcond_without tests # do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
8 Summary: Email::MIME - easy MIME message parsing
9 Summary(pl): Email::MIME - ³atwe analizowanie wiadomo¶ci w formacie MIME
13 License: GPL or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: fe917f83f7ff5f6425e388857a7400eb
17 BuildRequires: perl-devel >= 1:5.8.0
18 BuildRequires: rpm-perlprov >= 4.1-13
20 BuildRequires: perl-Email-MIME-ContentType >= 1
21 BuildRequires: perl-Email-MIME-Encodings >= 1.3
22 BuildRequires: perl-Email-Simple >= 1:1.91
23 BuildRequires: perl-MIME-Types >= 1.13
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 This is an extension of the Email::Simple module, to handle MIME
30 encoded messages. It takes a message as a string, splits it up into
31 its constituent parts, and allows you access to various parts of the
32 message. Headers are decoded from MIME encoding.
35 Jest to rozszerzenie modu³u Email::Simple s³u¿±ce do obs³ugi
36 wiadomo¶ci w formacie MIME. Pobiera ono wiadomo¶æ jako ³añcuch
37 tekstowy, dzieli go na czê¶ci sk³adowe i umo¿liwia dostêp do
38 poszczególnych czê¶ci wiadomo¶ci. Nag³ówki równie¿ s± dekodowane.
41 %setup -q -n %{pdir}-%{pnam}-%{version}
44 %{__perl} Makefile.PL \
48 %{?with_tests:%{__make} test}
51 rm -rf $RPM_BUILD_ROOT
54 DESTDIR=$RPM_BUILD_ROOT
57 rm -rf $RPM_BUILD_ROOT
60 %defattr(644,root,root,755)
62 %{perl_vendorlib}/Email/*.pm