]> git.pld-linux.org Git - packages/perl-Authen-TacacsPlus.git/blob - perl-Authen-TacacsPlus.spec
db680f1a56464f3b2d4518fabfa58cb89a144c26
[packages/perl-Authen-TacacsPlus.git] / perl-Authen-TacacsPlus.spec
1 #
2 # Conditional build:
3 %bcond_with     tests   # perform "make test"
4                         # tests hang: require server ?
5 #
6 %include        /usr/lib/rpm/macros.perl
7 Summary:        Authen::TacacsPlus - Perl extension module for authentication using tacacs+ server
8 Summary(pl.UTF-8):      Authen::TacacsPlus - moduł Perla do uwierzytelniania przy pomocy serwera tacacs+
9 Name:           perl-Authen-TacacsPlus
10 Version:        0.22
11 Release:        3
12 License:        custom, distributable
13 Group:          Development/Languages/Perl
14 Source0:        http://search.cpan.org/CPAN/authors/id/M/MI/MIKEM/Authen-TacacsPlus/Authen-TacacsPlus-%{version}.tar.gz
15 # Source0-md5:  509f2d176393d80cc2657a9af1424982
16 BuildRequires:  rpm-perlprov >= 4.1-13
17 BuildRequires:  perl-devel >= 1:5.8.0
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 Authen::TacacsPlus Perl module allows you to authenticate using
22 tacacs+ server.
23
24 %description -l pl.UTF-8
25 Moduł Perla Authen::TacacsPlus pozwala na uwierzytelnianie przy pomocy
26 serwera tacacs+.
27
28 %prep
29 %setup -q -n Authen-TacacsPlus-%{version}
30
31 %build
32 %{__perl} Makefile.PL \
33         INSTALLDIRS=vendor
34 %{__make} \
35         CC="%{__cc}" \
36         OPTIMIZE="%{rpmcflags}"
37
38 %{?with_tests:%{__make} test}
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42
43 %{__make} install \
44         DESTDIR=$RPM_BUILD_ROOT
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %doc Changes README
52 %{perl_vendorarch}/Authen/TacacsPlus.pm
53 %dir %{perl_vendorarch}/auto/Authen/TacacsPlus
54 %attr(755,root,root) %{perl_vendorarch}/auto/Authen/TacacsPlus/TacacsPlus.so
55 %{_mandir}/man3/*
This page took 0.174432 seconds and 2 git commands to generate.