]> git.pld-linux.org Git - packages/perl-PGP-Sign.git/blob - perl-PGP-Sign.spec
- updated to 0.19
[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.19
27 Release:        1
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:  d7a461db926dd3d826591562135926df
33 URL:            http://search.cpan.org/dist/PGP-Sign/
34 BuildRequires:  gnupg
35 BuildRequires:  perl-devel >= 1:5.8.0
36 BuildRequires:  rpm-perlprov >= 4.1-13
37 Requires:       gnupg
38 BuildArch:      noarch
39 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
40
41 %description
42 PGP::Sign - generates detached PGP signatures for data.
43
44 This package was built for using with GnuPG. If you want to use it
45 with PGP, you need to modify 'Global variables' section in the
46 PGP/Sign.pm file.
47
48 %description -l pl
49 PGP::Sign - generuje oddzielne sygnatury PGP dla danych.
50
51 Ten pakiet zosta³ zbudowany do u¿ycia z GnuPG. Je¶li chcesz u¿ywaæ go
52 z PGP, musisz zmodyfikowaæ sekcjê 'Global variables' w pliku
53 PGP/Sign.pm.
54
55 %prep
56 %setup -q -n %{pdir}-%{pnam}-%{version}
57
58 %build
59 %{__perl} Makefile.PL \
60         INSTALLDIRS=vendor  \
61         PGP=%{_bindir}/gpg \
62         PGPSTYLE=GPG
63
64 %{__make}
65
66 %{?with_tests:%{__make} test}
67
68 %install
69 rm -rf $RPM_BUILD_ROOT
70
71 %{__make} install \
72         DESTDIR=$RPM_BUILD_ROOT
73
74 %clean
75 rm -rf $RPM_BUILD_ROOT
76
77 %files
78 %defattr(644,root,root,755)
79 %doc ChangeLog README TODO
80 %{perl_vendorlib}/PGP
81 %{_mandir}/man3/*
This page took 0.060964 seconds and 3 git commands to generate.