3 %bcond_without tests # do not perform "make test"
6 Summary: GnuPG - Perl module interface to the GNU Privacy Guard
7 Summary(pl.UTF-8): GnuPG - moduł interfejsu perlowego do GPG (GNU Privacy Guard)
12 Group: Development/Languages/Perl
13 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{version}.tar.gz
14 # Source0-md5: 86f1a79389a0bede2db6bd758b464b8b
15 URL: http://www.gnupg.org/
17 BuildRequires: perl-devel >= 1:5.8.0
18 BuildRequires: rpm-perlprov >= 4.1-13
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 GnuPG is a Perl interface to the GNU Privacy Guard. It uses the shared
24 memory coprocess interface that gpg provides for its wrappers. It
25 tries its best to map the interactive interface of the gpg to a more
28 %description -l pl.UTF-8
29 GnuPG to interfejs Perla do GPG (GNU Privacy Guard). Używa interfejsu
30 pamięci dzielonej, udostępnianego przez gpg. Próbuje jak najlepiej
31 odwzorować interaktywny interfejs gpg do bardziej programistycznego
35 %setup -q -n %{pdir}-%{version}
38 %{__perl} Makefile.PL \
42 %{?with_tests:TEST_SHARED_MEMORY=1 TEST_FILE_CACHE=1 %{__make} test}
45 rm -rf $RPM_BUILD_ROOT
48 DESTDIR=$RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT%{perl_vendorlib}/%{pdir}/
53 rm -rf $RPM_BUILD_ROOT
56 %defattr(644,root,root,755)
58 %{perl_vendorlib}/*.pm
59 %{perl_vendorlib}/%{pdir}/Tie*
60 %attr(755,root,root) %{_bindir}/*