]>
Commit | Line | Data |
---|---|---|
1c82796f | 1 | # |
2 | # Conditional build: | |
9d333072 | 3 | %bcond_without tests # do not perform "make test" |
1c82796f | 4 | # |
7e57bb09 | 5 | %include /usr/lib/rpm/macros.perl |
0827ca79 | 6 | %define pdir PGP |
7 | %define pnam Sign | |
16a3b81e | 8 | Summary: PGP::Sign Perl module |
5196484f JR |
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 模块 | |
192b42c1 | 25 | Name: perl-PGP-Sign |
b114e1f7 | 26 | Version: 0.19 |
62628f5e | 27 | Release: 1 |
9d333072 | 28 | # same as perl |
be5042eb | 29 | License: GPL v1+ or Artistic |
192b42c1 | 30 | Group: Development/Languages/Perl |
d12ed884 | 31 | Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz |
b114e1f7 AG |
32 | # Source0-md5: d7a461db926dd3d826591562135926df |
33 | URL: http://search.cpan.org/dist/PGP-Sign/ | |
192b42c1 | 34 | BuildRequires: gnupg |
642b813f JB |
35 | BuildRequires: perl-devel >= 1:5.8.0 |
36 | BuildRequires: rpm-perlprov >= 4.1-13 | |
192b42c1 | 37 | Requires: gnupg |
effc80ef | 38 | BuildArch: noarch |
55b33a24 | 39 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
192b42c1 | 40 | |
41 | %description | |
90584d6f | 42 | PGP::Sign - generates detached PGP signatures for data. |
192b42c1 | 43 | |
8173ef8e | 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. | |
192b42c1 | 47 | |
5196484f | 48 | %description -l pl.UTF-8 |
90584d6f | 49 | PGP::Sign - generuje oddzielne sygnatury PGP dla danych. |
192b42c1 | 50 | |
5196484f JR |
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 | |
8173ef8e | 53 | PGP/Sign.pm. |
192b42c1 | 54 | |
55 | %prep | |
7e57bb09 | 56 | %setup -q -n %{pdir}-%{pnam}-%{version} |
192b42c1 | 57 | |
58 | %build | |
413c1d84 | 59 | %{__perl} Makefile.PL \ |
f5b9d42b | 60 | INSTALLDIRS=vendor \ |
e38803cf | 61 | PGP=%{_bindir}/gpg \ |
192b42c1 | 62 | PGPSTYLE=GPG |
b114e1f7 | 63 | |
39a00607 | 64 | %{__make} |
b114e1f7 | 65 | |
9d333072 | 66 | %{?with_tests:%{__make} test} |
192b42c1 | 67 | |
68 | %install | |
69 | rm -rf $RPM_BUILD_ROOT | |
41bc9c23 | 70 | |
642b813f JB |
71 | %{__make} install \ |
72 | DESTDIR=$RPM_BUILD_ROOT | |
192b42c1 | 73 | |
192b42c1 | 74 | %clean |
75 | rm -rf $RPM_BUILD_ROOT | |
76 | ||
77 | %files | |
78 | %defattr(644,root,root,755) | |
16a3b81e | 79 | %doc ChangeLog README TODO |
f5b9d42b | 80 | %{perl_vendorlib}/PGP |
192b42c1 | 81 | %{_mandir}/man3/* |