]> git.pld-linux.org Git - packages/perl-Module-Signature.git/blame - perl-Module-Signature.spec
- updated to 0.81
[packages/perl-Module-Signature.git] / perl-Module-Signature.spec
CommitLineData
0904e439 1#
0a70a715 2# Conditional build:
fb2f8bb8 3%bcond_with tests # perform "make test" (uses network)
0904e439 4#
0a70a715 5%include /usr/lib/rpm/macros.perl
39f667d8 6%define pdir Module
7%define pnam Signature
9be60909 8Summary: Module::Signature - module signature file manipulation
c1f887ce 9Summary(pl.UTF-8): Module::Signature - obróbka pliku sygnatury modułu
0a70a715 10Name: perl-Module-Signature
923eee72 11Version: 0.81
958e93b5 12Release: 1
0b95632f 13# same as perl
fe8e9afb 14License: GPL v1+ or Artistic
0a70a715 15Group: Development/Languages/Perl
605e323e 16Source0: http://www.cpan.org/modules/by-module/Module/%{pdir}-%{pnam}-%{version}.tar.gz
923eee72 17# Source0-md5: cdc79f58ac56612edace3116c2805b97
605e323e 18URL: http://search.cpan.org/dist/Module-Signature/
0904e439
JB
19# gnupg or Crypt::OpenPGP
20BuildRequires: gnupg
0a70a715 21%if %{with tests}
d70e7cf6 22BuildRequires: gnupg-plugin-keys_hkp
0a70a715 23BuildRequires: perl-Digest-SHA1
24%endif
0904e439
JB
25BuildRequires: perl-devel >= 1:5.8.0
26BuildRequires: rpm-perlprov >= 4.1-13
0a70a715 27BuildArch: noarch
28BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30%description
31Module::Signature adds cryptographic authentications to CPAN
32distributions, via the special SIGNATURE file.
33
daf3cdca 34%description -l pl.UTF-8
0b95632f
JB
35Module::Signature dodaje uwierzytelnianie kryptograficzne do
36dystrybucji CPAN poprzez specjalny plik SIGNATURE.
37
0a70a715 38%prep
39%setup -q -n %{pdir}-%{pnam}-%{version}
40
41%build
54fce50c 42echo n | %{__perl} Makefile.PL \
0a70a715 43 INSTALLDIRS=vendor \
44 --skipdeps
45
46%{__make}
47
daa1d9ee
AG
48%if %{with tests}
49# ugly?
50mkdir -p ~/.gnupg
51%{__make} test
52%endif
0a70a715 53
54%install
55rm -rf $RPM_BUILD_ROOT
56
57%{__make} install \
58 DESTDIR=$RPM_BUILD_ROOT
59
60%clean
61rm -rf $RPM_BUILD_ROOT
62
63%files
64%defattr(644,root,root,755)
010d40cd 65%doc AUTHORS Changes README
0b95632f 66%attr(755,root,root) %{_bindir}/cpansign
0904e439 67%{perl_vendorlib}/Module/Signature.pm
010d40cd
JB
68%{_mandir}/man1/cpansign.1p*
69%{_mandir}/man3/Module::Signature.3pm*
This page took 0.598535 seconds and 4 git commands to generate.