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