]> git.pld-linux.org Git - packages/perl-Authen-SASL.git/blob - perl-Authen-SASL.spec
- massive attack: change CPAN URLs
[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:        1
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 Patch0:         %{name}-non_existent_man.patch
18 BuildRequires:  pam-devel
19 BuildRequires:  perl >= 5.6
20 BuildRequires:  rpm-perlprov >= 3.0.3-16
21 # earlier perl-ldap contain own Authen::SASL
22 Conflicts:      perl-ldap < 0.26
23 BuildArch:      noarch
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 SASL is a generic mechanism for authentication used by several network
28 protocols. Authen::SASL provides an implementation framework that all
29 protocols should be able to share.
30
31 %description -l pl
32 SASL jest ogólnym mechanizmem autentykacji wykorzystywanym przez
33 niektóre protoko³y sieciowe. Authen::SASL udostêpnia szkielet
34 implementacji, który powinien dawaæ mo¿liwo¶æ wspó³dzielenia go przez
35 wszystkie protoko³y.
36
37 %prep
38 %setup -q -n %{pdir}-%{pnam}-%{version}
39 %patch -p1
40
41 %build
42 perl Makefile.PL
43 %{__make}
44 %{!?_without_tests:%{__make} test}
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48
49 %{__make} install DESTDIR=$RPM_BUILD_ROOT
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files
55 %defattr(644,root,root,755)
56 %doc ChangeLog api.txt
57 %dir %{perl_sitelib}/Authen/SASL
58 %{perl_sitelib}/Authen/SASL.pm
59 %{perl_sitelib}/Authen/SASL/*
60 %{_mandir}/man3/*
This page took 0.066345 seconds and 3 git commands to generate.