!1 add package

Merge pull request !1 from bingo2008/bingo2008
This commit is contained in:
openeuler-ci-bot 2019-12-14 16:31:57 +08:00 committed by Gitee
commit 909e791a75
2 changed files with 49 additions and 0 deletions

BIN
GSSAPI-0.28.tar.gz Normal file

Binary file not shown.

49
perl-GSSAPI.spec Normal file
View File

@ -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 <fengbing7@huawei.com> - 0.28-26
- Package init