3 %bcond_without tests # do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
8 Summary: Authen::SASL 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>
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
22 BuildRequires: perl-Digest-HMAC
24 # earlier perl-ldap contain own Authen::SASL
25 Conflicts: perl-ldap < 0.26
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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.
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
41 %setup -q -n %{pdir}-%{pnam}-%{version}
44 %{__perl} Makefile.PL \
47 %{?with_tests:%{__make} test}
50 rm -rf $RPM_BUILD_ROOT
53 DESTDIR=$RPM_BUILD_ROOT
56 rm -rf $RPM_BUILD_ROOT
59 %defattr(644,root,root,755)
61 %dir %{perl_vendorlib}/Authen/SASL
62 %{perl_vendorlib}/Authen/SASL.pm
63 %{perl_vendorlib}/Authen/SASL/*