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