3 %bcond_without tests # do not perform "make test"
7 Summary: Authen::Smb - Perl extension to authenticate against an SMB server
8 Summary(pl.UTF-8): Authen::Smb - rozszerzenie Perla do uwierzytelniania za pośrednictwem serwera SMB
13 Group: Development/Languages/Perl
14 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5: 97d8aee872160eeabd0c08a7b0985216
16 URL: http://search.cpan.org/dist/Authen-Smb/
17 BuildRequires: perl-devel >= 1:5.8.0
18 BuildRequires: rpm-perlprov >= 4.1-13
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 Authen::Smb Perl module allows you to authenticate a user against an
23 NT domain. You can specify both a primary and a backup server to use
24 for authentication. The NT names of the machines should be used for
27 %description -l pl.UTF-8
28 Moduł Perla Authen::Smb umożliwia uwierzytelnianie użytkownika za
29 pośrednictwem domeny NT. Daje możliwość określenia zarówno serwera
30 podstawowego, jak i zapasowego, które bedą używane do
31 uwierzytelniania. Do określenia serwerów należy używać nazw NT.
34 %setup -q -n %{pdir}-%{pnam}-%{version}
37 %{__perl} Makefile.PL \
41 OPTIMIZE="%{rpmcflags}"
43 %{?with_tests:%{__make} test}
46 rm -rf $RPM_BUILD_ROOT
49 DESTDIR=$RPM_BUILD_ROOT
52 rm -rf $RPM_BUILD_ROOT
55 %defattr(644,root,root,755)
57 %{perl_vendorarch}/Authen/Smb.pm
58 %dir %{perl_vendorarch}/auto/Authen/Smb
59 %{perl_vendorarch}/auto/Authen/Smb/autosplit.ix
60 %attr(755,root,root) %{perl_vendorarch}/auto/Authen/Smb/Smb.so