3 # _without_tests - do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
8 Summary: Authen::PAM Perl module - SASL Authentication framework
9 Summary(pl): Modu³ Perla Authen::SASL - szkielet autentykacji SASL
10 Name: perl-Authen-SASL
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
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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.
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
39 %setup -q -n %{pdir}-%{pnam}-%{version}
43 %{__perl} Makefile.PL \
46 %{!?_without_tests:%{__make} test}
49 rm -rf $RPM_BUILD_ROOT
51 %{__make} install DESTDIR=$RPM_BUILD_ROOT
54 rm -rf $RPM_BUILD_ROOT
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/*