]> git.pld-linux.org Git - packages/perl-Authen-Smb.git/blame - perl-Authen-Smb.spec
perl 5.38.0 rebuild
[packages/perl-Authen-Smb.git] / perl-Authen-Smb.spec
CommitLineData
fe241cbb 1#
2# Conditional build:
50752cad 3%bcond_without tests # do not perform "make test"
9f9159d2 4
02ad73c9 5%define pdir Authen
6%define pnam Smb
c09ab264 7Summary: Authen::Smb - Perl extension to authenticate against an SMB server
fd6af6e6 8Summary(pl.UTF-8): Authen::Smb - rozszerzenie Perla do uwierzytelniania za pośrednictwem serwera SMB
316ee662 9Name: perl-Authen-Smb
c40de093 10Version: 0.91
51b7c0eb 11Release: 24
f5a95b23 12License: GPL v2+
316ee662 13Group: Development/Languages/Perl
d58e75ca 14Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
027fe739 15# Source0-md5: 97d8aee872160eeabd0c08a7b0985216
9f9159d2 16URL: http://search.cpan.org/dist/Authen-Smb/
5233d47b 17BuildRequires: perl-devel >= 1:5.8.0
9f9159d2 18BuildRequires: rpm-perlprov >= 4.1-13
17059a66 19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
316ee662 20
21%description
c09ab264 22Authen::Smb Perl module allows you to authenticate a user against an
02ad73c9 23NT domain. You can specify both a primary and a backup server to use
24for authentication. The NT names of the machines should be used for
c09ab264 25specifying servers.
316ee662 26
797a22dc
JR
27%description -l pl.UTF-8
28Moduł Perla Authen::Smb umożliwia uwierzytelnianie użytkownika za
29pośrednictwem domeny NT. Daje możliwość określenia zarówno serwera
30podstawowego, jak i zapasowego, które bedą używane do
9f9159d2 31uwierzytelniania. Do określenia serwerów należy używać nazw NT.
316ee662 32
33%prep
9621a28e 34%setup -q -n %{pdir}-%{pnam}-%{version}
316ee662 35
36%build
b74e46a9 37%{__perl} Makefile.PL \
4dd81452 38 INSTALLDIRS=vendor
230951fd 39%{__make} \
cc5c25a1 40 CC="%{__cc}" \
230951fd 41 OPTIMIZE="%{rpmcflags}"
316ee662 42
50752cad 43%{?with_tests:%{__make} test}
fe241cbb 44
316ee662 45%install
46rm -rf $RPM_BUILD_ROOT
316ee662 47
230951fd 48%{__make} install \
49 DESTDIR=$RPM_BUILD_ROOT
316ee662 50
316ee662 51%clean
52rm -rf $RPM_BUILD_ROOT
53
54%files
55%defattr(644,root,root,755)
fe241cbb 56%doc Changes README
b74e46a9 57%{perl_vendorarch}/Authen/Smb.pm
58%dir %{perl_vendorarch}/auto/Authen/Smb
59%{perl_vendorarch}/auto/Authen/Smb/autosplit.ix
b74e46a9 60%attr(755,root,root) %{perl_vendorarch}/auto/Authen/Smb/Smb.so
316ee662 61%{_mandir}/man3/*
This page took 0.086726 seconds and 4 git commands to generate.