]> git.pld-linux.org Git - packages/perl-User-Identity.git/blame - perl-User-Identity.spec
- updated to 0.93
[packages/perl-User-Identity.git] / perl-User-Identity.spec
CommitLineData
b2ef0614 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
5%include /usr/lib/rpm/macros.perl
6%define pdir User
7%define pnam Identity
8Summary: Mail::Identity - an e-mail role
9#Summary(pl.UTF-8):
10Name: perl-User-Identity
5fdb95d7 11Version: 0.93
12Release: 1
b2ef0614 13# same as perl
14License: GPL v1+ or Artistic
15Group: Development/Languages/Perl
16Source0: http://search.cpan.org/CPAN/authors/id/M/MA/MARKOV/%{pdir}-%{pnam}-%{version}.tar.gz
5fdb95d7 17# Source0-md5: c6efb646ea66ef7c479b0eed2a24480d
b2ef0614 18URL: http://search.cpan.org/dist/User-Identity/
19BuildRequires: perl-devel >= 1:5.8.0
20BuildRequires: rpm-perlprov >= 4.1-13
21%if %{with tests}
22BuildRequires: perl-Test-Pod >= 1
23%endif
24BuildArch: noarch
25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27%description
28The Mail::Identity object contains the description of role played by a
29human when sending e-mail. Most people have more than one role these
30days: for instance, a private and a company role with different e-mail
31addresses.
32
33An Mail::Identity object combines an e-mail address, user description
34("phrase"), a signature, pgp-key, and so on. All fields are optional,
35and some fields are smart. One such set of data represents one role.
36Mail::Identity is therefore the smart cousine of the Mail::Address
37object.
38
39# %description -l pl.UTF-8 # TODO
40
41%prep
42%setup -q -n %{pdir}-%{pnam}-%{version}
43
44%build
45%{__perl} Makefile.PL \
46 INSTALLDIRS=vendor
47%{__make}
48
49%{?with_tests:%{__make} test}
50
51%install
52rm -rf $RPM_BUILD_ROOT
53
54%{__make} pure_install \
55 DESTDIR=$RPM_BUILD_ROOT
56
57%clean
58rm -rf $RPM_BUILD_ROOT
59
60%files
61%defattr(644,root,root,755)
62%doc Changes README
8af4323f 63%dir %{perl_vendorlib}/User
b2ef0614 64%{perl_vendorlib}/User/*.pm
65%{perl_vendorlib}/User/Identity
66%{perl_vendorlib}/Mail/Identity.pm
67%{_mandir}/man3/*
This page took 0.041895 seconds and 4 git commands to generate.