]> git.pld-linux.org Git - packages/perl-Authen-Radius.git/blob - perl-Authen-Radius.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Authen-Radius.git] / perl-Authen-Radius.spec
1 #
2 # Conditional build:
3 %bcond_with     tests   # perform "make test" (requires Radius server availability)
4 #
5 %define         pdir    Authen
6 %define         pnam    Radius
7 Summary:        Authen::Radius - provide simple RADIUS client facilities
8 Summary(pl.UTF-8):      Authen::Radius - udostępnienie funkcji klienta RADIUS
9 Name:           perl-%{pdir}-%{pnam}
10 Version:        0.20
11 Release:        1
12 License:        Artistic
13 Group:          Development/Languages/Perl
14 Source0:        http://www.cpan.org/modules/by-module/Authen/RadiusPerl-%{version}.tar.gz
15 # Source0-md5:  acd0f83204117e47bacc0105868266b1
16 # for dependency resolving
17 BuildRequires:  perl-Data-HexDump
18 BuildRequires:  perl-Digest-MD5
19 BuildRequires:  perl-devel >= 1:5.8.0
20 BuildRequires:  rpm-perlprov >= 4.1-13
21 BuildArch:      noarch
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 Authen::Radius is Perl module for authentication using RADIUS server.
26
27 %description -l pl.UTF-8
28 Authen::Radius jest modułem Perla do autentykacji przy pomocy serwera
29 RADIUS.
30
31 %prep
32 %setup -q -n %{pdir}-%{pnam}-%{version}
33
34 %build
35 %{__perl} Makefile.PL \
36         INSTALLDIRS=vendor
37 %{__make}
38
39 %{?with_tests:%{__make} test}
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43
44 %{__make} install \
45         DESTDIR=$RPM_BUILD_ROOT
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(644,root,root,755)
52 %doc Changes README
53 %{_mandir}/man3/*
54 %{perl_vendorlib}/Authen/Radius.pm
This page took 0.135237 seconds and 4 git commands to generate.