3 %bcond_without tests # do not perform "make test"
7 Summary: Authen::NTLM - Perl extension for NTLM related computations
8 Summary(pl.UTF-8): Authen::NTLM - rozszerzenie Perla o obliczenia oparte na NTLM
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pnam}-%{version}.tar.gz
16 # Source0-md5: da314ee94b14af2a2f39b6f2c0046e73
17 URL: http://search.cpan.org/dist/Authen-NTLM/
18 BuildRequires: perl-Crypt-DES >= 2.03
19 BuildRequires: perl-Digest-HMAC
20 BuildRequires: perl-Digest-MD4 >= 1.1
21 BuildRequires: perl-devel >= 1:5.8.0
22 BuildRequires: rpm-perlprov >= 4.1-13
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 %define _noautoreq 'perl(Crypt::DES_PP)' 'perl(Digest::Perl::MD4)'
29 The NTLM (Windows NT LAN Manager) authentication scheme is the
30 authentication algorithm used by Microsoft.
32 NTLM authentication scheme is used in DCOM and HTTP environment. It is
33 used to authenticate DCE RPC packets in DCOM. It is also used to
34 authenticate HTTP packets to MS Web Proxy or MS Web Server.
36 As of this version, NTLM module only provides the client side
37 functions to calculate NT response and LM response.
39 %description -l pl.UTF-8
40 Schemat autentykacji NTLM (Windows NT LAN Manager) jest algorytmem
41 autentykacji używanym przez Microsoft.
43 Schemat autentykacji NTLM jest wykorzystywany w środowiskach DCOM i
44 HTTP. W DCOM służy do autentykacji pakietów DCE RPC. W HTTP jest
45 wykorzystywany do autentykacji pakietów HTTP przez MS Web Proxy i MS
48 Aktualna wersja modułu NTLM zawiera jedynie wsparcie dla funkcji
49 obliczających odpowiedzi NT i LM po stronie klienta.
52 %setup -q -n %{pnam}-%{version}
55 %{__perl} Makefile.PL \
59 %{?with_tests:%{__make} test}
62 rm -rf $RPM_BUILD_ROOT
65 DESTDIR=$RPM_BUILD_ROOT
68 rm -rf $RPM_BUILD_ROOT
71 %defattr(644,root,root,755)
72 %{perl_vendorlib}/Authen/NTLM.pm
73 %{perl_vendorlib}/Authen/NTLM