]> git.pld-linux.org Git - packages/perl-Authen-Smb.git/blob - perl-Authen-Smb.spec
perl 5.38.0 rebuild
[packages/perl-Authen-Smb.git] / perl-Authen-Smb.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4
5 %define         pdir    Authen
6 %define         pnam    Smb
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
9 Name:           perl-Authen-Smb
10 Version:        0.91
11 Release:        24
12 License:        GPL v2+
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)
20
21 %description
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
25 specifying servers.
26
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.
32
33 %prep
34 %setup -q -n %{pdir}-%{pnam}-%{version}
35
36 %build
37 %{__perl} Makefile.PL \
38         INSTALLDIRS=vendor
39 %{__make} \
40         CC="%{__cc}" \
41         OPTIMIZE="%{rpmcflags}"
42
43 %{?with_tests:%{__make} test}
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47
48 %{__make} install \
49         DESTDIR=$RPM_BUILD_ROOT
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files
55 %defattr(644,root,root,755)
56 %doc Changes README
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
61 %{_mandir}/man3/*
This page took 0.119886 seconds and 4 git commands to generate.