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