]>
Commit | Line | Data |
---|---|---|
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 | 7 | Summary: PGP::Sign Perl module |
19534c5f ER |
8 | Summary(cs.UTF-8): Modul PGP::Sign pro Perl |
9 | Summary(da.UTF-8): Perlmodul PGP::Sign | |
10 | Summary(de.UTF-8): PGP::Sign Perl Modul | |
11 | Summary(es.UTF-8): Módulo de Perl PGP::Sign | |
12 | Summary(fr.UTF-8): Module Perl PGP::Sign | |
13 | Summary(it.UTF-8): Modulo di Perl PGP::Sign | |
14 | Summary(ja.UTF-8): PGP::Sign Perl モジュール | |
15 | Summary(ko.UTF-8): PGP::Sign 펄 모줄 | |
16 | Summary(nb.UTF-8): Perlmodul PGP::Sign | |
17 | Summary(pl.UTF-8): Moduł Perla PGP::Sign | |
18 | Summary(pt.UTF-8): Módulo de Perl PGP::Sign | |
19 | Summary(pt_BR.UTF-8): Módulo Perl PGP::Sign | |
20 | Summary(ru.UTF-8): Модуль для Perl PGP::Sign | |
21 | Summary(sv.UTF-8): PGP::Sign Perlmodul | |
22 | Summary(uk.UTF-8): Модуль для Perl PGP::Sign | |
23 | Summary(zh_CN.UTF-8): PGP::Sign Perl 模块 | |
192b42c1 | 24 | Name: perl-PGP-Sign |
57c5956f | 25 | Version: 0.20 |
26 | Release: 1 | |
9d333072 | 27 | # same as perl |
be5042eb | 28 | License: GPL v1+ or Artistic |
192b42c1 | 29 | Group: Development/Languages/Perl |
d12ed884 | 30 | Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz |
57c5956f | 31 | # Source0-md5: a4b25e00c3d30651d859e29b2995b7b9 |
b114e1f7 | 32 | URL: http://search.cpan.org/dist/PGP-Sign/ |
192b42c1 | 33 | BuildRequires: gnupg |
642b813f JB |
34 | BuildRequires: perl-devel >= 1:5.8.0 |
35 | BuildRequires: rpm-perlprov >= 4.1-13 | |
192b42c1 | 36 | Requires: gnupg |
effc80ef | 37 | BuildArch: noarch |
55b33a24 | 38 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
192b42c1 | 39 | |
40 | %description | |
90584d6f | 41 | PGP::Sign - generates detached PGP signatures for data. |
192b42c1 | 42 | |
8173ef8e | 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. | |
192b42c1 | 46 | |
5196484f | 47 | %description -l pl.UTF-8 |
90584d6f | 48 | PGP::Sign - generuje oddzielne sygnatury PGP dla danych. |
192b42c1 | 49 | |
5196484f JR |
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 | |
8173ef8e | 52 | PGP/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 | |
68 | rm -rf $RPM_BUILD_ROOT | |
41bc9c23 | 69 | |
642b813f JB |
70 | %{__make} install \ |
71 | DESTDIR=$RPM_BUILD_ROOT | |
192b42c1 | 72 | |
192b42c1 | 73 | %clean |
74 | rm -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/* |