2007-01-15 23:32:24 +00:00
|
|
|
#
|
2010-04-06 20:40:29 +00:00
|
|
|
# spec file for package perl-ldap (Version 0.40)
|
2007-01-15 23:32:24 +00:00
|
|
|
#
|
2010-01-11 17:07:26 +00:00
|
|
|
# Copyright (c) 2010 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
|
2010-12-03 14:39:34 +00:00
|
|
|
BuildRequires: perl-macros
|
2011-01-07 15:23:21 +00:00
|
|
|
Version: 0.4001
|
2010-12-05 21:29:49 +00:00
|
|
|
Release: 5
|
2008-08-21 23:54:50 +00:00
|
|
|
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
|
|
|
|
AutoReqProv: on
|
|
|
|
Group: Development/Libraries/Perl
|
2010-11-29 18:56:33 +00:00
|
|
|
License: Artistic
|
2008-03-10 17:33:48 +00:00
|
|
|
Url: http://cpan.org/modules/by-module/Net/
|
|
|
|
Summary: Client Interface for LDAP Servers
|
2010-11-29 18:56:33 +00:00
|
|
|
Source: perl-ldap-%{version}01.tar.bz2
|
2008-03-10 17:33:48 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-12-03 14:39:34 +00:00
|
|
|
%{perl_requires}
|
2007-01-15 23:32:24 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
A Client interface for LDAP servers.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
<gbarr@pobox.com> (Graham Barr)
|
|
|
|
|
|
|
|
%package ssl
|
2009-07-28 22:47:59 +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
|
2010-12-01 13:47:51 +00:00
|
|
|
%{perl_requires}
|
2008-03-10 17:33:48 +00:00
|
|
|
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
|
2010-11-29 18:56:33 +00:00
|
|
|
%setup -q -n perl-ldap-%{version}01
|
2007-01-15 23:32:24 +00:00
|
|
|
|
|
|
|
%build
|
2009-07-28 22:47:59 +00:00
|
|
|
# Prevent rpmlint warning script-without-shebang
|
|
|
|
chmod -x lib/Net/LDAP/DSML.pm
|
2007-01-15 23:32:24 +00:00
|
|
|
find contrib -type f | xargs -n 1 sed -i "s@/usr/local/bin/perl@/usr/bin/perl@"
|
|
|
|
perl Makefile.PL
|
2010-01-11 17:07:26 +00:00
|
|
|
make %{?_smp_mflags}
|
2008-03-10 17:33:48 +00:00
|
|
|
|
|
|
|
%check
|
2007-01-15 23:32:24 +00:00
|
|
|
make test
|
|
|
|
|
|
|
|
%install
|
|
|
|
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
|
|
|
|
|
|
|
|
%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
|