]> git.pld-linux.org Git - packages/perl-Email-Valid.git/blob - perl-Email-Valid.spec
- mass commit: cosmetics (removed trailing white spaces)
[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:        3
9 # same as perl
10 License:        GPL/Artistic
11 Group:          Development/Languages/Perl
12 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
13 # Source0-md5:  8cd22c54c580d6709ec71448f2332da2
14 BuildRequires:  perl-devel >= 5.6
15 %if %{!?_without_tests:1}0
16 BuildRequires:  perl-MailTools
17 %endif
18 BuildRequires:  rpm-perlprov >= 4.1-13
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 This module determines whether an email address is well-formed, and
24 optionally, whether a mail host exists for the domain.
25
26 %description -l pl
27 Ten modu³ sprawdza czy adres e-mail jest poprawnie zapisany i,
28 opcjonalnie, czy istnieje host przyjmuj±cy pocztê.
29
30 %prep
31 %setup -q -n %{pdir}-%{pnam}-%{version}
32
33 %build
34 %{__perl} Makefile.PL \
35         INSTALLDIRS=vendor
36 %{__make}
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40
41 %{__make} install \
42         DESTDIR=$RPM_BUILD_ROOT
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files
48 %defattr(644,root,root,755)
49 %doc README Changes
50 %{perl_vendorlib}/%{pdir}/*.pm
51 %{_mandir}/man3/*
This page took 0.09129 seconds and 4 git commands to generate.