]> git.pld-linux.org Git - packages/perl-Authen-Smb.git/blame - perl-Authen-Smb.spec
- add CC to %{__make}
[packages/perl-Authen-Smb.git] / perl-Authen-Smb.spec
CommitLineData
fe241cbb 1#
2# Conditional build:
50752cad
AG
3%bcond_without tests # do not perform "make test"
4#
f3a9d2d8 5%include /usr/lib/rpm/macros.perl
02ad73c9 6%define pdir Authen
7%define pnam Smb
c09ab264 8Summary: Authen::Smb - Perl extension to authenticate against an SMB server
fd6af6e6 9Summary(pl.UTF-8): Authen::Smb - rozszerzenie Perla do uwierzytelniania za pośrednictwem serwera SMB
316ee662 10Name: perl-Authen-Smb
c40de093 11Version: 0.91
c7f80851 12Release: 8
f5a95b23 13License: GPL v2+
316ee662 14Group: Development/Languages/Perl
d58e75ca 15Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
027fe739 16# Source0-md5: 97d8aee872160eeabd0c08a7b0985216
b74e46a9 17BuildRequires: rpm-perlprov >= 4.1-13
5233d47b 18BuildRequires: perl-devel >= 1:5.8.0
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
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
60%{perl_vendorarch}/auto/Authen/Smb/Smb.bs
61%attr(755,root,root) %{perl_vendorarch}/auto/Authen/Smb/Smb.so
316ee662 62%{_mandir}/man3/*
This page took 0.033528 seconds and 4 git commands to generate.