/[smeserver]/rpms/perl-Mail-RFC822-Address/sme10/perl-Mail-RFC822-Address.spec
ViewVC logotype

Annotation of /rpms/perl-Mail-RFC822-Address/sme10/perl-Mail-RFC822-Address.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Thu Mar 17 20:52:13 2016 UTC (8 years, 3 months ago) by vip-ire
Branch: MAIN
CVS Tags: perl-Mail-RFC822-Address-0_3-1_el7_sme, HEAD
Import perl-Mail-RFC822-Address in CVS

1 vip-ire 1.1 Name: perl-Mail-RFC822-Address
2     Version: 0.3
3     Release: 1%{?dist}
4     Summary: Perl extension for validating email addresses according to RFC822
5     License: GPL+ or Artistic
6     Group: Development/Libraries
7     URL: http://search.cpan.org/dist/Mail-RFC822-Address/
8     Source0: http://www.cpan.org/authors/id/P/PD/PDWARREN/Mail-RFC822-Address-%{version}.tar.gz
9     BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
10     BuildArch: noarch
11     BuildRequires: perl(ExtUtils::MakeMaker)
12     BuildRequires: perl(Data::Dumper)
13     Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
14    
15     %description
16     Mail::RFC822::Address validates email addresses against the grammar
17     described in RFC 822 using regular expressions. How to validate a user
18     supplied email address is a FAQ (see perlfaq9): the only sure way to see if
19     a supplied email address is genuine is to send an email to it and see if
20     the user recieves it. The one useful check that can be performed on an
21     address is to check that the email address is syntactically valid. That is
22     what this module does.
23    
24     %prep
25     %setup -q -n Mail-RFC822-Address-%{version}
26    
27     %build
28     %{__perl} Makefile.PL INSTALLDIRS=vendor
29     make %{?_smp_mflags}
30    
31     %install
32     rm -rf $RPM_BUILD_ROOT
33    
34     make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
35    
36     find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
37     find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
38    
39     %{_fixperms} $RPM_BUILD_ROOT/*
40    
41     %check
42     make test
43    
44     %clean
45     rm -rf $RPM_BUILD_ROOT
46    
47     %files
48     %defattr(-,root,root,-)
49     %doc Changes
50     %{perl_vendorlib}/*
51     %{_mandir}/man3/*
52    
53     %changelog
54     * Thu Mar 17 2016 Daniel Berteaud <daniel@firewall-services.com> 0.3-1
55     - First build using cpanspec [SME: 9327]

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed