9bb680
#
9bb680
# Rebuild option:
9bb680
#
9bb680
#   --with testsuite         - run the test suite
9bb680
#
9bb680
9bb680
Name:           perl-GSSAPI
9bb680
Version:        0.28
51dfa9
Release:        9%{?dist}
9bb680
Summary:        Perl extension providing access to the GSSAPIv2 library
9bb680
License:        GPL+ or Artistic
9bb680
Group:          Development/Libraries
9bb680
URL:            http://search.cpan.org/dist/GSSAPI/
9bb680
Source0:        http://www.cpan.org/authors/id/A/AG/AGROLMS/GSSAPI-%{version}.tar.gz
9bb680
BuildRequires:  krb5-devel
9bb680
BuildRequires:  which
9bb680
BuildRequires:  perl
9bb680
BuildRequires:  perl(Config)
9bb680
%{?_with_testsuite:BuildRequires: perl(Carp)}
9bb680
%{?_with_testsuite:BuildRequires: perl(constant)}
9bb680
%{?_with_testsuite:BuildRequires: perl(Exporter)}
9bb680
BuildRequires:  perl(ExtUtils::MakeMaker)
9bb680
%{?_with_testsuite:BuildRequires: perl(ExtUtils::testlib)}
9bb680
BuildRequires:  perl(Getopt::Long)
9bb680
%{?_with_testsuite:BuildRequires: perl(overload)}
9bb680
BuildRequires:  perl(strict)
9bb680
%{?_with_testsuite:BuildRequires: perl(Test::More)}
9bb680
%{?_with_testsuite:BuildRequires: perl(Test::Pod) >= 1.00}
9bb680
%{?_with_testsuite:BuildRequires: perl(warnings)}
9bb680
%{?_with_testsuite:BuildRequires: perl(XSLoader)}
9bb680
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
9bb680
9bb680
%{?perl_default_filter}
9bb680
9bb680
%description
9bb680
This module gives access to the routines of the GSSAPI library, as
9bb680
described in RFC 2743 and RFC 2744 and implemented by the Kerberos-1.2
9bb680
distribution from MIT.
9bb680
9bb680
%prep
9bb680
%setup -q -n GSSAPI-%{version}
9bb680
chmod -c a-x examples/*.pl
9bb680
9bb680
%build
9bb680
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
9bb680
make %{?_smp_mflags}
9bb680
9bb680
%install
9bb680
make pure_install DESTDIR=%{buildroot}
9bb680
find %{buildroot} -type f -name .packlist -exec rm -f {} +
9bb680
find %{buildroot} -type f -name '*.bs' -empty -exec rm -f {} +
9bb680
%{_fixperms} %{buildroot}/*
9bb680
9bb680
%check
9bb680
# fails a couple of tests if network not available
9bb680
%{?_with_testsuite:make test}
9bb680
9bb680
%files
9bb680
%doc Changes README examples/
9bb680
%{perl_vendorarch}/auto/*
9bb680
%{perl_vendorarch}/GSSAPI*
9bb680
%{_mandir}/man3/*
9bb680
9bb680
%changelog
51dfa9
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 0.28-9
51dfa9
- Mass rebuild 2014-01-24
51dfa9
51dfa9
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.28-8
51dfa9
- Mass rebuild 2013-12-27
51dfa9
9bb680
* Thu Aug 01 2013 Petr Šabata <contyk@redhat.com> - 0.28-7.2
9bb680
- Correct the description and filter out the library provides
9bb680
9bb680
* Thu Aug 01 2013 Petr Šabata <contyk@redhat.com> - 0.28-7.1
9bb680
- Fix the dependency list
9bb680
9bb680
* Tue Nov 06 2012 Petr Šabata <contyk@redhat.com> - 0.28-7
9bb680
- Modernize the spec a bit and fix the deps
9bb680
9bb680
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.28-6
9bb680
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
9bb680
9bb680
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 0.28-5
9bb680
- Perl 5.16 rebuild
9bb680
9bb680
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.28-4
9bb680
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
9bb680
9bb680
* Sun Jun 19 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.28-3
9bb680
- Perl mass rebuild
9bb680
9bb680
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.28-2
9bb680
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
9bb680
9bb680
* Mon Dec 27 2010 Steven Pritchard <steve@kspei.com> 0.28-1
9bb680
- Update to 0.28.
9bb680
9bb680
* Fri Dec 17 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.26-7
9bb680
- 661697 rebuild for fixing problems with vendorach/lib
9bb680
9bb680
* Thu Jun  3 2010 Petr Pisar <ppisar@redhat.com> - 0.26-6
9bb680
- Do not source /etc/profile.d/krb5-devel.sh as krb5-devel-1.8.1-6 does not
9bb680
  provide it and places executables into standard PATH.
9bb680
9bb680
* Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.26-5
9bb680
- Mass rebuild with perl-5.12.0
9bb680
9bb680
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.26-4
9bb680
- rebuild against perl 5.10.1
9bb680
9bb680
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.26-3
9bb680
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
9bb680
9bb680
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.26-2
9bb680
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
9bb680
9bb680
* Thu May 15 2008 Steven Pritchard <steve@kspei.com> 0.26-1
9bb680
- Update to 0.26.
9bb680
- Cleanup a little to more closely match cpanspec output.
9bb680
- BR ExtUtils::MakeMaker.
9bb680
9bb680
* Mon Mar  3 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.24-6
9bb680
- rebuild for new perl (again)
9bb680
9bb680
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.24-5
9bb680
- Autorebuild for GCC 4.3
9bb680
9bb680
* Thu Feb 07 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.24-4
9bb680
- rebuild for new perl
9bb680
9bb680
* Thu Jan 03 2008 Steven Pritchard <steve@kspei.com> 0.24-3
9bb680
- Use sysconfdir macro instead of hard-coding /etc.
9bb680
9bb680
* Sat Dec 08 2007 Steven Pritchard <steve@kspei.com> 0.24-2
9bb680
- Update License tag.
9bb680
- Use fixperms macro instead of our own chmod incantation.
9bb680
- Source in /etc/profile.d/krb5-devel.sh to get our path right.
9bb680
9bb680
* Thu Feb 22 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.24-1
9bb680
- Update to 0.24.
9bb680
9bb680
* Sun Sep 10 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.23-2
9bb680
- Rebuild for FC6.
9bb680
9bb680
* Thu Aug  3 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.23-1
9bb680
- Update to 0.23.
9bb680
9bb680
* Mon May 29 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.22-1
9bb680
- Update to 0.22.
9bb680
9bb680
* Thu Apr  6 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.21-1
9bb680
- Update to 0.21.
9bb680
9bb680
* Fri Mar 31 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.20-1
9bb680
- First build.