]> git.pld-linux.org Git - packages/perl-GnuPG-Interface.git/blob - perl-GnuPG-Interface.spec
- up to 0.46
[packages/perl-GnuPG-Interface.git] / perl-GnuPG-Interface.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %include        /usr/lib/rpm/macros.perl
6 %define         pdir    GnuPG
7 %define         pnam    Interface
8 Summary:        GnuPG::Interface - Perl interface to GnuPG
9 Summary(pl.UTF-8):      GnuPG::Interface - perlowy interfejs do GnuPG
10 Name:           perl-GnuPG-Interface
11 Version:        0.46
12 Release:        1
13 # same as perl
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/
19 BuildRequires:  gnupg
20 BuildRequires:  perl-devel >= 1:5.8.0
21 BuildRequires:  rpm-perlprov >= 4.1-13
22 %if %{with tests}
23 BuildRequires:  perl-Class-MethodMaker
24 BuildRequires:  perl-Moose
25 %endif
26 # not recognized by perl.req
27 Requires:       perl-Class-MethodMaker
28 Requires:       perl-Mouse
29 BuildArch:      noarch
30 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32 %description
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.
37
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.
43
44 %prep
45 %setup -q -n %{pdir}-%{pnam}-%{version}
46
47 %build
48 %{__perl} Makefile.PL \
49         INSTALLDIRS=vendor
50 %{__make}
51
52 %{?with_tests:TEST_SHARED_MEMORY=1 TEST_FILE_CACHE=1 %{__make} test}
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56
57 %{__make} install \
58         DESTDIR=$RPM_BUILD_ROOT
59
60 install -d $RPM_BUILD_ROOT%{perl_vendorlib}/%{pdir}/%{pnam}
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %files
66 %defattr(644,root,root,755)
67 %doc README THANKS MANIFEST
68 %{perl_vendorlib}/GnuPG/*.pm
69 %{_mandir}/man3/*
This page took 0.073763 seconds and 3 git commands to generate.