%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) Name: perl-ExtUtils-CChecker Version: 0.12 Release: 1mamba Summary: ExtUtils::CChecker - configure-time utilities for using C headers, libraries, or OS features Group: System/Libraries/Perl Vendor: openmamba Distribution: openmamba Packager: Automatic Build System URL: https://www.cpan.org/ Source: https://cpan.metacpan.org/modules/by-module/ExtUtils/ExtUtils-CChecker-%{version}.tar.gz License: GPL, Artistic BuildRequires: perl(ExtUtils::CBuilder) BuildRequires: perl(Module::Build) BuildRequires: perl(Test::Exception) BuildRequires: perl(Test::More) BuildRequires: perl(Test::Pod) BuildRequires: perl-devel BuildRequires: perl-Test-Fatal Requires: perl(ExtUtils::CBuilder) Requires: perl >= %perl_major_ver %description Often Perl modules are written to wrap functionality found in existing C headers, libraries, or to use OS-specific features. It is useful in the Build.PL or Makefile.PL file to check for the existence of these requirements before attempting to actually build the module. %prep %setup -q -n ExtUtils-CChecker-%{version} %build %{__perl} Build.PL installdirs=vendor ./Build ./Build test %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" ./Build install destdir=%{buildroot} create_packlist=0 find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; chmod -R u+w %{buildroot}/* %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %{perl_vendorlib}/* %{_mandir}/man3/*.3pm.gz %doc Changes LICENSE README %changelog * Tue Mar 05 2024 Automatic Build System 0.12-1mamba - automatic version update by autodist * Tue Jul 13 2021 Automatic Build System 0.11-1mamba - automatic version update by autodist * Sat May 30 2015 Automatic Build System 0.10-1mamba - automatic update by autodist * Mon Dec 16 2013 Automatic Build System 0.09-1mamba - automatic update by autodist * Sun Nov 18 2012 Automatic Build System 0.08-1mamba - automatic version update by autodist * Wed Nov 16 2011 Silvan Calarco 0.07-1mamba - update to 0.07 * Sun Feb 20 2011 gil 0.06-1mamba - package created by autospec