]> git.pld-linux.org Git - SPECS.git/blob - perl-Authen-TacacsPlus.spec
SPECS updated Sun 1 Aug 20:13:02 CEST 2021
[SPECS.git] / perl-Authen-TacacsPlus.spec
1 #
2 # Conditional build:
3 %bcond_with     tests   # perform "make test"
4                         # tests hang: require server ?
5
6 %define         pdir    Authen
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
11 Version:        0.22
12 Release:        11
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)
21
22 %description
23 Authen::TacacsPlus Perl module allows you to authenticate using
24 tacacs+ server.
25
26 %description -l pl.UTF-8
27 Moduł Perla Authen::TacacsPlus pozwala na uwierzytelnianie przy pomocy
28 serwera tacacs+.
29
30 %prep
31 %setup -q -n Authen-TacacsPlus-%{version}
32
33 %build
34 %{__perl} Makefile.PL \
35         INSTALLDIRS=vendor
36 %{__make} \
37         CC="%{__cc}" \
38         OPTIMIZE="%{rpmcflags}"
39
40 %{?with_tests:%{__make} test}
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44
45 %{__make} install \
46         DESTDIR=$RPM_BUILD_ROOT
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %doc Changes README
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
57 %{_mandir}/man3/*
This page took 0.119262 seconds and 3 git commands to generate.