73ae60
Name:           perl-Authen-SASL
73ae60
Version:        2.15
e8ab8f
Release:        10%{?dist}
73ae60
Summary:        SASL Authentication framework for Perl
73ae60
License:        GPL+ or Artistic
73ae60
Group:          Development/Libraries
73ae60
URL:            http://search.cpan.org/dist/Authen-SASL/
73ae60
Source0:        http://www.cpan.org/authors/id/G/GB/GBARR/Authen-SASL-%{version}.tar.gz
73ae60
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
e8ab8f
# Update the function WRITE to properly handle string which is shorter than
e8ab8f
# provided length, bug #1084010, CPAN RT#85294
e8ab8f
Patch0:         Authen-SASL-RT85294-Fix-WRITE.patch
73ae60
BuildArch:      noarch
73ae60
BuildRequires:  perl(ExtUtils::MakeMaker)
73ae60
BuildRequires:  perl(Carp)
73ae60
BuildRequires:  perl(Cwd)
73ae60
BuildRequires:  perl(Digest::HMAC)
73ae60
BuildRequires:  perl(Digest::MD5)
73ae60
BuildRequires:  perl(File::Path)
73ae60
BuildRequires:  perl(GSSAPI)
73ae60
BuildRequires:  perl(Test::More)
73ae60
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
73ae60
73ae60
%description
73ae60
SASL is a generic mechanism for authentication used by several network
73ae60
protocols. Authen::SASL provides an implementation framework that all
73ae60
protocols should be able to share.
73ae60
73ae60
%prep
73ae60
%setup -q -n Authen-SASL-%{version}
e8ab8f
%patch0 -p1
73ae60
73ae60
chmod a-x example_pl
73ae60
73ae60
%build
73ae60
%{__perl} Makefile.PL INSTALLDIRS=vendor
73ae60
make %{?_smp_mflags}
73ae60
73ae60
%install
73ae60
rm -rf $RPM_BUILD_ROOT
73ae60
73ae60
make pure_install DESTDIR=$RPM_BUILD_ROOT
73ae60
73ae60
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
73ae60
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
73ae60
73ae60
%{_fixperms} $RPM_BUILD_ROOT/*
73ae60
73ae60
%check
73ae60
make test
73ae60
73ae60
%clean
73ae60
rm -rf $RPM_BUILD_ROOT
73ae60
73ae60
%files
73ae60
%defattr(-,root,root,-)
73ae60
%doc api.txt Changes example_pl
73ae60
%{perl_vendorlib}/*
73ae60
%{_mandir}/man3/*
73ae60
73ae60
%changelog
e8ab8f
* Tue Aug 05 2014 Petr Pisar <ppisar@redhat.com> - 2.15-10
e8ab8f
- Fix SASL and GSSAPI error (bug #1084010)
e8ab8f
ae393f
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2.15-9
ae393f
- Mass rebuild 2013-12-27
ae393f
73ae60
* Tue Nov 06 2012 Jitka Plesnikova <jplesnik@redhat.com> - 2.15-8
73ae60
- Specify all dependencies
73ae60
- Use DESTDIR rather than PERL_INSTALL_ROOT
73ae60
73ae60
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.15-7
73ae60
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
73ae60
73ae60
* Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 2.15-6
73ae60
- Perl 5.16 rebuild
73ae60
73ae60
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.15-5
73ae60
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
73ae60
73ae60
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.15-4
73ae60
- Perl mass rebuild
73ae60
73ae60
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.15-3
73ae60
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
73ae60
73ae60
* Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.15-2
73ae60
- 661697 rebuild for fixing problems with vendorach/lib
73ae60
73ae60
* Sun Dec 12 2010 Steven Pritchard <steve@kspei.com> 2.15-1
73ae60
- Update to 2.15.
73ae60
- Add example_pl to docs.
73ae60
73ae60
* Thu Apr 29 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.13-3
73ae60
- Mass rebuild with perl-5.12.0
73ae60
73ae60
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 2.13-2
73ae60
- rebuild against perl 5.10.1
73ae60
73ae60
* Mon Oct  5 2009 Stepan Kasal <skasal@redhat.com> - 2.13-1
73ae60
- new upstream version, BR Test::More
73ae60
73ae60
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.12-3
73ae60
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
73ae60
73ae60
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.12-2
73ae60
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
73ae60
73ae60
* Tue Jul 01 2008 Steven Pritchard <steve@kspei.com> 2.12-1
73ae60
- Update to 2.12.
73ae60
73ae60
* Thu May 15 2008 Steven Pritchard <steve@kspei.com> 2.11-1
73ae60
- Update to 2.11.
73ae60
- Fix find option order.
73ae60
- Use fixperms macro instead of our own chmod incantation.
73ae60
- Reformat to resemble cpanspec output.
73ae60
- Drop explicit perl build dependency.
73ae60
73ae60
* Thu Feb  7 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.10-2
73ae60
- rebuild for new perl
73ae60
73ae60
* Mon Oct 15 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 2.10-1.1
73ae60
- correct license tag
73ae60
- add BR: perl(ExtUtils::MakeMaker)
73ae60
73ae60
* Sat Apr 22 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.10-1
73ae60
- Update to 2.10.
73ae60
73ae60
* Fri Feb 17 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.09-4
73ae60
- Rebuild for FC5 (perl 5.8.8).
73ae60
73ae60
* Sat May 14 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.09-3
73ae60
- Add dist tag.
73ae60
73ae60
* Tue Apr 26 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.09-2
73ae60
- Update to 2.09.
73ae60
e8ab8f
* Fri Apr  8 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
73ae60
- rebuilt
73ae60
73ae60
* Mon Apr  4 2005 Ville Skyttä <ville.skytta at iki.fi> - 2.08-1
73ae60
- Drop Epoch: 0 and 0.fdr release prefix.
73ae60
73ae60
* Wed Jul 21 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:2.08-0.fdr.1
73ae60
- Update to 2.08.
73ae60
- Bring up to date with current fedora.us Perl spec template.
73ae60
73ae60
* Fri Jan 30 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:2.06-0.fdr.1
73ae60
- First build.