11f488
Name:           perl-Authen-SASL
11f488
Version:        2.16
11f488
Release:        25%{?dist}
11f488
Summary:        SASL Authentication framework for Perl
11f488
License:        GPL+ or Artistic
11f488
URL:            https://metacpan.org/release/Authen-SASL
11f488
Source0:        https://cpan.metacpan.org/authors/id/G/GB/GBARR/Authen-SASL-%{version}.tar.gz
11f488
# Update the function WRITE to properly handle string which is shorter than
11f488
# provided length
11f488
Patch0:         Authen-SASL-RT85294-Fix-WRITE.patch
11f488
BuildArch:      noarch
11f488
BuildRequires:  coreutils
11f488
BuildRequires:  make
11f488
BuildRequires:  perl-generators
11f488
BuildRequires:  perl-interpreter
11f488
BuildRequires:  perl(inc::Module::Install)
11f488
BuildRequires:  perl(Module::Install::Makefile)
11f488
BuildRequires:  perl(Module::Install::Metadata)
11f488
BuildRequires:  perl(Module::Install::WriteAll)
11f488
BuildRequires:  perl(strict)
11f488
BuildRequires:  perl(warnings)
11f488
# Run-time
11f488
BuildRequires:  perl(bytes)
11f488
BuildRequires:  perl(Carp)
11f488
BuildRequires:  perl(Digest::HMAC_MD5)
11f488
BuildRequires:  perl(Digest::MD5)
11f488
BuildRequires:  perl(GSSAPI)
11f488
BuildRequires:  perl(Tie::Handle)
11f488
BuildRequires:  perl(vars)
11f488
# Tests
11f488
BuildRequires:  perl(FindBin)
11f488
BuildRequires:  perl(Test::More)
11f488
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
11f488
Requires:       perl(Tie::Handle)
11f488
11f488
%description
11f488
SASL is a generic mechanism for authentication used by several network
11f488
protocols. Authen::SASL provides an implementation framework that all
11f488
protocols should be able to share.
11f488
11f488
%prep
11f488
%setup -q -n Authen-SASL-%{version}
11f488
%patch0 -p1
11f488
11f488
# Remove bundled libraries
11f488
rm -r inc
11f488
perl -i -ne 'print $_ unless m{^inc/}' MANIFEST
11f488
11f488
# Fix permissions
11f488
chmod -c a-x example_pl
11f488
11f488
%build
11f488
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
11f488
%{make_build}
11f488
11f488
%install
11f488
%{make_install}
11f488
%{_fixperms} $RPM_BUILD_ROOT
11f488
11f488
%check
11f488
make test
11f488
11f488
%files
11f488
%doc api.txt Changes example_pl
11f488
%{perl_vendorlib}/*
11f488
%{_mandir}/man3/*
11f488
11f488
%changelog
11f488
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.16-25
11f488
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
11f488
  Related: rhbz#1991688
11f488
11f488
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.16-24
11f488
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
11f488
11f488
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.16-23
11f488
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
11f488
11f488
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.16-22
11f488
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
11f488
11f488
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 2.16-21
11f488
- Perl 5.32 rebuild
11f488
11f488
* Tue Mar 10 2020 Petr Pisar <ppisar@redhat.com> - 2.16-20
11f488
- Specify all dependencies
11f488
11f488
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.16-19
11f488
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
11f488
11f488
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.16-18
11f488
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
11f488
11f488
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 2.16-17
11f488
- Perl 5.30 rebuild
11f488
11f488
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.16-16
11f488
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
11f488
11f488
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.16-15
11f488
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
11f488
11f488
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 2.16-14
11f488
- Perl 5.28 rebuild
11f488
11f488
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.16-13
11f488
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
11f488
11f488
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.16-12
11f488
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
11f488
11f488
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2.16-11
11f488
- Perl 5.26 rebuild
11f488
11f488
* Mon May 15 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2.16-10
11f488
- Fix building on Perl without '.' in @INC
11f488
- Modernize spec and unbundled 'inc'
11f488
11f488
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.16-9
11f488
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
11f488
11f488
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.16-8
11f488
- Perl 5.24 rebuild
11f488
11f488
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.16-7
11f488
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
11f488
11f488
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.16-6
11f488
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
11f488
11f488
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.16-5
11f488
- Perl 5.22 rebuild
11f488
11f488
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.16-4
11f488
- Perl 5.20 rebuild
11f488
11f488
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.16-3
11f488
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
11f488
11f488
* Wed Jun 04 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.16-2
11f488
- Fixed SASL and GSSAPI error (RT#85294)
11f488
11f488
* Tue Oct  1 2013 Paul Howarth <paul@city-fan.org> - 2.16-1
11f488
- Update to 2.16
11f488
  - SASL.pod: fix typo
11f488
  - Perl.pm: avoid warning on "uninitialized value"
11f488
- Drop %%defattr, redundant since rpm 4.4
11f488
- Don't need to remove empty directories from the buildroot
11f488
11f488
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.15-11
11f488
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
11f488
11f488
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 2.15-10
11f488
- Perl 5.18 rebuild
11f488
11f488
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.15-9
11f488
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
11f488
11f488
* Tue Nov 06 2012 Jitka Plesnikova <jplesnik@redhat.com> - 2.15-8
11f488
- Specify all dependencies
11f488
- Use DESTDIR rather than PERL_INSTALL_ROOT
11f488
11f488
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.15-7
11f488
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
11f488
11f488
* Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 2.15-6
11f488
- Perl 5.16 rebuild
11f488
11f488
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.15-5
11f488
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
11f488
11f488
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.15-4
11f488
- Perl mass rebuild
11f488
11f488
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.15-3
11f488
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
11f488
11f488
* Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.15-2
11f488
- Rebuild to fix problems with vendorarch/lib (#661697)
11f488
11f488
* Sun Dec 12 2010 Steven Pritchard <steve@kspei.com> 2.15-1
11f488
- Update to 2.15.
11f488
- Add example_pl to docs.
11f488
11f488
* Thu Apr 29 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.13-3
11f488
- Mass rebuild with perl-5.12.0
11f488
11f488
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 2.13-2
11f488
- rebuild against perl 5.10.1
11f488
11f488
* Mon Oct  5 2009 Stepan Kasal <skasal@redhat.com> - 2.13-1
11f488
- new upstream version, BR Test::More
11f488
11f488
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.12-3
11f488
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
11f488
11f488
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.12-2
11f488
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
11f488
11f488
* Tue Jul 01 2008 Steven Pritchard <steve@kspei.com> 2.12-1
11f488
- Update to 2.12.
11f488
11f488
* Thu May 15 2008 Steven Pritchard <steve@kspei.com> 2.11-1
11f488
- Update to 2.11.
11f488
- Fix find option order.
11f488
- Use fixperms macro instead of our own chmod incantation.
11f488
- Reformat to resemble cpanspec output.
11f488
- Drop explicit perl build dependency.
11f488
11f488
* Thu Feb  7 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.10-2
11f488
- rebuild for new perl
11f488
11f488
* Mon Oct 15 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 2.10-1.1
11f488
- correct license tag
11f488
- add BR: perl(ExtUtils::MakeMaker)
11f488
11f488
* Sat Apr 22 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.10-1
11f488
- Update to 2.10.
11f488
11f488
* Fri Feb 17 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.09-4
11f488
- Rebuild for FC5 (perl 5.8.8).
11f488
11f488
* Sat May 14 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.09-3
11f488
- Add dist tag.
11f488
11f488
* Tue Apr 26 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.09-2
11f488
- Update to 2.09.
11f488
11f488
* Wed Apr  6 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
11f488
- rebuilt
11f488
11f488
* Mon Apr  4 2005 Ville Skyttä <ville.skytta at iki.fi> - 2.08-1
11f488
- Drop Epoch: 0 and 0.fdr release prefix.
11f488
11f488
* Wed Jul 21 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:2.08-0.fdr.1
11f488
- Update to 2.08.
11f488
- Bring up to date with current fedora.us Perl spec template.
11f488
11f488
* Fri Jan 30 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:2.06-0.fdr.1
11f488
- First build.