]> git.pld-linux.org Git - packages/perl-PGP-Sign.git/blame - perl-PGP-Sign.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-PGP-Sign.git] / perl-PGP-Sign.spec
CommitLineData
1c82796f 1#
2# Conditional build:
9d333072 3%bcond_without tests # do not perform "make test"
1c82796f 4#
0827ca79 5%define pdir PGP
6%define pnam Sign
16a3b81e 7Summary: PGP::Sign Perl module
19534c5f
ER
8Summary(cs.UTF-8): Modul PGP::Sign pro Perl
9Summary(da.UTF-8): Perlmodul PGP::Sign
10Summary(de.UTF-8): PGP::Sign Perl Modul
11Summary(es.UTF-8): Módulo de Perl PGP::Sign
12Summary(fr.UTF-8): Module Perl PGP::Sign
13Summary(it.UTF-8): Modulo di Perl PGP::Sign
14Summary(ja.UTF-8): PGP::Sign Perl モジュール
15Summary(ko.UTF-8): PGP::Sign 펄 모줄
16Summary(nb.UTF-8): Perlmodul PGP::Sign
17Summary(pl.UTF-8): Moduł Perla PGP::Sign
18Summary(pt.UTF-8): Módulo de Perl PGP::Sign
19Summary(pt_BR.UTF-8): Módulo Perl PGP::Sign
20Summary(ru.UTF-8): Модуль для Perl PGP::Sign
21Summary(sv.UTF-8): PGP::Sign Perlmodul
22Summary(uk.UTF-8): Модуль для Perl PGP::Sign
23Summary(zh_CN.UTF-8): PGP::Sign Perl 模块
192b42c1 24Name: perl-PGP-Sign
57c5956f 25Version: 0.20
26Release: 1
9d333072 27# same as perl
be5042eb 28License: GPL v1+ or Artistic
192b42c1 29Group: Development/Languages/Perl
d12ed884 30Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
57c5956f 31# Source0-md5: a4b25e00c3d30651d859e29b2995b7b9
b114e1f7 32URL: http://search.cpan.org/dist/PGP-Sign/
192b42c1 33BuildRequires: gnupg
642b813f
JB
34BuildRequires: perl-devel >= 1:5.8.0
35BuildRequires: rpm-perlprov >= 4.1-13
192b42c1 36Requires: gnupg
effc80ef 37BuildArch: noarch
55b33a24 38BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
192b42c1 39
40%description
90584d6f 41PGP::Sign - generates detached PGP signatures for data.
192b42c1 42
8173ef8e 43This package was built for using with GnuPG. If you want to use it
44with PGP, you need to modify 'Global variables' section in the
45PGP/Sign.pm file.
192b42c1 46
5196484f 47%description -l pl.UTF-8
90584d6f 48PGP::Sign - generuje oddzielne sygnatury PGP dla danych.
192b42c1 49
5196484f
JR
50Ten pakiet został zbudowany do użycia z GnuPG. Jeśli chcesz używać go
51z PGP, musisz zmodyfikować sekcję 'Global variables' w pliku
8173ef8e 52PGP/Sign.pm.
192b42c1 53
54%prep
7e57bb09 55%setup -q -n %{pdir}-%{pnam}-%{version}
192b42c1 56
57%build
413c1d84 58%{__perl} Makefile.PL \
f5b9d42b 59 INSTALLDIRS=vendor \
e38803cf 60 PGP=%{_bindir}/gpg \
192b42c1 61 PGPSTYLE=GPG
b114e1f7 62
39a00607 63%{__make}
b114e1f7 64
9d333072 65%{?with_tests:%{__make} test}
192b42c1 66
67%install
68rm -rf $RPM_BUILD_ROOT
41bc9c23 69
642b813f
JB
70%{__make} install \
71 DESTDIR=$RPM_BUILD_ROOT
192b42c1 72
192b42c1 73%clean
74rm -rf $RPM_BUILD_ROOT
75
76%files
77%defattr(644,root,root,755)
16a3b81e 78%doc ChangeLog README TODO
f5b9d42b 79%{perl_vendorlib}/PGP
192b42c1 80%{_mandir}/man3/*
This page took 0.076649 seconds and 4 git commands to generate.