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