69 lines
2.3 KiB
RPMSpec
69 lines
2.3 KiB
RPMSpec
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
|
|
|
Name: perl-ExtUtils-CChecker
|
|
Version: 0.11
|
|
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>
|
|
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 Jul 13 2021 Automatic Build System <autodist@mambasoft.it> 0.11-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat May 30 2015 Automatic Build System <autodist@mambasoft.it> 0.10-1mamba
|
|
- automatic update by autodist
|
|
|
|
* 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
|