]> git.pld-linux.org Git - packages/perl-PGP-Sign.git/blob - perl-PGP-Sign.spec
- removed explicit requirements for perl = %%{version} and %%{perl_sitearch}
[packages/perl-PGP-Sign.git] / perl-PGP-Sign.spec
1 %include        /usr/lib/rpm/macros.perl
2 Summary:        PGP-Sign perl module
3 Summary(pl):    Modu³ perla PGP-Sign
4 Name:           perl-PGP-Sign
5 Version:        0.16
6 Release:        2
7 License:        GPL
8 Group:          Development/Languages/Perl
9 Group(de):      Entwicklung/Sprachen/Perl
10 Group(pl):      Programowanie/Jêzyki/Perl
11 Source0:        ftp://ftp.perl.org/pub/CPAN/modules/by-module/PGP/PGP-Sign-%{version}.tar.gz
12 BuildRequires:  rpm-perlprov >= 3.0.3-16
13 BuildRequires:  perl >= 5.6
14 BuildRequires:  gnupg
15 Requires:       gnupg
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 PGP-Sign - generates detached PGP signatures for data.
20
21 This package was built for using with GnuPG. If you want to use it
22 with PGP, you need to modify 'Global variables' section in the
23 PGP/Sign.pm file.
24
25 %description -l pl
26 PGP-Sign - generuje oddzielne sygnatury PGP dla danych.
27
28 Ten pakiet zosta³ zbudowany do u¿ycia z GnuPG. Je¶li chcesz u¿ywaæ go
29 z PGP, musisz zmodyfikowaæ sekcjê 'Global variables' w pliku
30 PGP/Sign.pm.
31
32 %prep
33 %setup -q -n PGP-Sign-%{version}
34
35 %build
36 perl Makefile.PL \
37         PGP=/usr/bin/gpg \
38         PGPSTYLE=GPG
39 %{__make}
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43
44 %{__make} install DESTDIR=$RPM_BUILD_ROOT
45
46 gzip -9nf ChangeLog README TODO
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %doc *.gz
54 %{perl_sitelib}/PGP/Sign.pm
55 %{_mandir}/man3/*
This page took 1.258131 seconds and 4 git commands to generate.