]> git.pld-linux.org Git - packages/perl-Mail-GnuPG.git/blame - perl-Mail-GnuPG.spec
- up to 0.23
[packages/perl-Mail-GnuPG.git] / perl-Mail-GnuPG.spec
CommitLineData
d0343638 1#
2# Conditional build:
8e8e29b7 3%bcond_without tests # do not perform "make test"
d0343638 4#
5%include /usr/lib/rpm/macros.perl
ca6dfa86 6%define pdir Mail
7%define pnam GnuPG
58be7f64 8Summary: Mail::GnuPG - Process email with GPG
09c7b574 9Summary(pl.UTF-8): Mail::GnuPG - przetwarzanie poczty elektronicznej przy użyciu GPG
d0343638 10Name: perl-Mail-GnuPG
eaeb167a 11Version: 0.23
9d0cbff4 12Release: 1
d0343638 13License: GPL v2 or Artistic
14Group: Development/Languages/Perl
a5846fa8 15Source0: http://www.cpan.org/modules/by-module/Mail/%{pdir}-%{pnam}-%{version}.tar.gz
eaeb167a 16# Source0-md5: 9661f16109d957720a924fa58ed8b09d
a5846fa8 17URL: http://search.cpan.org/dist/Mail-GnuPG/
d0343638 18BuildRequires: perl-devel >= 1:5.8.0
19BuildRequires: rpm-perlprov >= 4.1-13
20%if %{with tests}
bf223ea6 21BuildRequires: perl-GnuPG-Interface
bf223ea6 22BuildRequires: perl-MIME-tools
a5846fa8 23BuildRequires: perl-MailTools
bf223ea6 24BuildRequires: perl-Test-Simple
d0343638 25%endif
26BuildArch: noarch
27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29%description
30Use GnuPG::Interface to process or create PGP signed or encrypted
31email.
32
3ba7fd38
JR
33%description -l pl.UTF-8
34GnuPG::Interface służy do przetwarzania i tworzenia podpisanej lub
58be7f64 35zaszyfrowanej PGP poczty elektronicznej.
d0343638 36
37%prep
38%setup -q -n %{pdir}-%{pnam}-%{version}
39
40%build
01703a70 41%{__perl} Build.PL \
42 installdirs=vendor \
43 destdir=$RPM_BUILD_ROOT
d0343638 44
01703a70 45./Build
46
47%{?with_tests:./Build test}
d0343638 48
49%install
50rm -rf $RPM_BUILD_ROOT
51
01703a70 52./Build install
d0343638 53
54%clean
55rm -rf $RPM_BUILD_ROOT
56
57%files
58%defattr(644,root,root,755)
59%doc Changes README
60%{perl_vendorlib}/Mail/*.pm
61%{_mandir}/man3/*
This page took 0.065409 seconds and 4 git commands to generate.