3 %bcond_with tests # perform "make test"
4 # tests hang: require server ?
7 %define pnam TacacsPlus
8 Summary: Authen::TacacsPlus - Perl extension module for authentication using tacacs+ server
9 Summary(pl.UTF-8): Authen::TacacsPlus - moduł Perla do uwierzytelniania przy pomocy serwera tacacs+
10 Name: perl-Authen-TacacsPlus
13 License: custom, distributable
14 Group: Development/Languages/Perl
15 Source0: http://search.cpan.org/CPAN/authors/id/M/MI/MIKEM/Authen-TacacsPlus/Authen-TacacsPlus-%{version}.tar.gz
16 # Source0-md5: 509f2d176393d80cc2657a9af1424982
17 URL: http://search.cpan.org/dist/Authen-TacacsPlus/
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::TacacsPlus Perl module allows you to authenticate using
26 %description -l pl.UTF-8
27 Moduł Perla Authen::TacacsPlus pozwala na uwierzytelnianie przy pomocy
31 %setup -q -n Authen-TacacsPlus-%{version}
34 %{__perl} Makefile.PL \
38 OPTIMIZE="%{rpmcflags}"
40 %{?with_tests:%{__make} test}
43 rm -rf $RPM_BUILD_ROOT
46 DESTDIR=$RPM_BUILD_ROOT
49 rm -rf $RPM_BUILD_ROOT
52 %defattr(644,root,root,755)
54 %{perl_vendorarch}/Authen/TacacsPlus.pm
55 %dir %{perl_vendorarch}/auto/Authen/TacacsPlus
56 %attr(755,root,root) %{perl_vendorarch}/auto/Authen/TacacsPlus/TacacsPlus.so