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