]> git.pld-linux.org Git - packages/perl-Email-Address-XS.git/blob - perl-Email-Address-XS.spec
perl 5.38.0 rebuild
[packages/perl-Email-Address-XS.git] / perl-Email-Address-XS.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %define         pdir    Email
6 %define         pnam    Address-XS
7 Summary:        Email::Address::XS - Parse and format RFC 5322 email addresses and groups
8 Summary(pl.UTF-8):      Email::Address::XS - analiza i formatowanie adresów zgodnych z RFC 5322
9 Name:           perl-Email-Address-XS
10 Version:        1.04
11 Release:        6
12 # same as perl
13 License:        GPL v1+ or Artistic
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/Email/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  e756fc09d24e2aa4fafd97f30a2fd27b
17 URL:            http://search.cpan.org/dist/Email-Address-XS/
18 BuildRequires:  perl-ExtUtils-MakeMaker >= 6.30
19 BuildRequires:  perl-devel >= 1:5.8.0
20 BuildRequires:  rpm-perlprov >= 4.1-13
21 %if %{with tests}
22 %endif
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 This module implements RFC 5322 parser and formatter of email
27 addresses and groups. It parses an input string from email headers
28 which contain a list of email addresses or a groups of email addresses
29 (like From, To, Cc, Bcc, Reply-To, Sender, ...). Also it can generate
30 a string value for those headers from a list of email addresses
31 objects. Module is backward compatible with RFC 2822 and RFC 822.
32
33 %description -l pl.UTF-8
34 Ten moduł implementuje parser adresów email zgodnych z RFC 5322.
35 Parsowane są dane z nagłówków email zawierające adresy lub
36 ich grupy (takie jak From, To, Cc, Bcc, Reply-To, Sender, ...).
37 Dodatkowo, potrafi generować łańcuchy znakowe z listy podanych
38 adresów. Moduł jest kompatybilny wstecznie z RFC 2822 i RFC 822.
39
40 %prep
41 %setup -q -n %{pdir}-%{pnam}-%{version}
42
43 %build
44 %{__perl} Makefile.PL \
45         INSTALLDIRS=vendor
46
47 %{__make}
48
49 %{?with_tests:%{__make} test}
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53
54 %{__make} install \
55         DESTDIR=$RPM_BUILD_ROOT
56
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
60 %files
61 %defattr(644,root,root,755)
62 %doc Changes README
63 %{perl_vendorarch}/Email/Address/XS.pm
64 %dir %{perl_vendorarch}/auto/Email/Address/XS
65 %attr(755,root,root) %{perl_vendorarch}/auto/Email/Address/XS/XS.so
66 %{_mandir}/man3/Email::Address::XS.3pm*
This page took 0.114472 seconds and 4 git commands to generate.