3 %bcond_without tests # do not perform "make test"
7 Summary: Email::Find - find RFC 822 email addresses in plain text
8 Summary(pl.UTF-8): Email::Find - wyszukiwanie adresów pocztowych RFC 822 w czystym tekście
13 License: GPL v1+ 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: b38339e6c4ef0a13818195d50a193545
17 URL: http://search.cpan.org/dist/Email-Find/
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRequires: perl(Mail::Address)
22 BuildRequires: perl-Email-Valid
23 BuildRequires: perl-Test-Simple
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 Email::Find is a module for finding a _subset_ of RFC 822 email
30 addresses in arbitrary text. The addresses it finds are not guaranteed
31 to exist or even actually be email addresses at all, but they will be
34 %description -l pl.UTF-8
35 Email::Font to moduł do wyszukiwania _podzbioru_ adresów pocztowych
36 RFC 822 w dowolnym tekście. Nie ma gwarancji, że znalezione adresy
37 będą istniały lub nawet faktycznie będą adresami pocztowymi, ale będą
38 miały składnie zgodną z RFC 822.
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}/%{pdir}/*.pm
63 %{perl_vendorlib}/%{pdir}/%{pnam}