]> git.pld-linux.org Git - packages/perl-Crypt-GPG.git/blame - perl-Crypt-GPG.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Crypt-GPG.git] / perl-Crypt-GPG.spec
CommitLineData
8da443d5 1#
2# Conditional build:
43db95a7 3%bcond_with tests # perform "make test"
8da443d5 4#
ac367a50 5%define pdir Crypt
6%define pnam GPG
ca2b3cbf 7Summary: Crypt::GPG Perl module - an object oriented interface to GnuPG
a1f770b1 8Summary(pl.UTF-8): Moduł Perla Crypt::GPG - obiektowo zorientowany interfejs do GnuPG
67c706dc 9Name: perl-Crypt-GPG
f5347867 10Version: 1.63
0e36b4d5 11Release: 1
0342ce0b 12# same as perl
13License: GPL v1+ or Artistic
67c706dc 14Group: Development/Languages/Perl
f5347867 15Source0: http://www.cpan.org/modules/by-module/Crypt/%{pdir}-%{pnam}-%{version}.tar.gz
16# Source0-md5: 9a2ab2edf9740cfef789f17c998f3fe2
17URL: http://search.cpan.org/dist/Crypt-GPG/
61c2ae2e 18BuildRequires: perl-devel >= 1:5.8.0
a7aaeed7 19BuildRequires: perl-Expect >= 1.15
67c706dc 20BuildRequires: perl-TimeDate
26e4e85e 21BuildRequires: rpm-perlprov >= 4.1-13
67c706dc
JB
22BuildArch: noarch
23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%description
26The Crypt::GPG module provides near complete access to GnuPG
27functionality through an object oriented interface. It provides
28methods for encryption, decryption, signing, signature verification,
29key generation, key export and import, and most other key management
30functions. This module works almost identically to its cousin,
31Crypt::PGP5. The two modules together provide a uniform interface to
32deal with both PGP and GnuPG. Eventually, these modules will be folded
33into a single module which will interface with GnuPG as well as all
34versions of PGP.
0ba1742c 35
829d05eb
JR
36%description -l pl.UTF-8
37Moduł Crypt::GPG daje prawie całkowity dostęp do funkcjonalności GnuPG
38poprzez zorientowany obiektowo interfejs. Udostępnia metody do
39szyfrowania, odszyfrowywania, podpisywania, weryfikacji podpisów,
67c706dc 40generowania kluczy, eksportowania i importowania kluczy oraz wielu
829d05eb
JR
41innych funkcji związanych z zarządzaniem kluczami. Ten moduł działa
42prawie identycznie jak jego kuzyn, Crypt::PGP5. Oba moduły razem dają
43jednolity interfejs do obsługi PGP i GnuPG. Być może te zostaną one
44połączone w jeden moduł, będący interfejsem jednocześnie do GnuPG i
67c706dc
JB
45wszystkich wersji PGP.
46
47%prep
48%setup -q -n %{pdir}-%{pnam}-%{version}
49
50%build
26e4e85e 51%{__perl} Makefile.PL \
0ba1742c 52 INSTALLDIRS=vendor
67c706dc 53%{__make}
8da443d5 54# test disabled by default - it calls gpg, creates keyring etc.
43db95a7 55%{?with_tests:%{__make} test}
67c706dc
JB
56
57%install
58rm -rf $RPM_BUILD_ROOT
59
60%{__make} install \
61 DESTDIR=$RPM_BUILD_ROOT
62
63%clean
64rm -rf $RPM_BUILD_ROOT
65
66%files
67%defattr(644,root,root,755)
0e36b4d5 68%doc README
26e4e85e 69%{perl_vendorlib}/Crypt/GPG.pm
67c706dc 70%{_mandir}/man3/*
This page took 0.085327 seconds and 4 git commands to generate.