1 %include /usr/lib/rpm/macros.perl
4 Summary: Email::Valid - module determines whether an email address is valid
5 Summary(pl.UTF-8): Email::Valid - moduł sprawdzający poprawność adresu e-mail
10 License: GPL v1+ or Artistic
11 Group: Development/Languages/Perl
12 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
13 # Source0-md5: 371b1552b81b93ffbf89cf2b1c1376c5
14 BuildRequires: perl-devel >= 1:5.8.0
16 BuildRequires: perl-MailTools
18 BuildRequires: rpm-perlprov >= 4.1-13
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 This module determines whether an email address is well-formed, and
24 optionally, whether a mail host exists for the domain.
26 %description -l pl.UTF-8
27 Ten moduł sprawdza czy adres e-mail jest poprawnie zapisany i,
28 opcjonalnie, czy istnieje host przyjmujący pocztę.
31 %setup -q -n %{pdir}-%{pnam}-%{version}
34 %{__perl} Makefile.PL \
39 rm -rf $RPM_BUILD_ROOT
42 DESTDIR=$RPM_BUILD_ROOT
45 rm -rf $RPM_BUILD_ROOT
48 %defattr(644,root,root,755)
50 %{perl_vendorlib}/%{pdir}/*.pm