automatic update by autodist [release 0.09-1mamba;Mon Dec 16 2013]
This commit is contained in:
parent
6f63f0aacf
commit
3f8f1b6968
@ -1,2 +1,4 @@
|
|||||||
# perl-ExtUtils-CChecker
|
# perl-ExtUtils-CChecker
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
63
perl-ExtUtils-CChecker.spec
Normal file
63
perl-ExtUtils-CChecker.spec
Normal file
@ -0,0 +1,63 @@
|
|||||||
|
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
||||||
|
|
||||||
|
Name: perl-ExtUtils-CChecker
|
||||||
|
Version: 0.09
|
||||||
|
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: http://www.cpan.org
|
||||||
|
Source: http://search.cpan.org/CPAN/authors/id/P/PE/PEVANS/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
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
|
%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
|
||||||
|
* 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
|
Loading…
Reference in New Issue
Block a user