Name: perl-LDAP Version: 0.33 Release: 1.2 Epoch: 1 Summary: LDAP Perl module Group: Development/Libraries License: GPL or Artistic URL: http://search.cpan.org/dist/perl-ldap/ Source0: http://www.cpan.org/authors/id/G/GB/GBARR/perl-ldap-0.33.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl >= 2:5.8.0 BuildRequires: perl(Convert::ASN1) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) #Wish list #Requires: perl(IO::Socket::SSL), perl(Authen::SASL) %description Net::LDAP is a collection of modules that implements a LDAP services API for Perl programs. The module may be used to search directories or perform maintenance functions such as adding, deleting or modifying entries. %prep %setup -q -n perl-ldap-%{version} chmod 644 bin/* contrib/* %{__perl} -pi -e 's|^#!/usr/local/bin/perl\b|#!%{__perl}|' contrib/* %build %{__perl} Makefile.PL INSTALLDIRS=vendor < /dev/null make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' chmod -R u+w $RPM_BUILD_ROOT/* %check || : mv t/0-signature.t t/0-signature.t.skip make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes CREDITS %doc contrib/ bin/ %{perl_vendorlib}/Bundle/ %{perl_vendorlib}/LWP/ %{perl_vendorlib}/Net/ %{_mandir}/man3/*.3* %changelog * Fri Feb 03 2006 Jason Vas Dias - 0.33-1.2 - rebuild for new perl-5.8.8 * Fri Dec 16 2005 Jesse Keating - rebuilt for new gcc * Tue Apr 26 2005 Jose Pedro Oliveira - 0.33-1 - Update to 0.33. * Sat Apr 02 2005 Jose Pedro Oliveira - 0.3202-1 - Update to 0.3202. - Specfile cleanup. (#153766) * Wed Sep 22 2004 Chip Turner 0.31-5 - rebuild * Wed Mar 10 2004 Chip Turner - 0.31-1 - Specfile autogenerated.