85bd875
#
85bd875
# Rebuild option:
85bd875
#
85bd875
#   --with testsuite         - run the test suite
85bd875
#
85bd875
85bd875
Name:           perl-GSSAPI
24215f6
Version:        0.26
9c60bb5
Release:        7%{?dist}
85bd875
Summary:        Perl extension providing access to the GSSAPIv2 library
49946e4
License:        GPL+ or Artistic
24215f6
Group:          Development/Libraries
85bd875
URL:            http://search.cpan.org/dist/GSSAPI/
85bd875
Source0:        http://www.cpan.org/authors/id/A/AG/AGROLMS/GSSAPI-%{version}.tar.gz
85bd875
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
85bd875
BuildRequires:  krb5-devel
36f516d
BuildRequires:  which
24215f6
BuildRequires:  perl(ExtUtils::MakeMaker)
85bd875
BuildRequires:  perl(Test::Pod) >= 1.00
85bd875
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
85bd875
85bd875
%description
85bd875
This module gives access to the routines of the GSSAPI library, as
85bd875
described in rfc2743 and rfc2744 and implemented by the Kerberos-1.2
85bd875
distribution from MIT.
85bd875
85bd875
%prep
85bd875
%setup -q -n GSSAPI-%{version}
5916289
chmod -c a-x examples/*.pl
85bd875
85bd875
%build
85bd875
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
85bd875
make %{?_smp_mflags}
85bd875
85bd875
%install
85bd875
rm -rf $RPM_BUILD_ROOT
24215f6
85bd875
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
85bd875
24215f6
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
24215f6
find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} \;
24215f6
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
24215f6
24215f6
%{_fixperms} $RPM_BUILD_ROOT/*
85bd875
85bd875
%check
85bd875
# fails a couple of tests if network not available
85bd875
%{?_with_testsuite:make test}
85bd875
85bd875
%clean
85bd875
rm -rf $RPM_BUILD_ROOT
85bd875
85bd875
%files
85bd875
%defattr(-,root,root,-)
85bd875
%doc Changes README examples/
24215f6
%{perl_vendorarch}/auto/*
85bd875
%{perl_vendorarch}/GSSAPI*
24215f6
%{_mandir}/man3/*
85bd875
85bd875
%changelog
9c60bb5
* Fri Dec 17 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.26-7
9c60bb5
- 661697 rebuild for fixing problems with vendorach/lib
9c60bb5
a80a16b
* Thu Jun  3 2010 Petr Pisar <ppisar@redhat.com> - 0.26-6
a80a16b
- Do not source /etc/profile.d/krb5-devel.sh as krb5-devel-1.8.1-6 does not
a80a16b
  provide it and places executables into standard PATH.
a80a16b
3a64f31
* Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.26-5
3a64f31
- Mass rebuild with perl-5.12.0
3a64f31
8df39e9
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.26-4
8df39e9
- rebuild against perl 5.10.1
8df39e9
38e48e0
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.26-3
38e48e0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
38e48e0
e76b263
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.26-2
e76b263
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
e76b263
24215f6
* Thu May 15 2008 Steven Pritchard <steve@kspei.com> 0.26-1
24215f6
- Update to 0.26.
24215f6
- Cleanup a little to more closely match cpanspec output.
24215f6
- BR ExtUtils::MakeMaker.
24215f6
1c07ebe
* Mon Mar  3 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.24-6
1c07ebe
- rebuild for new perl (again)
1c07ebe
66cf13e
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.24-5
66cf13e
- Autorebuild for GCC 4.3
66cf13e
bc9cb26
* Thu Feb 07 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.24-4
bc9cb26
- rebuild for new perl
bc9cb26
a383a60
* Thu Jan 03 2008 Steven Pritchard <steve@kspei.com> 0.24-3
a383a60
- Use sysconfdir macro instead of hard-coding /etc.
a383a60
49946e4
* Sat Dec 08 2007 Steven Pritchard <steve@kspei.com> 0.24-2
49946e4
- Update License tag.
49946e4
- Use fixperms macro instead of our own chmod incantation.
49946e4
- Source in /etc/profile.d/krb5-devel.sh to get our path right.
49946e4
5916289
* Thu Feb 22 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.24-1
5916289
- Update to 0.24.
5916289
5c89b78
* Sun Sep 10 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.23-2
5c89b78
- Rebuild for FC6.
5c89b78
697d960
* Thu Aug  3 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.23-1
697d960
- Update to 0.23.
697d960
36f516d
* Mon May 29 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.22-1
36f516d
- Update to 0.22.
36f516d
85bd875
* Thu Apr  6 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.21-1
85bd875
- Update to 0.21.
85bd875
85bd875
* Fri Mar 31 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.20-1
85bd875
- First build.