107 lines
3.2 KiB
RPMSpec
107 lines
3.2 KiB
RPMSpec
%define srcver %(echo %version | sed "s|00$||")
|
|
Name: perl-Net-LDAP
|
|
Epoch: 2
|
|
Version: 0.6800
|
|
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-%{srcver}.tar.gz
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: libperl
|
|
BuildRequires: perl-Convert-ASN1
|
|
BuildRequires: perl-Encode
|
|
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 >= 2:5.36.0
|
|
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-%{srcver}
|
|
|
|
%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
|
|
|
|
find %{buildroot} -name *.so -exec chmod u+w {} \;
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%files -f .packlist
|
|
%defattr(-,root,root)
|
|
|
|
%changelog
|
|
* Thu Aug 31 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6800-1mamba
|
|
- update to 0.6800
|
|
|
|
* Mon Apr 17 2023 Sdk Build System <sdk@mambasoft.it> 0.68-2mamba
|
|
- rebuilt with perl 5.36.0
|
|
|
|
* 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
|