]> git.pld-linux.org Git - packages/perl-Email-Valid.git/blob - perl-Email-Valid.spec
- massive attack: change CPAN URLs
[packages/perl-Email-Valid.git] / perl-Email-Valid.spec
1 %include        /usr/lib/rpm/macros.perl
2 %define         pdir    Email
3 %define         pnam    Valid
4 Summary:        This module determines whether an email address is valid
5 Summary(pl):    Modu³ sprawdzaj±cy poprawno¶æ adresu e-mail
6 Name:           perl-%{pdir}-%{pnam}
7 Version:        0.14
8 Release:        1
9 License:        GPL
10 Group:          Development/Languages/Perl
11 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
12 BuildRequires:  perl >= 5.6
13 BuildRequires:  perl-MailTools
14 BuildRequires:  rpm-perlprov >= 3.0.3-16
15 BuildArch:      noarch
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 This module determines whether an email address is well-formed, and
20 optionally, whether a mail host exists for the domain.
21
22 %description -l pl
23 Ten modu³ sprawdza czy adres e-mail jest poprawnie zapisany i,
24 opcjonalnie, czy istnieje host przyjmuj±cy pocztê.
25
26 %prep
27 %setup -q -n %{pdir}-%{pnam}-%{version}
28
29 %build
30 perl Makefile.PL
31 %{__make}
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35
36 %{__make} install DESTDIR=$RPM_BUILD_ROOT
37 find $RPM_BUILD_ROOT -name .packlist | xargs -r rm -f
38
39 %clean
40 rm -rf $RPM_BUILD_ROOT
41
42 %files
43 %defattr(644,root,root,755)
44 %doc README Changes
45 %{perl_sitelib}/Email
46 %{_mandir}/man3/*
This page took 0.076182 seconds and 4 git commands to generate.