3 # _with_tests - perform "make test"
5 %include /usr/lib/rpm/macros.perl
8 Summary: Crypt::GPG Perl module - an Object Oriented interface to GnuPG
9 Summary(pl): Modu³ Perla Crypt::GPG - obiektowo zorientowany interfejs do GnuPG
13 License: Artistic or GPL
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 BuildRequires: perl >= 5.6
17 BuildRequires: perl-Expect >= 1.15
18 BuildRequires: perl-Time-HiRes
19 BuildRequires: perl-TimeDate
20 BuildRequires: rpm-perlprov >= 3.0.3-16
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 The Crypt::GPG module provides near complete access to GnuPG
26 functionality through an object oriented interface. It provides
27 methods for encryption, decryption, signing, signature verification,
28 key generation, key export and import, and most other key management
29 functions. This module works almost identically to its cousin,
30 Crypt::PGP5. The two modules together provide a uniform interface to
31 deal with both PGP and GnuPG. Eventually, these modules will be folded
32 into a single module which will interface with GnuPG as well as all
36 Modu³ Crypt::GPG daje prawie ca³kowity dostêp do funkcjonalno¶ci GnuPG
37 poprzez zorientowany obiektowo interfejs. Udostêpnia metody do
38 szyfrowania, odszyfrowywania, podpisywania, weryfikacji podpisów,
39 generowania kluczy, eksportowania i importowania kluczy oraz wielu
40 innych funkcji zwi±zanych z zarz±dzaniem kluczami. Ten modu³ dzia³a
41 prawie identycznie jak jego kuzyn, Crypt::PGP5. Oba modu³y razem daj±
42 jednolity interfejs do obs³ugi PGP i GnuPG. Byæ mo¿e te zostan± one
43 po³±czone w jeden modu³, bêd±cy interfejsem jednocze¶nie do GnuPG i
44 wszystkich wersji PGP.
47 %setup -q -n %{pdir}-%{pnam}-%{version}
52 # test disabled by default - it calls gpg, creates keyring etc.
53 %{?_with_tests:%{__make} test}
56 rm -rf $RPM_BUILD_ROOT
59 DESTDIR=$RPM_BUILD_ROOT
62 rm -rf $RPM_BUILD_ROOT
65 %defattr(644,root,root,755)
67 %{perl_sitelib}/Crypt/GPG.pm