]> git.pld-linux.org Git - packages/perl-Authen-Challenge-Basic.git/blame - perl-Authen-Challenge-Basic.spec
use generic url
[packages/perl-Authen-Challenge-Basic.git] / perl-Authen-Challenge-Basic.spec
CommitLineData
bcc757ae 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
f0b4cd18
ER
4
5%define pdir Authen
6%define pnam Challenge-Basic
7ec7b537 7%include /usr/lib/rpm/macros.perl
3d6491cd 8Summary: Authen::Challenge::Basic - a basic challenge/response authentication scheme
2cdef03b 9Summary(pl.UTF-8): Authen::Challenge::Basic - podstawowy schemat uwierzytelniania wezwanie/odpowiedź
cfd90155 10Name: perl-Authen-Challenge-Basic
11Version: 0.1
bc0f0f4d 12Release: 10
3d6491cd 13License: unknown
cfd90155 14Group: Development/Languages/Perl
1359cc12 15Source0: http://www.cpan.org/modules/by-module/Authen/Authen-Challenge-Basic-%{version}.tar.gz
87d214a4 16# Source0-md5: baafb21abd63b3b8b7829ea082891a42
dc8e38fc 17Patch0: %{name}-Digest-MD5.patch
f0b4cd18 18URL: http://search.cpan.org/dist/Authen-Challenge-Basic/
7ec7b537 19BuildRequires: perl-Digest-MD5
f0b4cd18
ER
20BuildRequires: perl-devel >= 1:5.8.0
21BuildRequires: rpm-perlprov >= 4.1-13
aa41b9fd 22BuildArch: noarch
cddab43e 23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
cfd90155 24
25%description
3d6491cd 26Authen::Challenge::Basic Perl module provides a simple MD5-based
27challenge/response protocol allowing for mutual peer authentication in
28a session. The protocol includes timing information, so it is possible
29to introduce time constraints in the session to help prevent attacks
30that rely on adjusting the clock in one of the peers.
cfd90155 31
be55adf8
JR
32%description -l pl.UTF-8
33Moduł Perla Authen::Challenge::Basic udostępnia prosty, oparty o MD5,
34protokół uwierzytelniania typu wezwanie/odpowiedź umożliwiający
35wzajemne uwierzytelnianie partnerów podczas sesji. Protokół zawiera
36informacje synchronizujące, więc możliwe jest wprowadzenie podczas
37sesji ograniczeń czasowych ułatwiających zapobieganie atakom opartym
38na przestawieniu zegara jednego z partnerów.
cfd90155 39
40%prep
41%setup -q -n Authen-Challenge-Basic-%{version}
dc8e38fc 42%patch0 -p1
cfd90155 43
44%build
07d1ea58 45%{__perl} Makefile.PL \
cc72a0b0 46 INSTALLDIRS=vendor
751db422 47%{__make}
cfd90155 48
bcc757ae 49%{?with_tests:%{__make} test}
50
cfd90155 51%install
52rm -rf $RPM_BUILD_ROOT
cfd90155 53
bcc757ae 54%{__make} install \
55 DESTDIR=$RPM_BUILD_ROOT
cfd90155 56
cfd90155 57%clean
58rm -rf $RPM_BUILD_ROOT
59
60%files
61%defattr(644,root,root,755)
ddd90483 62%doc README
07d1ea58 63%dir %{perl_vendorlib}/Authen/Challenge
64%{perl_vendorlib}/Authen/Challenge/Basic.pm
cfd90155 65%{_mandir}/man3/*
This page took 0.083661 seconds and 4 git commands to generate.