|
|
2f60e2 |
Name: perl-LDAP
|
|
|
2f60e2 |
Version: 0.56
|
|
|
a4ba1f |
Release: 2%{?dist}
|
|
|
2f60e2 |
Epoch: 1
|
|
|
2f60e2 |
Summary: LDAP Perl module
|
|
|
2f60e2 |
Group: Development/Libraries
|
|
|
2f60e2 |
License: GPL+ or Artistic
|
|
|
2f60e2 |
URL: http://search.cpan.org/dist/perl-ldap/
|
|
|
2f60e2 |
Source0: http://www.cpan.org/authors/id/M/MA/MARSCHAP/perl-ldap-%{version}.tar.gz
|
|
|
2f60e2 |
BuildArch: noarch
|
|
|
2f60e2 |
BuildRequires: perl
|
|
|
2f60e2 |
BuildRequires: perl(inc::Module::Install)
|
|
|
2f60e2 |
# Run-time:
|
|
|
2f60e2 |
# Not needed for tests perl(Authen::SASL) >= 2.00
|
|
|
2f60e2 |
BuildRequires: perl(base)
|
|
|
2f60e2 |
BuildRequires: perl(Carp)
|
|
|
2f60e2 |
BuildRequires: perl(constant)
|
|
|
2f60e2 |
BuildRequires: perl(Convert::ASN1) >= 0.2
|
|
|
2f60e2 |
BuildRequires: perl(Encode)
|
|
|
2f60e2 |
BuildRequires: perl(Exporter)
|
|
|
2f60e2 |
BuildRequires: perl(File::Basename)
|
|
|
2f60e2 |
# Not needed for tests perl(HTTP::Negotiate)
|
|
|
2f60e2 |
# Not needed for tests perl(HTTP::Response)
|
|
|
2f60e2 |
# Not needed for tests perl(HTTP::Status)
|
|
|
2f60e2 |
BuildRequires: perl(integer)
|
|
|
2f60e2 |
BuildRequires: perl(IO::Select)
|
|
|
2f60e2 |
BuildRequires: perl(IO::Socket)
|
|
|
2f60e2 |
# Not needed for tests perl(IO::Socket::SSL) >= 1.26
|
|
|
2f60e2 |
# Not needed for tests perl(JSON)
|
|
|
2f60e2 |
# Not needed for tests perl(LWP::MediaTypes)
|
|
|
2f60e2 |
# Not needed for tests perl(LWP::Protocol)
|
|
|
2f60e2 |
# Not needed for tests perl(MIME::Base64)
|
|
|
2f60e2 |
BuildRequires: perl(Socket)
|
|
|
2f60e2 |
BuildRequires: perl(strict)
|
|
|
2f60e2 |
# Prefer core Text::Soundex
|
|
|
2f60e2 |
BuildRequires: perl(Text::Soundex)
|
|
|
2f60e2 |
BuildRequires: perl(Tie::Hash)
|
|
|
2f60e2 |
BuildRequires: perl(Time::Local)
|
|
|
2f60e2 |
BuildRequires: perl(XML::SAX::Base)
|
|
|
2f60e2 |
BuildRequires: perl(XML::SAX::Writer)
|
|
|
2f60e2 |
# Optional:
|
|
|
2f60e2 |
# Not needed for tests perl(IO::Socket::INET6)
|
|
|
2f60e2 |
# Tests:
|
|
|
2f60e2 |
BuildRequires: perl(File::Compare)
|
|
|
2f60e2 |
BuildRequires: perl(File::Path)
|
|
|
2f60e2 |
BuildRequires: perl(File::Spec)
|
|
|
2f60e2 |
BuildRequires: perl(IO::File)
|
|
|
2f60e2 |
BuildRequires: perl(Test::More)
|
|
|
2f60e2 |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
2f60e2 |
Requires: perl(Authen::SASL) >= 2.00
|
|
|
2f60e2 |
Requires: perl(Convert::ASN1) >= 0.2
|
|
|
2f60e2 |
Requires: perl(IO::Socket::SSL) >= 1.26
|
|
|
2f60e2 |
Requires: perl(JSON)
|
|
|
2f60e2 |
Requires: perl(MIME::Base64)
|
|
|
2f60e2 |
# Prefer core Text::Soundex
|
|
|
2f60e2 |
Requires: perl(Text::Soundex)
|
|
|
2f60e2 |
Requires: perl(Time::Local)
|
|
|
2f60e2 |
Requires: perl(XML::SAX::Writer)
|
|
|
2f60e2 |
|
|
|
2f60e2 |
# Remove under-specified dependencies
|
|
|
2f60e2 |
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(Net::LDAP::Filter\\)$
|
|
|
2f60e2 |
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Convert::ASN1\\)$
|
|
|
2f60e2 |
|
|
|
2f60e2 |
%description
|
|
|
2f60e2 |
Net::LDAP is a collection of modules that implements an LDAP services API
|
|
|
2f60e2 |
for Perl programs. The module may be used to search directories or perform
|
|
|
2f60e2 |
maintenance functions such as adding, deleting or modifying entries.
|
|
|
2f60e2 |
|
|
|
2f60e2 |
%prep
|
|
|
2f60e2 |
%setup -q -n perl-ldap-%{version}
|
|
|
2f60e2 |
chmod -c 644 bin/* contrib/* lib/Net/LDAP/DSML.pm
|
|
|
2f60e2 |
perl -pi -e 's|^#!/usr/local/bin/perl\b|#!%{__perl}|' contrib/*
|
|
|
2f60e2 |
# Remove bundled libraries
|
|
|
2f60e2 |
rm -rf inc
|
|
|
2f60e2 |
sed -i -e '/^inc\// d' MANIFEST
|
|
|
2f60e2 |
find -type f -exec chmod -x {} +
|
|
|
2f60e2 |
|
|
|
2f60e2 |
%build
|
|
|
2f60e2 |
perl Makefile.PL INSTALLDIRS=vendor < /dev/null
|
|
|
2f60e2 |
make %{?_smp_mflags}
|
|
|
2f60e2 |
|
|
|
2f60e2 |
%install
|
|
|
2f60e2 |
make pure_install DESTDIR=%{buildroot}
|
|
|
2f60e2 |
find %{buildroot} -type f -name .packlist -exec rm -f {} +
|
|
|
2f60e2 |
chmod -R u+w %{buildroot}/*
|
|
|
2f60e2 |
|
|
|
2f60e2 |
%check
|
|
|
2f60e2 |
make test
|
|
|
2f60e2 |
|
|
|
2f60e2 |
%files
|
|
|
2f60e2 |
%doc Changes CREDITS
|
|
|
2f60e2 |
%doc contrib/ bin/
|
|
|
2f60e2 |
%{perl_vendorlib}/Bundle/
|
|
|
2f60e2 |
%{perl_vendorlib}/LWP/
|
|
|
2f60e2 |
%{perl_vendorlib}/Net/
|
|
|
2f60e2 |
%{_mandir}/man3/*.3pm*
|
|
|
2f60e2 |
|
|
|
2f60e2 |
%changelog
|
|
|
a4ba1f |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1:0.56-2
|
|
|
a4ba1f |
- Mass rebuild 2013-12-27
|
|
|
a4ba1f |
|
|
|
2f60e2 |
* Wed Aug 07 2013 Petr Šabata <contyk@redhat.com> - 1:0.56-1.1
|
|
|
2f60e2 |
- Add a few missing BRs
|
|
|
2f60e2 |
|
|
|
2f60e2 |
* Mon Jun 10 2013 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.56-1
|
|
|
2f60e2 |
- 0.56 bump
|
|
|
2f60e2 |
|
|
|
2f60e2 |
* Wed Apr 24 2013 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.55-1
|
|
|
2f60e2 |
- 0.55 bump
|
|
|
2f60e2 |
|
|
|
2f60e2 |
* Wed Apr 03 2013 Petr Pisar <ppisar@redhat.com> - 1:0.54-1
|
|
|
2f60e2 |
- 0.54 bump
|
|
|
2f60e2 |
|
|
|
2f60e2 |
* Mon Jan 28 2013 Petr Šabata <contyk@redhat.com> - 1:0.53-1
|
|
|
2f60e2 |
- 0.53 enhancement update
|
|
|
2f60e2 |
|
|
|
2f60e2 |
* Thu Jan 03 2013 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.52-1
|
|
|
2f60e2 |
- 0.52 bump
|
|
|
2f60e2 |
|
|
|
2f60e2 |
* Mon Dec 03 2012 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.51-1
|
|
|
2f60e2 |
- 0.51 bump
|
|
|
2f60e2 |
|
|
|
2f60e2 |
* Mon Nov 26 2012 Petr Pisar <ppisar@redhat.com> - 1:0.50-1
|
|
|
2f60e2 |
- 0.50 bump
|
|
|
2f60e2 |
|
|
|
2f60e2 |
* Tue Nov 20 2012 Petr Šabata <contyk@redhat.com> - 1:0.49-2
|
|
|
2f60e2 |
- Add a few missing deps
|
|
|
2f60e2 |
- Drop command macros
|
|
|
2f60e2 |
- Modernize the spec
|
|
|
2f60e2 |
|
|
|
2f60e2 |
* Mon Oct 08 2012 Petr Pisar <ppisar@redhat.com> - 1:0.49-1
|
|
|
2f60e2 |
- 0.49 bump
|
|
|
2f60e2 |
|
|
|
2f60e2 |
* Mon Sep 17 2012 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.47-1
|
|
|
2f60e2 |
- 0.47 bump
|
|
|
2f60e2 |
|
|
|
2f60e2 |
* Fri Sep 14 2012 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.46-1
|
|
|
2f60e2 |
- 0.46 bump
|
|
|
2f60e2 |
- Should fix: RT#72108, RT#74572, RT#74759, RT#77180
|
|
|
2f60e2 |
- Removed bundled libraries. Use perl(inc::Module::Install).
|
|
|
2f60e2 |
|
|
|
2f60e2 |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.44-3
|
|
|
2f60e2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
2f60e2 |
|
|
|
2f60e2 |
* Fri Jun 15 2012 Petr Pisar <ppisar@redhat.com> - 1:0.44-2
|
|
|
2f60e2 |
- Perl 5.16 rebuild
|
|
|
2f60e2 |
- Specify all dependencies
|
|
|
2f60e2 |
|
|
|
2f60e2 |
* Mon Feb 6 2012 Marcela Maslanova <mmaslano@redhat.com> - 1:0.44-1
|
|
|
2f60e2 |
- update which should fix RT#66753
|
|
|
2f60e2 |
- clean specfile according to new guidelines
|
|
|
2f60e2 |
|
|
|
2f60e2 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.40-6
|
|
|
2f60e2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
2f60e2 |
|
|
|
2f60e2 |
* Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 1:0.40-5
|
|
|
2f60e2 |
- Perl mass rebuild
|
|
|
2f60e2 |
|
|
|
2f60e2 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.40-4
|
|
|
2f60e2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
2f60e2 |
|
|
|
2f60e2 |
* Mon Dec 20 2010 Marcela Maslanova <mmaslano@redhat.com> - 1:0.40-3
|
|
|
2f60e2 |
- 661697 rebuild for fixing problems with vendorach/lib
|
|
|
2f60e2 |
|
|
|
2f60e2 |
* Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 1:0.40-2
|
|
|
2f60e2 |
- Mass rebuild with perl-5.12.0
|
|
|
2f60e2 |
|
|
|
2f60e2 |
* Mon Apr 12 2010 Marcela Mašláňová <mmaslano@redhat.com> - 1:0.40-1
|
|
|
2f60e2 |
- update
|
|
|
2f60e2 |
|
|
|
2f60e2 |
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1:0.34-7
|
|
|
2f60e2 |
- rebuild against perl 5.10.1
|
|
|
2f60e2 |
|
|
|
2f60e2 |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.34-6
|
|
|
2f60e2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
2f60e2 |
|
|
|
2f60e2 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.34-5
|
|
|
2f60e2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
2f60e2 |
|
|
|
2f60e2 |
* Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1:0.34-4
|
|
|
2f60e2 |
- rebuild for new perl
|
|
|
2f60e2 |
|
|
|
2f60e2 |
* Mon Apr 09 2007 Robin Norwood <rnorwood@redhat.com> - 1:0.34-3
|
|
|
2f60e2 |
- Resolves: bz#226267
|
|
|
2f60e2 |
- Only filter out the unversioned Provides: perl(Net::LDAP::Filter) to
|
|
|
2f60e2 |
avoid breaking dependencies.
|
|
|
2f60e2 |
|
|
|
2f60e2 |
* Thu Apr 05 2007 Robin Norwood <rnorwood@redhat.com> - 1:0.34-2
|
|
|
2f60e2 |
- Resolves: bz#226267
|
|
|
2f60e2 |
- Filter out provides perl(Net::LDAP::Filter) per package review.
|
|
|
2f60e2 |
|
|
|
2f60e2 |
* Tue Feb 13 2007 Robin Norwood <rnorwood@redhat.com> - 1:0.34-1
|
|
|
2f60e2 |
- New version: 0.34
|
|
|
2f60e2 |
|
|
|
2f60e2 |
* Wed Sep 27 2006 Robin Norwood <rnorwood@redhat.com> - 1:0.33-3
|
|
|
2f60e2 |
- Bugzilla: 207430
|
|
|
2f60e2 |
- Incorporate fixes from Jose Oliveira's patch
|
|
|
2f60e2 |
- Add perl(IO::Socket::SSL) as a BuildRequires as well
|
|
|
2f60e2 |
- Other cleanups from Jose
|
|
|
2f60e2 |
|
|
|
2f60e2 |
* Wed Sep 27 2006 Robin Norwood <rnorwood@redhat.com> - 0.33-1.3
|
|
|
2f60e2 |
- Add a requirement for IO::Socket::SSL, per bug #122066
|
|
|
2f60e2 |
|
|
|
2f60e2 |
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - sh: line 0: fg: no job control
|
|
|
2f60e2 |
- rebuild
|
|
|
2f60e2 |
|
|
|
2f60e2 |
* Fri Feb 03 2006 Jason Vas Dias <jvdias@redhat.com> - 0.33-1.2
|
|
|
2f60e2 |
- rebuild for new perl-5.8.8
|
|
|
2f60e2 |
|
|
|
2f60e2 |
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
2f60e2 |
- rebuilt for new gcc
|
|
|
2f60e2 |
|
|
|
2f60e2 |
* Tue Apr 26 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.33-1
|
|
|
2f60e2 |
- Update to 0.33.
|
|
|
2f60e2 |
|
|
|
2f60e2 |
* Sat Apr 02 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.3202-1
|
|
|
2f60e2 |
- Update to 0.3202.
|
|
|
2f60e2 |
- Specfile cleanup. (#153766)
|
|
|
2f60e2 |
|
|
|
2f60e2 |
* Wed Sep 22 2004 Chip Turner <cturner@redhat.com> 0.31-5
|
|
|
2f60e2 |
- rebuild
|
|
|
2f60e2 |
|
|
|
2f60e2 |
* Wed Mar 10 2004 Chip Turner <cturner@redhat.com> - 0.31-1
|
|
|
2f60e2 |
- Specfile autogenerated.
|
|
|
2f60e2 |
|