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