]> git.pld-linux.org Git - packages/perl-PGP-Sign.git/blob - perl-PGP-Sign.spec
b07eec8c1123091883150032416113c47d839dab
[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.14
6 Release:        3
7 Copyright:      GPL
8 Group:          Development/Languages/Perl
9 Group(pl):      Programowanie/Jêzyki/Perl
10 Source:         ftp://ftp.perl.org/pub/CPAN/modules/by-module/PGP/PGP-Sign-%{version}.tar.gz
11 Patch:          perl-PGP-Sign-makefile.patch
12 BuildRequires:  rpm-perlprov >= 3.0.3-16
13 BuildRequires:  perl >= 5.005_03-14
14 BuildRequires:  gnupg
15 %requires_eq    perl
16 Requires:       %{perl_sitearch}
17 Requires:       gnupg
18 BuildRoot:      /tmp/%{name}-%{version}-root
19
20 %description
21 PGP-Sign - generates detached PGP signatures for data.
22
23 This package was built for using with GnuPG. If you want to use it with
24 PGP, you need to modify 'Global variables' section in the PGP/Sign.pm file.
25
26 %description -l pl
27 PGP-Sign - generuje oddzielne sygnatury PGP dla danych.
28
29 Ten pakiet zosta³ zbudowany do u¿ycia z GnuPG. Je¶li chcesz u¿ywaæ go
30 z PGP, musisz zmodyfikowaæ sekcjê 'Global variables' w pliku PGP/Sign.pm.
31
32 %prep
33 %setup -q -n PGP-Sign-%{version}
34 %patch -p0
35
36 %build
37 perl Makefile.PL \
38         PGP=/usr/bin/gpg \
39         PGPSTYLE=GPG
40 make
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44 make install DESTDIR=$RPM_BUILD_ROOT
45
46 (
47   cd $RPM_BUILD_ROOT%{perl_sitearch}/auto/PGP/Sign
48   sed -e "s#$RPM_BUILD_ROOT##" .packlist >.packlist.new
49   mv .packlist.new .packlist
50 )
51
52 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man3/* \
53         ChangeLog README TODO
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %files
59 %defattr(644,root,root,755)
60 %doc {ChangeLog,README,TODO}.gz
61
62 %{perl_sitelib}/PGP/Sign.pm
63 %{perl_sitearch}/auto/PGP/Sign
64
65 %{_mandir}/man3/*
This page took 0.049742 seconds and 2 git commands to generate.