]>
Commit | Line | Data |
---|---|---|
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 | 8 | Summary: Authen::Challenge::Basic - a basic challenge/response authentication scheme |
2cdef03b | 9 | Summary(pl.UTF-8): Authen::Challenge::Basic - podstawowy schemat uwierzytelniania wezwanie/odpowiedź |
cfd90155 | 10 | Name: perl-Authen-Challenge-Basic |
11 | Version: 0.1 | |
bc0f0f4d | 12 | Release: 10 |
3d6491cd | 13 | License: unknown |
cfd90155 | 14 | Group: Development/Languages/Perl |
1359cc12 | 15 | Source0: http://www.cpan.org/modules/by-module/Authen/Authen-Challenge-Basic-%{version}.tar.gz |
87d214a4 | 16 | # Source0-md5: baafb21abd63b3b8b7829ea082891a42 |
dc8e38fc | 17 | Patch0: %{name}-Digest-MD5.patch |
f0b4cd18 | 18 | URL: http://search.cpan.org/dist/Authen-Challenge-Basic/ |
7ec7b537 | 19 | BuildRequires: perl-Digest-MD5 |
f0b4cd18 ER |
20 | BuildRequires: perl-devel >= 1:5.8.0 |
21 | BuildRequires: rpm-perlprov >= 4.1-13 | |
aa41b9fd | 22 | BuildArch: noarch |
cddab43e | 23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
cfd90155 | 24 | |
25 | %description | |
3d6491cd | 26 | Authen::Challenge::Basic Perl module provides a simple MD5-based |
27 | challenge/response protocol allowing for mutual peer authentication in | |
28 | a session. The protocol includes timing information, so it is possible | |
29 | to introduce time constraints in the session to help prevent attacks | |
30 | that rely on adjusting the clock in one of the peers. | |
cfd90155 | 31 | |
be55adf8 JR |
32 | %description -l pl.UTF-8 |
33 | Moduł Perla Authen::Challenge::Basic udostępnia prosty, oparty o MD5, | |
34 | protokół uwierzytelniania typu wezwanie/odpowiedź umożliwiający | |
35 | wzajemne uwierzytelnianie partnerów podczas sesji. Protokół zawiera | |
36 | informacje synchronizujące, więc możliwe jest wprowadzenie podczas | |
37 | sesji ograniczeń czasowych ułatwiających zapobieganie atakom opartym | |
38 | na 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 |
52 | rm -rf $RPM_BUILD_ROOT | |
cfd90155 | 53 | |
bcc757ae | 54 | %{__make} install \ |
55 | DESTDIR=$RPM_BUILD_ROOT | |
cfd90155 | 56 | |
cfd90155 | 57 | %clean |
58 | rm -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/* |