Name: perl-Module-CAPIMaker Version: 0.01 Release: 1%{?dist} Summary: Provide a C API for your XS modules License: CHECK(Distributable) Group: Development/Libraries URL: http://search.cpan.org/dist/Module-CAPIMaker/ Source0: http://www.cpan.org/authors/id/S/SA/SALVA/Module-CAPIMaker-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::More) BuildRequires: perl(Text::Template) >= 1.45 Requires: perl(Text::Template) >= 1.45 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description If you are the author of a Perl module written using XS. Using Module::CAPIMaker you will be able to provide your module users with an easy and efficient way to access its functionality directly from their own XS modules. %prep %setup -q -n Module-CAPIMaker-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes README %{_bindir}/make_perl_module_c_api %{perl_vendorlib}/* %{_mandir}/man?/* %changelog * Sun Jul 12 2020 Greg Wildman 0.01-1 - Specfile autogenerated by cpanspec 1.78.