diff --git a/GSSAPI-0.28.tar.gz b/GSSAPI-0.28.tar.gz new file mode 100644 index 0000000..a77c4e3 Binary files /dev/null and b/GSSAPI-0.28.tar.gz differ diff --git a/perl-GSSAPI.spec b/perl-GSSAPI.spec new file mode 100644 index 0000000..4f38489 --- /dev/null +++ b/perl-GSSAPI.spec @@ -0,0 +1,49 @@ +Name: perl-GSSAPI +Version: 0.28 +Release: 26 +Summary: Providing access to the GSSAPIv2 library +License: GPL+ or Artistic +URL: https://metacpan.org/release/GSSAPI +Source0: https://cpan.metacpan.org/authors/id/A/AG/AGROLMS/GSSAPI-%{version}.tar.gz +BuildRequires: findutils gcc krb5-devel which perl-devel perl-generators +BuildRequires: perl-interpreter perl(ExtUtils::MakeMaker) >= 6.76 perl(Getopt::Long) +BuildRequires: perl(constant) perl(Carp) perl(Exporter) perl(ExtUtils::testlib) +BuildRequires: perl(Test::More) perl(Test::Pod) >= 1.00 perl(XSLoader) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) + +%description +This module can access the routines of the GSSAPI library. + +%package help +Summary: Documentation for perl-GSSAPI + +%description help +This package provides documentation for perl-GSSAPI. + +%prep +%autosetup -n GSSAPI-%{version} -p1 +chmod -c a-x examples/*.pl + +%build +perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1 +%make_build + +%install +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name '*.bs' -empty -delete +%{_fixperms} %{buildroot}/* + +%check +make test + +%files +%doc Changes README examples/ +%{perl_vendorarch}/auto/* +%{perl_vendorarch}/GSSAPI* + +%files help +%{_mandir}/man3/* + +%changelog +* Thu Dec 12 2019 fengbing - 0.28-26 +- Package init