3 %bcond_without tests # do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
8 Summary: GnuPG::Interface - Perl interface to GnuPG
9 Summary(pl.UTF-8): GnuPG::Interface - perlowy interfejs do GnuPG
10 Name: perl-GnuPG-Interface
14 License: GPL v1+ or Artistic
15 Group: Development/Languages/Perl
16 Source0: http://www.cpan.org/modules/by-module/GnuPG/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5: 16339800f127c51a34188a0bf7103219
18 URL: http://search.cpan.org/dist/GnuPG-Interface/
20 BuildRequires: perl-devel >= 1:5.8.0
21 BuildRequires: rpm-perlprov >= 4.1-13
23 BuildRequires: perl-Class-MethodMaker
24 BuildRequires: perl-Moose
26 # not recognized by perl.req
27 Requires: perl-Class-MethodMaker
30 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 GnuPG::Interface and its associated modules are designed to provide an
34 object-oriented method for interacting with GnuPG, being able to
35 perform functions such as but not limited to encrypting, signing,
36 decryption, verification, and key-listing parsing.
38 %description -l pl.UTF-8
39 GnuPG::Interface i powiązane moduły powstały, by udostępnić obiektowo
40 zorientowany sposób na interakcję z GnuPG. Moduły mogą wykonywać
41 funkcje takie jak szyfrowanie, podpisywanie, odszyfrowywanie,
42 weryfikację, analizę list kluczy i inne.
45 %setup -q -n %{pdir}-%{pnam}-%{version}
48 %{__perl} Makefile.PL \
52 %{?with_tests:TEST_SHARED_MEMORY=1 TEST_FILE_CACHE=1 %{__make} test}
55 rm -rf $RPM_BUILD_ROOT
58 DESTDIR=$RPM_BUILD_ROOT
60 install -d $RPM_BUILD_ROOT%{perl_vendorlib}/%{pdir}/%{pnam}
63 rm -rf $RPM_BUILD_ROOT
66 %defattr(644,root,root,755)
67 %doc README THANKS MANIFEST
68 %{perl_vendorlib}/GnuPG/*.pm