]> git.pld-linux.org Git - packages/perl-Authen-Radius.git/blob - perl-Authen-Radius.spec
- better descriptions/summaries
[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 %include        /usr/lib/rpm/macros.perl
6 Summary:        Authen::Radius - provide simple RADIUS client facilities
7 Summary(pl):    Authen::Radius - udostêpnienie funkcji klienta RADIUS
8 Name:           perl-Authen-Radius
9 Version:        0.11
10 Release:        1
11 License:        Artistic
12 Group:          Development/Languages/Perl
13 Source0:        http://www.cpan.org/modules/by-module/Authen/RadiusPerl-%{version}.tar.gz
14 # Source0-md5:  5c320a936d5d3819220f2d639db007db
15 # for dependency resolving
16 BuildRequires:  perl-Data-HexDump
17 BuildRequires:  perl-Digest-MD5
18 BuildRequires:  perl-devel >= 5.8.0
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 Authen::Radius is Perl module for authentication using RADIUS server.
25
26 %description -l pl
27 Authen::Radius jest modu³em Perla do autentykacji przy pomocy serwera
28 RADIUS.
29
30 %prep
31 %setup -q -n RadiusPerl-%{version}
32
33 %build
34 %{__perl} Makefile.PL \
35         INSTALLDIRS=vendor
36 %{__make}
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 %{_mandir}/man3/*
53 %{perl_vendorlib}/Authen/Radius.pm
This page took 0.031432 seconds and 3 git commands to generate.