3 %bcond_without tests # do not perform "make test"
7 Summary: Email::Address - RFC 2822 Address Parsing and Creation
8 Summary(pl.UTF-8): Email::Address - analiza i tworzenie adresów zgodnych z RFC 2822
9 Name: perl-Email-Address
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/Email/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: 24a75497f11e8a8225cb6d99a5e6e647
17 URL: http://search.cpan.org/dist/Email-Address/
18 BuildRequires: perl-ExtUtils-MakeMaker >= 6.30
19 BuildRequires: perl-devel >= 1:5.8.0
20 BuildRequires: rpm-perlprov >= 4.1-13
22 BuildRequires: perl-Capture-Tiny
23 BuildRequires: perl-Encode
24 BuildRequires: perl-Test-Simple >= 0.96
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 This class implements a complete RFC 2822 parser that locates email
31 addresses in strings and returns a list of Email::Address objects
32 found. Alternatley you may construct objects manually. The goal of
33 this software is to be correct, very very fast, and API compatible
34 with the MailTools version. Did I mention fast?
36 %description -l pl.UTF-8
37 Ta klasa implementuje zgodny z RFC 2822 parser odnajdujący adresy
38 email w ciągach znaków i zwraca listę obiektów Email::Address. Możliwe
39 jest także tworzenie takich obiektów ręczenie. Oprogramowanie to ma
40 być poprawne, bardzo, bardzo szybkie, i z API zgodnym z MailTools.
43 %setup -q -n %{pdir}-%{pnam}-%{version}
46 %{__perl} Makefile.PL \
51 %{?with_tests:%{__make} test}
54 rm -rf $RPM_BUILD_ROOT
57 DESTDIR=$RPM_BUILD_ROOT
60 rm -rf $RPM_BUILD_ROOT
63 %defattr(644,root,root,755)
65 %{perl_vendorlib}/Email/Address.pm
66 %{_mandir}/man3/Email::Address.3pm*