]> git.pld-linux.org Git - packages/perl-PGP-Sign.git/blob - perl-PGP-Sign.spec
- updated to 0.16
[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:        1
7 License:        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 BuildRequires:  rpm-perlprov >= 3.0.3-16
12 BuildRequires:  perl >= 5.005_03-14
13 BuildRequires:  gnupg
14 %requires_eq    perl
15 Requires:       %{perl_sitearch}
16 Requires:       gnupg
17 BuildRoot:      /tmp/%{name}-%{version}-root
18
19 %description
20 PGP-Sign - generates detached PGP signatures for data.
21
22 This package was built for using with GnuPG. If you want to use it with
23 PGP, you need to modify 'Global variables' section in the 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 PGP/Sign.pm.
30
31 %prep
32 %setup -q -n PGP-Sign-%{version}
33
34 %build
35 perl Makefile.PL \
36         PGP=/usr/bin/gpg \
37         PGPSTYLE=GPG
38 make
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42 make install DESTDIR=$RPM_BUILD_ROOT
43
44 (
45   cd $RPM_BUILD_ROOT%{perl_sitearch}/auto/PGP/Sign
46   sed -e "s#$RPM_BUILD_ROOT##" .packlist >.packlist.new
47   mv .packlist.new .packlist
48 )
49
50 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man3/* \
51         ChangeLog README TODO
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files
57 %defattr(644,root,root,755)
58 %doc {ChangeLog,README,TODO}.gz
59
60 %{perl_sitelib}/PGP/Sign.pm
61 %{perl_sitearch}/auto/PGP/Sign
62
63 %{_mandir}/man3/*
This page took 0.101772 seconds and 3 git commands to generate.