Blob Blame Raw
# Rebuild option:
#   --with testsuite         - run the test suite

Name:           perl-GSSAPI
Version:        0.22
Release:        1%{?dist}
Summary:        Perl extension providing access to the GSSAPIv2 library

Group:          Development/Libraries
License:        GPL or Artistic
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  perl
BuildRequires:  krb5-devel
BuildRequires:  which
BuildRequires:  perl(Test::Pod) >= 1.00
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

This module gives access to the routines of the GSSAPI library, as
described in rfc2743 and rfc2744 and implemented by the Kerberos-1.2
distribution from MIT.

%setup -q -n GSSAPI-%{version}
chmod a-x examples/*.pl

%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
make %{?_smp_mflags}

find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*

# fails a couple of tests if network not available
%{?_with_testsuite:make test}


%doc Changes README examples/

* Mon May 29 2006 Jose Pedro Oliveira <jpo at> - 0.22-1
- Update to 0.22.

* Thu Apr  6 2006 Jose Pedro Oliveira <jpo at> - 0.21-1
- Update to 0.21.

* Fri Mar 31 2006 Jose Pedro Oliveira <jpo at> - 0.20-1
- First build.