Initial import
This commit is contained in:
parent
387a5377a6
commit
edeb30b490
@ -0,0 +1 @@
|
||||
ExtUtils-CChecker-0.03.tar.gz
|
1
import.log
Normal file
1
import.log
Normal file
@ -0,0 +1 @@
|
||||
perl-ExtUtils-CChecker-0_03-1_fc12:HEAD:perl-ExtUtils-CChecker-0.03-1.fc12.src.rpm:1273266099
|
54
perl-ExtUtils-CChecker.spec
Normal file
54
perl-ExtUtils-CChecker.spec
Normal file
@ -0,0 +1,54 @@
|
||||
Name: perl-ExtUtils-CChecker
|
||||
Version: 0.03
|
||||
Release: 1%{?dist}
|
||||
Summary: Configure-time utilities for using C headers, libraries, or OS features
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/ExtUtils-CChecker/
|
||||
Source0: http://www.cpan.org/authors/id/P/PE/PEVANS/ExtUtils-CChecker-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl(ExtUtils::CBuilder)
|
||||
BuildRequires: perl(Module::Build)
|
||||
BuildRequires: perl(Test::Exception)
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(Test::Pod) >= 1.00
|
||||
Requires: perl(ExtUtils::CBuilder)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
|
||||
%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
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
||||
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
||||
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
|
||||
%check
|
||||
./Build test
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes LICENSE README
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Mon Apr 19 2010 Nicolas Chauvet <kwizart@fedoraproject.org> - 0.03-1
|
||||
- Specfile autogenerated by cpanspec 1.78.
|
Loading…
Reference in New Issue
Block a user