]> git.pld-linux.org Git - packages/perl-PGP-Sign.git/blob - perl-PGP-Sign.spec
6eb3812efc478a80ab9db84f7f426aada620014b
[packages/perl-PGP-Sign.git] / perl-PGP-Sign.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    PGP
7 %define         pnam    Sign
8 Summary:        PGP::Sign Perl module
9 Summary(cs):    Modul PGP::Sign pro Perl
10 Summary(da):    Perlmodul PGP::Sign
11 Summary(de):    PGP::Sign Perl Modul
12 Summary(es):    Módulo de Perl PGP::Sign
13 Summary(fr):    Module Perl PGP::Sign
14 Summary(it):    Modulo di Perl PGP::Sign
15 Summary(ja):    PGP::Sign Perl ¥â¥¸¥å¡¼¥ë
16 Summary(ko):    PGP::Sign ÆÞ ¸ðÁÙ
17 Summary(nb):    Perlmodul PGP::Sign
18 Summary(pl):    Modu³ Perla PGP::Sign
19 Summary(pt):    Módulo de Perl PGP::Sign
20 Summary(pt_BR): Módulo Perl PGP::Sign
21 Summary(ru):    íÏÄÕÌØ ÄÌÑ Perl PGP::Sign
22 Summary(sv):    PGP::Sign Perlmodul
23 Summary(uk):    íÏÄÕÌØ ÄÌÑ Perl PGP::Sign
24 Summary(zh_CN): PGP::Sign Perl Ä£¿é
25 Name:           perl-PGP-Sign
26 Version:        0.17
27 Release:        2
28 # same as perl
29 License:        GPL v1 or Artistic
30 Group:          Development/Languages/Perl
31 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
32 # Source0-md5:  caab81561eeae34735d20dc308ea6428
33 BuildRequires:  gnupg
34 BuildRequires:  perl-devel >= 1:5.8.0
35 BuildRequires:  rpm-perlprov >= 4.1-13
36 Requires:       gnupg
37 BuildArch:      noarch
38 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
39
40 %description
41 PGP::Sign - generates detached PGP signatures for data.
42
43 This package was built for using with GnuPG. If you want to use it
44 with PGP, you need to modify 'Global variables' section in the
45 PGP/Sign.pm file.
46
47 %description -l pl
48 PGP::Sign - generuje oddzielne sygnatury PGP dla danych.
49
50 Ten pakiet zosta³ zbudowany do u¿ycia z GnuPG. Je¶li chcesz u¿ywaæ go
51 z PGP, musisz zmodyfikowaæ sekcjê 'Global variables' w pliku
52 PGP/Sign.pm.
53
54 %prep
55 %setup -q -n %{pdir}-%{pnam}-%{version}
56
57 %build
58 %{__perl} Makefile.PL \
59         INSTALLDIRS=vendor  \
60         PGP=%{_bindir}/gpg \
61         PGPSTYLE=GPG
62 %{__make}
63 %{?with_tests:%{__make} test}
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67
68 %{__make} install \
69         DESTDIR=$RPM_BUILD_ROOT
70
71 %clean
72 rm -rf $RPM_BUILD_ROOT
73
74 %files
75 %defattr(644,root,root,755)
76 %doc ChangeLog README TODO
77 %{perl_vendorlib}/PGP
78 %{_mandir}/man3/*
This page took 0.150998 seconds and 2 git commands to generate.