]> git.pld-linux.org Git - packages/perl-Authen-Smb.git/blob - perl-Authen-Smb.spec
82b1b3b8f457f58413a5bfc5b8689369785b6e28
[packages/perl-Authen-Smb.git] / perl-Authen-Smb.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %include        /usr/lib/rpm/macros.perl
6 %define         pdir    Authen
7 %define         pnam    Smb
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
10 Name:           perl-Authen-Smb
11 Version:        0.91
12 Release:        11
13 License:        GPL v2+
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 BuildRequires:  rpm-perlprov >= 4.1-13
18 BuildRequires:  perl-devel >= 1:5.8.0
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 %{perl_vendorarch}/auto/Authen/Smb/Smb.bs
61 %attr(755,root,root) %{perl_vendorarch}/auto/Authen/Smb/Smb.so
62 %{_mandir}/man3/*
This page took 0.093134 seconds and 2 git commands to generate.