1 %include /usr/lib/rpm/macros.perl
2 Summary: PGP-Sign perl module
3 Summary(pl): Modu³ perla PGP-Sign
8 Group: Development/Languages/Perl
9 Group(pl): Programowanie/Jêzyki/Perl
10 Source0: 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
15 Requires: %{perl_sitearch}
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 PGP-Sign - generates detached PGP signatures for data.
22 This package was built for using with GnuPG. If you want to use it
23 with PGP, you need to modify 'Global variables' section in the
27 PGP-Sign - generuje oddzielne sygnatury PGP dla danych.
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
34 %setup -q -n PGP-Sign-%{version}
43 rm -rf $RPM_BUILD_ROOT
44 %{__make} install DESTDIR=$RPM_BUILD_ROOT
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
52 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man3/* \
56 rm -rf $RPM_BUILD_ROOT
59 %defattr(644,root,root,755)
60 %doc {ChangeLog,README,TODO}.gz
62 %{perl_sitelib}/PGP/Sign.pm
63 %{perl_sitearch}/auto/PGP/Sign