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

92 lines
2.8 KiB
RPMSpec
Raw Permalink Normal View History

Name: perl-Net-LDAP
Version: 0.4001
Release: 3mamba
Epoch: 1
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: http://www.cpan.org
Source: http://search.cpan.org/CPAN/authors/id/G/GB/GBARR/perl-ldap-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: perl-Authen-SASL
BuildRequires: perl-Convert-ASN1
BuildRequires: perl-devel
BuildRequires: perl-libwww
BuildRequires: perl-URI
BuildRequires: perl-XML-SAX
BuildRequires: perl-XML-SAX-Writer
## AUTOBUILDREQ-END
BuildRequires: perl-IO-Socket-SSL
Requires: perl-Authen-SASL
Requires: perl-XML-SAX-Writer
Requires: perl-URI
Requires: perl >= %perl_major_ver
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f .packlist
%defattr(-,root,root)
%changelog
* 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