2024-01-06 08:57:28 +01:00
|
|
|
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
|
|
|
|
|
|
|
Name: perl-ExtUtils-CChecker
|
2024-01-06 08:57:29 +01:00
|
|
|
Version: 0.11
|
2024-01-06 08:57:28 +01:00
|
|
|
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 <autodist@mambasoft.it>
|
2024-01-06 08:57:29 +01:00
|
|
|
URL: https://www.cpan.org/
|
|
|
|
Source: https://cpan.metacpan.org/modules/by-module/ExtUtils/ExtUtils-CChecker-%{version}.tar.gz
|
2024-01-06 08:57:28 +01:00
|
|
|
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
|
2024-01-06 08:57:29 +01:00
|
|
|
* Tue Jul 13 2021 Automatic Build System <autodist@mambasoft.it> 0.11-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:57:28 +01:00
|
|
|
* Sat May 30 2015 Automatic Build System <autodist@mambasoft.it> 0.10-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 08:57:28 +01:00
|
|
|
* Mon Dec 16 2013 Automatic Build System <autodist@mambasoft.it> 0.09-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sun Nov 18 2012 Automatic Build System <autodist@mambasoft.it> 0.08-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Nov 16 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.07-1mamba
|
|
|
|
- update to 0.07
|
|
|
|
|
|
|
|
* Sun Feb 20 2011 gil <puntogil@libero.it> 0.06-1mamba
|
|
|
|
- package created by autospec
|