add package
This commit is contained in:
parent
9744aa46e5
commit
1a3398a482
BIN
GSSAPI-0.28.tar.gz
Normal file
BIN
GSSAPI-0.28.tar.gz
Normal file
Binary file not shown.
49
perl-GSSAPI.spec
Normal file
49
perl-GSSAPI.spec
Normal 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
|
||||||
Loading…
x
Reference in New Issue
Block a user