%define name perl-ldap %define version 0.25 %define release 1mdk Summary: Perl module for ldap Name: %{name} Version: %{version} Release: %{release} URL: http://www.cpan.org Source0: http:///www.cpan.org/authors/id/G/GB/GBARR/%{name}-%{version}.tar.bz2 License: Artistic Group: Development/Perl BuildRequires: perl-devel BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-buildroot Prefix: %{_prefix} %description The perl-ldap distribution is a collection of perl modules which provide an object orientated interface to LDAP servers. The perl-ldap distribution has several advantages -By using the perl object interface the perl-ldap modules provide programmers with an interface which allows complex searches of LDAP directories with only a small amount of code. -All the perl-ldap modules are written entirely in perl, which means that the library is truly cross-platform compatible. %prep %setup %build perl Makefile.PL PREFIX=%{prefix} make OPTIMIZE="$RPM_OPT_FLAGS" PREFIX=%{prefix} %install rm -rf $RPM_BUILD_ROOT %makeinstall PREFIX="$RPM_BUILD_ROOT/%{prefix}" %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc CREDITS README RELEASE_NOTES %{_libdir}/perl5/man/*/* %{_libdir}/perl5/site_perl/*/Authen %{_libdir}/perl5/site_perl/*/Bundle %{_libdir}/perl5/site_perl/*/LWP %{_libdir}/perl5/site_perl/*/Net %changelog * Thu Nov 08 2001 François Pons <fpons@mandrakesoft.com> 0.25-1mdk - make it noarch. - added documentation. - added url tag. - removed perllocal.pod. - 0.25. * Mon Oct 15 2001 Stefan van der Eijk <stefan@eijk.nu> 0.24-2mdk - BuildRequires: perl-devel - Copyright --> License * Wed Aug 8 2001 Vincent Saugey <vince@mandrakesoft.com> 0.24-1mdk - First mdk release