]> git.pld-linux.org Git - packages/perl-GnuPG-Interface.git/blame - perl-GnuPG-Interface.spec
Up to 1.02
[packages/perl-GnuPG-Interface.git] / perl-GnuPG-Interface.spec
CommitLineData
686c5d96 1#
2# Conditional build:
af706e59 3%bcond_without tests # do not perform "make test"
ff78032c 4#
7a7f8599 5%define pdir GnuPG
6%define pnam Interface
d90537a8 7Summary: GnuPG::Interface - Perl interface to GnuPG
b555768f 8Summary(pl.UTF-8): GnuPG::Interface - perlowy interfejs do GnuPG
686c5d96 9Name: perl-GnuPG-Interface
45d0257a 10Version: 1.02
a604c5de 11Release: 1
b6bf2dff 12# same as perl
13License: GPL v1+ or Artistic
686c5d96 14Group: Development/Languages/Perl
b555768f 15Source0: http://www.cpan.org/modules/by-module/GnuPG/%{pdir}-%{pnam}-%{version}.tar.gz
45d0257a 16# Source0-md5: 3589cd8cc4b68c00e6cfd0b12daf52fc
b555768f 17URL: http://search.cpan.org/dist/GnuPG-Interface/
4ad406f3 18BuildRequires: gnupg
3db5413c 19BuildRequires: perl-devel >= 1:5.8.0
b555768f 20BuildRequires: rpm-perlprov >= 4.1-13
af706e59 21%if %{with tests}
ff78032c 22BuildRequires: perl-Class-MethodMaker
74f2b485
AM
23BuildRequires: perl-Moo
24BuildRequires: perl-MooX-late
25BuildRequires: perl-MooX-HandlesVia
a604c5de 26BuildRequires: perl-Moose
ff78032c 27%endif
33163122 28# not recognized by perl.req
29Requires: perl-Class-MethodMaker
bc9e857d 30Requires: perl-Mouse
686c5d96 31BuildArch: noarch
32BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34%description
d90537a8
JB
35GnuPG::Interface and its associated modules are designed to provide an
36object-oriented method for interacting with GnuPG, being able to
37perform functions such as but not limited to encrypting, signing,
38decryption, verification, and key-listing parsing.
686c5d96 39
48f1970f 40%description -l pl.UTF-8
b555768f
JB
41GnuPG::Interface i powiązane moduły powstały, by udostępnić obiektowo
42zorientowany sposób na interakcję z GnuPG. Moduły mogą wykonywać
43funkcje takie jak szyfrowanie, podpisywanie, odszyfrowywanie,
44weryfikację, analizę list kluczy i inne.
686c5d96 45
46%prep
47%setup -q -n %{pdir}-%{pnam}-%{version}
48
49%build
0fa14627 50%{__perl} Makefile.PL \
f9196e56 51 INSTALLDIRS=vendor
686c5d96 52%{__make}
53
af706e59 54%{?with_tests:TEST_SHARED_MEMORY=1 TEST_FILE_CACHE=1 %{__make} test}
686c5d96 55
56%install
57rm -rf $RPM_BUILD_ROOT
58
024cdb5d 59%{__make} install \
60 DESTDIR=$RPM_BUILD_ROOT
686c5d96 61
0fa14627 62install -d $RPM_BUILD_ROOT%{perl_vendorlib}/%{pdir}/%{pnam}
686c5d96 63
64%clean
65rm -rf $RPM_BUILD_ROOT
66
67%files
68%defattr(644,root,root,755)
74f2b485 69%doc README MANIFEST
a9ea22c2 70%{perl_vendorlib}/GnuPG/*.pm
686c5d96 71%{_mandir}/man3/*
This page took 0.10173 seconds and 4 git commands to generate.