]> git.pld-linux.org Git - packages/perl-Crypt-OpenPGP.git/blame - perl-Crypt-OpenPGP.spec
use generic url
[packages/perl-Crypt-OpenPGP.git] / perl-Crypt-OpenPGP.spec
CommitLineData
bd0d1eb6 1
e3205d7d 2# Conditional build:
bd0d1eb6 3%bcond_without tests # do not perform "make test"
4
9d9de2f0 5%define pdir Crypt
6%define pnam OpenPGP
122927b7 7%include /usr/lib/rpm/macros.perl
e3205d7d 8Summary: Crypt::OpenPGP Perl module - pure Perl implementation of the OpenPGP standard
5584533e 9Summary(pl.UTF-8): Moduł Perla Crypt::OpenPGP - czysto perlowa implementacja standardu OpenPGP
e3205d7d 10Name: perl-Crypt-OpenPGP
5e0095bc 11Version: 1.06
12Release: 1
c70ed8ac 13# same as perl
14License: GPL v1+ or Artistic
e3205d7d 15Group: Development/Languages/Perl
c3caff17 16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
5e0095bc 17# Source0-md5: 21e5a1a046d6ec2c4ef86b5980dbb96f
122927b7 18URL: http://search.cpan.org/dist/Crypt-OpenPGP/
bd0d1eb6 19BuildRequires: perl-Crypt-DSA
20BuildRequires: perl-Crypt-RSA
21BuildRequires: perl-Data-Buffer >= 0.04
bd0d1eb6 22BuildRequires: perl-Math-Pari
122927b7 23BuildRequires: perl-devel >= 1:5.8.0
bd0d1eb6 24BuildRequires: rpm-perlprov >= 4.1-13
25%if %{with tests}
385d9be1 26BuildRequires: perl-Compress-Zlib
27BuildRequires: perl-Crypt-Blowfish
28BuildRequires: perl-Crypt-CAST5_PP
29BuildRequires: perl-Crypt-DES_EDE3
385d9be1 30BuildRequires: perl-Crypt-IDEA
31BuildRequires: perl-Crypt-RIPEMD160
385d9be1 32BuildRequires: perl-Crypt-Rijndael
33BuildRequires: perl-Crypt-Twofish >= 2.00
385d9be1 34BuildRequires: perl-Digest-MD5
35BuildRequires: perl-Digest-SHA1
36BuildRequires: perl-MIME-Base64
bd0d1eb6 37%endif
e3205d7d 38Requires: perl-Data-Buffer >= 0.04
58f64766 39Requires: perl-Term-ReadKey
e3205d7d
JB
40Conflicts: perl-Crypt-Twofish < 2.00
41BuildArch: noarch
42BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
43
44%description
45This is Crypt::OpenPGP. It provides a pure-Perl implementation of the
46OpenPGP standard, including support for all versions of PGP and GnuPG.
47It needs at least one simmetric cipher Perl module (Crypt::DES_EDE3
48for 3DES, Crypt::CAST5_PP for CAST5, Crypt::IDEA for IDEA,
49Crypt::Blowfish for Blowfish, Crypt::Twofish >= 2.00 for Twofish or
50Crypt;:Rijndael for Rijndael) and at least one digest Perl module
51(Digest::MD5 for MD5, Digest::SHA1 for SHA1 or Crypt::RIPEMD160 for
52RIPE-MD/160).
53
5834bf0d
JR
54%description -l pl.UTF-8
55To jest moduł Crypt::OpenPGP. Jest on czysto perlową implementacją
e3205d7d 56standardu OpenPGP, wraz ze wsparciem dla wszystkich wersji PGP i
5834bf0d 57GnuPG. Wymaga co najmniej jednego modułu Perla z implementacją szyfru
385d9be1 58symetrycznego (Crypt::DES_EDE3 dla 3DES, Crypt::CAST5_PP dla CAST5,
59Crypt::IDEA dla szyfru IDEA, Crypt::Blowfish dla szyfru Blowfish,
60Crypt::Twofish >= 2.00 dla szyfru Twofish albo Crypt::Rijndale dla
5834bf0d
JR
61szyfru Rijndael) oraz co najmniej jednego modułu z implementacją
62funkcji skrótu (Digest::MD5 dla MD5, Digest::SHA1 dla SHA1 albo
385d9be1 63Crypt::RIPEMD160 dla RIPE-MD/160).
e3205d7d
JB
64
65%prep
66%setup -q -n %{pdir}-%{pnam}-%{version}
e3205d7d
JB
67
68%build
589f9a4f 69%{__perl} Makefile.PL </dev/null \
2c94d58e 70 INSTALLDIRS=vendor
e3205d7d
JB
71%{__make}
72
bd0d1eb6 73%{?with_tests:%{__make} test}
e3205d7d
JB
74
75%install
76rm -rf $RPM_BUILD_ROOT
77
78%{__make} install \
79 DESTDIR=$RPM_BUILD_ROOT
80
81%clean
82rm -rf $RPM_BUILD_ROOT
83
84%files
85%defattr(644,root,root,755)
5e0095bc 86%doc Changes README
589f9a4f 87%{perl_vendorlib}/Crypt/OpenPGP.pm
88%{perl_vendorlib}/Crypt/OpenPGP
e3205d7d 89%{_mandir}/man3/*
This page took 0.165315 seconds and 4 git commands to generate.