]> git.pld-linux.org Git - packages/perl-PGP-Sign.git/blob - perl-PGP-Sign.spec
- updated to 0.20
[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.UTF-8):      Modul PGP::Sign pro Perl
10 Summary(da.UTF-8):      Perlmodul PGP::Sign
11 Summary(de.UTF-8):      PGP::Sign Perl Modul
12 Summary(es.UTF-8):      Módulo de Perl PGP::Sign
13 Summary(fr.UTF-8):      Module Perl PGP::Sign
14 Summary(it.UTF-8):      Modulo di Perl PGP::Sign
15 Summary(ja.UTF-8):      PGP::Sign Perl モジュール
16 Summary(ko.UTF-8):      PGP::Sign 펄 모줄
17 Summary(nb.UTF-8):      Perlmodul PGP::Sign
18 Summary(pl.UTF-8):      Moduł Perla PGP::Sign
19 Summary(pt.UTF-8):      Módulo de Perl PGP::Sign
20 Summary(pt_BR.UTF-8):   Módulo Perl PGP::Sign
21 Summary(ru.UTF-8):      Модуль для Perl PGP::Sign
22 Summary(sv.UTF-8):      PGP::Sign Perlmodul
23 Summary(uk.UTF-8):      Модуль для Perl PGP::Sign
24 Summary(zh_CN.UTF-8):   PGP::Sign Perl 模块
25 Name:           perl-PGP-Sign
26 Version:        0.20
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:  a4b25e00c3d30651d859e29b2995b7b9
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.UTF-8
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.04622 seconds and 3 git commands to generate.