2007-01-15 23:32:24 +00:00
|
|
|
#
|
2008-03-10 17:33:48 +00:00
|
|
|
# spec file for package perl-ldap (Version 0.34)
|
2007-01-15 23:32:24 +00:00
|
|
|
#
|
2008-03-10 17:33:48 +00:00
|
|
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:32:24 +00:00
|
|
|
#
|
2008-08-21 23:54:50 +00:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2008-03-10 17:33:48 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
2007-01-15 23:32:24 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-03-10 17:33:48 +00:00
|
|
|
|
|
|
|
Name: perl-ldap
|
|
|
|
BuildRequires: perl-Authen-SASL perl-Convert-ASN1 perl-IO-Socket-SSL perl-XML-Parser
|
|
|
|
Version: 0.34
|
2008-08-21 23:54:50 +00:00
|
|
|
Release: 40
|
|
|
|
Provides: perl_ldp perl-Net-LDAP = %{version}
|
|
|
|
Obsoletes: perl_ldp perl-Net-LDAP < %{version}
|
2008-03-10 17:33:48 +00:00
|
|
|
Requires: perl-URI perl-XML-Parser perl-Convert-ASN1
|
|
|
|
Requires: perl = %{perl_version}
|
|
|
|
AutoReqProv: on
|
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
License: Artistic License
|
|
|
|
Url: http://cpan.org/modules/by-module/Net/
|
|
|
|
Summary: Client Interface for LDAP Servers
|
|
|
|
Source: perl-ldap-%{version}.tar.bz2
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2007-01-15 23:32:24 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
A Client interface for LDAP servers.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
<gbarr@pobox.com> (Graham Barr)
|
|
|
|
|
|
|
|
%package ssl
|
2008-08-21 23:54:50 +00:00
|
|
|
License: Artistic License
|
2008-03-10 17:33:48 +00:00
|
|
|
Summary: SSL Extension to perl-ldap
|
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
Requires: %{name} = %{version} perl-IO-Socket-SSL
|
|
|
|
Requires: perl = %{perl_version}
|
|
|
|
AutoReqProv: on
|
|
|
|
Provides: p_ldaps
|
|
|
|
Obsoletes: p_ldaps
|
2007-01-15 23:32:24 +00:00
|
|
|
|
|
|
|
%description ssl
|
|
|
|
A Client interface for LDAP servers.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Graham Barr <gbarr@pobox.com>
|
|
|
|
|
|
|
|
%prep
|
2008-03-10 17:33:48 +00:00
|
|
|
%setup -q -n perl-ldap-%{version}
|
2007-01-15 23:32:24 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
find contrib -type f | xargs -n 1 sed -i "s@/usr/local/bin/perl@/usr/bin/perl@"
|
|
|
|
perl Makefile.PL
|
|
|
|
make
|
2008-03-10 17:33:48 +00:00
|
|
|
|
|
|
|
%check
|
2007-01-15 23:32:24 +00:00
|
|
|
make test
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
|
|
|
%perl_process_packlist
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc CREDITS Changes README SIGNATURE TODO contrib
|
|
|
|
%doc %{_mandir}/man3/Net::LDAP.3pm*
|
|
|
|
%doc %{_mandir}/man3/Net::LDAPI.3pm*
|
|
|
|
%doc %{_mandir}/man3/Net::LDAP::*
|
|
|
|
%doc %{_mandir}/man3/Bundle::Net::LDAP.3pm*
|
|
|
|
%dir %{perl_vendorlib}/Net
|
|
|
|
%{perl_vendorlib}/Net/LDAP
|
|
|
|
%{perl_vendorlib}/Net/LDAP.*
|
|
|
|
%{perl_vendorlib}/Net/LDAPI.pm
|
|
|
|
%{perl_vendorlib}/Bundle
|
|
|
|
%{perl_vendorlib}/LWP
|
|
|
|
%{perl_vendorarch}/auto/Net/LDAP
|
|
|
|
/var/adm/perl-modules/%{name}
|
|
|
|
|
|
|
|
%files ssl
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc %{_mandir}/man3/Net::LDAPS.3pm*
|
|
|
|
%dir %{perl_vendorlib}/Net
|
|
|
|
%{perl_vendorlib}/Net/LDAPS.pm
|
|
|
|
|
2008-03-10 17:33:48 +00:00
|
|
|
%changelog
|
2008-08-21 23:54:50 +00:00
|
|
|
* Wed Jul 16 2008 jw@suse.de
|
|
|
|
- perl-ldap does not conform to our naming conventions for perl packages.
|
|
|
|
Added a Provides: perl-Net-LDAP to make user's life easier.
|
|
|
|
(Using version numbers, to allow future package rename)
|
2008-03-10 17:33:48 +00:00
|
|
|
* Mon Mar 10 2008 anicka@suse.cz
|
|
|
|
- update to 0.34
|
|
|
|
* Improve dealing with mixed case attributes in Net::LDAP::Entry
|
|
|
|
* Documentation fixes & updates
|
|
|
|
* Don't let Net::LDAP->bind() die on SASL errors
|
|
|
|
* Fix case-folding in Net::LDAP::Util::ldap_explode_dn()
|
|
|
|
* Saner default for ldapi socket
|
|
|
|
* Update test suite to work with recent OpenLDAP versions
|
|
|
|
* The usual bunch of typo fixes
|
|
|
|
* Fix escaping on non-ascii characters in Net::LDAP::Filter
|
|
|
|
* Flexible handling of line ends in Net::LDAP::LDIF when reading
|
|
|
|
* Improve writing speed in Net::LDAP::LDIF
|
|
|
|
* Net::LDAP accessor methods for scheme, host, port, URI connected to
|
|
|
|
* New checkcrl option to Net::LDAP->new() to do CRL checking
|
|
|
|
* New package Net::LDAP::Filtermatch for client side filtering
|
|
|
|
* More ASN1 messages handled in Net::LDAP:ASN: IntermediateResponse
|
|
|
|
* Option 'raw' to return Perl UTF-8 strings from queries (requires Perl 5.8)
|
|
|
|
* Support Active Directory's extendedAttributeInfo schema information
|
|
|
|
* Method to find matchingrule for an attribute in Net::LDAP:Schema
|
|
|
|
* Updated build dependecies: GSSAPI support, ..
|
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2007-01-15 23:32:24 +00:00
|
|
|
- converted neededforbuild to BuildRequires
|
2008-03-10 17:33:48 +00:00
|
|
|
* Wed Jul 27 2005 mt@suse,de
|
2007-01-15 23:32:24 +00:00
|
|
|
- update to 0.33
|
|
|
|
- fixed file list to be more exact
|
2008-03-10 17:33:48 +00:00
|
|
|
* Sun Jun 20 2004 ro@suse.de
|
2007-01-15 23:32:24 +00:00
|
|
|
- fix find command in specfile
|
2008-03-10 17:33:48 +00:00
|
|
|
* Sat Feb 28 2004 ro@suse.de
|
2007-01-15 23:32:24 +00:00
|
|
|
- fix requires for /usr/local
|
2008-03-10 17:33:48 +00:00
|
|
|
* Sun Jan 11 2004 adrian@suse.de
|
2007-01-15 23:32:24 +00:00
|
|
|
- build as user
|
2008-03-10 17:33:48 +00:00
|
|
|
* Fri Aug 22 2003 mjancar@suse.cz
|
2007-01-15 23:32:24 +00:00
|
|
|
- require the perl version we build with
|
2008-03-10 17:33:48 +00:00
|
|
|
* Thu Jul 24 2003 mjancar@suse.cz
|
2007-01-15 23:32:24 +00:00
|
|
|
- update to 0.29
|
2008-03-10 17:33:48 +00:00
|
|
|
* Fri Jul 18 2003 mjancar@suse.cz
|
2007-01-15 23:32:24 +00:00
|
|
|
- adapt to perl-5.8.1
|
|
|
|
- use %%perl_process_packlist
|
2008-03-10 17:33:48 +00:00
|
|
|
* Mon Jun 16 2003 mjancar@suse.cz
|
2007-01-15 23:32:24 +00:00
|
|
|
- update to 0.28
|
|
|
|
- fix filelist
|
2008-03-10 17:33:48 +00:00
|
|
|
* Mon May 19 2003 ro@suse.de
|
2007-01-15 23:32:24 +00:00
|
|
|
- remove perllocal.pod
|
2008-03-10 17:33:48 +00:00
|
|
|
* Sat Dec 28 2002 prehak@suse.cz
|
2007-01-15 23:32:24 +00:00
|
|
|
- updated to version 0.26
|
|
|
|
- added perl-Authen-SASL to neededforbuild
|
2008-03-10 17:33:48 +00:00
|
|
|
* Wed Sep 11 2002 prehak@suse.cz
|
2007-01-15 23:32:24 +00:00
|
|
|
- used %%{version} in subpackage's Requires
|
2008-03-10 17:33:48 +00:00
|
|
|
* Mon Jul 29 2002 mls@suse.de
|
2007-01-15 23:32:24 +00:00
|
|
|
- Fixed neededforbuild for perl-5.8.0
|
2008-03-10 17:33:48 +00:00
|
|
|
* Thu Jul 11 2002 prehak@suse.cz
|
2007-01-15 23:32:24 +00:00
|
|
|
- update to version 0.251
|
|
|
|
- added more documentation and contrib
|
2008-03-10 17:33:48 +00:00
|
|
|
* Tue Jul 02 2002 mls@suse.de
|
2007-01-15 23:32:24 +00:00
|
|
|
- remove race in .packlist generation
|
2008-03-10 17:33:48 +00:00
|
|
|
* Thu Jan 17 2002 rvasice@suse.cz
|
2007-01-15 23:32:24 +00:00
|
|
|
- update to version 0.25
|
2008-03-10 17:33:48 +00:00
|
|
|
* Tue Aug 14 2001 rvasice@suse.cz
|
2007-01-15 23:32:24 +00:00
|
|
|
- update to version 0.24
|
2008-03-10 17:33:48 +00:00
|
|
|
* Mon Mar 26 2001 cihlar@suse.cz
|
2007-01-15 23:32:24 +00:00
|
|
|
- added make test
|
|
|
|
- fixed neededforbuild
|
2008-03-10 17:33:48 +00:00
|
|
|
* Tue Nov 14 2000 cihlar@suse.cz
|
2007-01-15 23:32:24 +00:00
|
|
|
- renamed perl_ldp -> perl-ldap
|
|
|
|
p_ldaps -> perl-ldap-ssl
|
|
|
|
- update to version 0.22
|
|
|
|
- bzipped sources
|
2008-03-10 17:33:48 +00:00
|
|
|
* Fri Sep 15 2000 choeger@suse.de
|
2007-01-15 23:32:24 +00:00
|
|
|
- update to version 0.21
|
2008-03-10 17:33:48 +00:00
|
|
|
* Tue Aug 29 2000 cihlar@suse.cz
|
2007-01-15 23:32:24 +00:00
|
|
|
- splited to perl_ldp and p_ldaps
|
|
|
|
- removed p_iossl from neededforbuild
|
2008-03-10 17:33:48 +00:00
|
|
|
* Wed Aug 23 2000 cihlar@suse.cz
|
2007-01-15 23:32:24 +00:00
|
|
|
- added p_iossl to Requires and neededforbuild
|
2008-03-10 17:33:48 +00:00
|
|
|
* Wed Aug 23 2000 cihlar@suse.cz
|
2007-01-15 23:32:24 +00:00
|
|
|
- update to version 0.20
|
|
|
|
- added BuildRoot
|
|
|
|
- bzipped sources
|
2008-03-10 17:33:48 +00:00
|
|
|
* Fri Mar 24 2000 ug@suse.de
|
2007-01-15 23:32:24 +00:00
|
|
|
- new version 0.14 -> 0.15
|
2008-03-10 17:33:48 +00:00
|
|
|
* Thu Mar 23 2000 ug@suse.de
|
2007-01-15 23:32:24 +00:00
|
|
|
- added to distribution
|