perl-LDAP/perl-LDAP.spec

246 lines
7.9 KiB
RPMSpec
Raw Normal View History

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