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 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
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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.
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
38 %setup -q -n %{pdir}-%{pnam}-%{version}
44 %{!?_without_tests:%{__make} test}
47 rm -rf $RPM_BUILD_ROOT
49 %{__make} install DESTDIR=$RPM_BUILD_ROOT
52 rm -rf $RPM_BUILD_ROOT
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/*