]> git.pld-linux.org Git - packages/perl-PGP-Sign.git/blob - perl-PGP-Sign.spec
- spec adapterized,
[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_eq    perl
16 Requires:       %{perl_sitearch}
17 Requires:       gnupg
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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
24 with PGP, you need to modify 'Global variables' section in the
25 PGP/Sign.pm file.
26
27 %description -l pl
28 PGP-Sign - generuje oddzielne sygnatury PGP dla danych.
29
30 Ten pakiet zosta³ zbudowany do u¿ycia z GnuPG. Je¶li chcesz u¿ywaæ go
31 z PGP, musisz zmodyfikowaæ sekcjê 'Global variables' w pliku
32 PGP/Sign.pm.
33
34 %prep
35 %setup -q -n PGP-Sign-%{version}
36
37 %build
38 perl Makefile.PL \
39         PGP=/usr/bin/gpg \
40         PGPSTYLE=GPG
41 %{__make}
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45
46 %{__make} install DESTDIR=$RPM_BUILD_ROOT
47
48 gzip -9nf ChangeLog README TODO
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %files
54 %defattr(644,root,root,755)
55 %doc *.gz
56 %{perl_sitelib}/PGP/Sign.pm
57 %{_mandir}/man3/*
This page took 0.083904 seconds and 3 git commands to generate.