]> git.pld-linux.org Git - packages/perl-Authen-SASL.git/blob - perl-Authen-SASL.spec
- unified comments
[packages/perl-Authen-SASL.git] / perl-Authen-SASL.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %include        /usr/lib/rpm/macros.perl
6 %define pdir    Authen
7 %define pnam    SASL
8 Summary:        Authen::SASL Perl module - SASL authentication framework
9 Summary(pl):    Modu³ Perla Authen::SASL - szkielet autentykacji SASL
10 Name:           perl-Authen-SASL
11 Version:        2.08
12 Release:        1
13 Vendor:         Graham Barr <gbarr@pobox.com>
14 # same as perl
15 License:        GPL v1+ or Artistic
16 Group:          Development/Languages/Perl
17 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
18 # Source0-md5:  a116d7a205fa0dcf969ac8e0bd78d4ff
19 BuildRequires:  perl-devel >= 1:5.8.0
20 BuildRequires:  rpm-perlprov >= 4.1-13
21 %if %{with tests}
22 BuildRequires:  perl-Digest-HMAC
23 %endif
24 # earlier perl-ldap contain own Authen::SASL
25 Conflicts:      perl-ldap < 0.26
26 BuildArch:      noarch
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
30 SASL is a generic mechanism for authentication used by several network
31 protocols. Authen::SASL provides an implementation framework that all
32 protocols should be able to share.
33
34 %description -l pl
35 SASL jest ogólnym mechanizmem autentykacji wykorzystywanym przez
36 niektóre protoko³y sieciowe. Authen::SASL udostêpnia szkielet
37 implementacji, który powinien dawaæ mo¿liwo¶æ wspó³dzielenia go przez
38 wszystkie protoko³y.
39
40 %prep
41 %setup -q -n %{pdir}-%{pnam}-%{version}
42
43 %build
44 %{__perl} Makefile.PL \
45         INSTALLDIRS=vendor
46 %{__make}
47 %{?with_tests:%{__make} test}
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51
52 %{__make} install \
53         DESTDIR=$RPM_BUILD_ROOT
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %files
59 %defattr(644,root,root,755)
60 %doc Changes api.txt
61 %dir %{perl_vendorlib}/Authen/SASL
62 %{perl_vendorlib}/Authen/SASL.pm
63 %{perl_vendorlib}/Authen/SASL/*
64 %{_mandir}/man3/*
This page took 0.240348 seconds and 3 git commands to generate.