Name: perl-XS-Parse-Keyword Version: 0.21 Release: 1%{?dist} Summary: XS functions to assist in parsing keyword syntax License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/XS-Parse-Keyword/ Source0: http://www.cpan.org/authors/id/P/PE/PEVANS/XS-Parse-Keyword-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: perl >= 0:5.014 BuildRequires: perl(ExtUtils::CBuilder) BuildRequires: perl(Module::Build) BuildRequires: perl(Test::More) >= 0.88 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Provides: perl(XS::Parse::Keyword) %description This module provides some XS functions to assist in writing syntax modules that provide new perl-visible syntax, primarily for authors of keyword plugins using the PL_keyword_plugin hook mechanism. It is unlikely to be of much use to anyone else; and highly unlikely to be any use when writing perl code using these. Unless you are writing a keyword plugin using XS, this module is not for you. %prep %setup -q -n XS-Parse-Keyword-%{version} %build %{__perl} Build.PL --installdirs=vendor --optimize="$RPM_OPT_FLAGS" ./Build %install rm -rf $RPM_BUILD_ROOT ./Build install --destdir=$RPM_BUILD_ROOT --create_packlist=0 find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check ./Build test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes hax LICENSE META.json README src %{perl_vendorarch}/auto/* %{perl_vendorarch}/XS* %{_mandir}/man3/* %changelog * Mon Jan 17 2022 Dave Cross 0.21-1 - Specfile autogenerated by cpanspec 1.78.