perl-Net-LDAP/perl-Net-LDAP.spec

97 lines
2.9 KiB
RPMSpec

Name: perl-Net-LDAP
Epoch: 2
Version: 0.68
Release: 1mamba
Summary: Net::LDAP - A DNS resolver implemented in Perl
Group: System/Libraries/Perl
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.cpan.org/
Source: https://cpan.metacpan.org/authors/id/M/MA/MARSCHAP/perl-ldap-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libperl
BuildRequires: perl-Convert-ASN1
BuildRequires: perl-HTTP-Message
BuildRequires: perl-HTTP-Negotiate
BuildRequires: perl-LWP-MediaTypes
BuildRequires: perl-XML-Sax-Base
BuildRequires: perl-devel
BuildRequires: perl-libwww
## AUTOBUILDREQ-END
BuildRequires: perl-IO-Socket-SSL
Requires: perl-Authen-SASL
Requires: perl-XML-SAX-Writer
Requires: perl-URI
%description
Net::DNS is a DNS resolver implemented in Perl.
It allows the programmer to perform nearly any type of DNS query from a Perl script.
For details and examples, please read the Net::DNS manual page.
%prep
%setup -q -n perl-ldap-%{version}
%build
echo "y" | perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor
%make
%make test
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall_perl
packlist=`find %{buildroot} -name .packlist`
[ -z "$packlist" ] && exit 1 || cat $packlist | \
sed "s,%{buildroot},,g;s,.*/man/.*,&.gz,g" | \
sort -u > .packlist && rm -f $packlist
strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'`
for dir in `find %{buildroot} -type d | grep $strid`; do
echo "%dir ${dir#%buildroot}" >> .packlist
done
rm -f %{buildroot}%{_prefix}/lib/perl5/*/*/perllocal.pod
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f .packlist
%defattr(-,root,root)
%changelog
* Mon Jan 10 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.68-1mamba
- update to 0.68
* Mon Nov 12 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4001-3mamba
- perl 5.16 mass rebuild
* Mon Oct 25 2010 Davide Madrisan <davide.madrisan@gmail.com> 0.4001-2mamba
- rebuild with INSTALLDIRS=vendor
* Tue Apr 13 2010 Automatic Build System <autodist@mambasoft.it> 0.4001-1mamba
- automatic update by autodist
* Fri Feb 06 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.39-1mamba
- automatic update to 0.39 by autodist
* Wed Nov 05 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.37-2mamba
- automatic rebuild by autodist
* Mon Sep 15 2008 gil <puntogil@libero.it> 0.37-1mamba
- update to 0.37
* Wed May 10 2006 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 0.33-1qilnx
- update to version 0.33 by autospec
* Wed Jan 19 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3202-1qilnx
- update to version 0.3202 by autospec
* Fri Jul 09 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 0.32-1qilnx
- new version build
* Fri Apr 30 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 0.31-1qilnx
- First build