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