package init
This commit is contained in:
commit
94a6e697e7
BIN
Devel-CheckLib-1.13.tar.gz
Normal file
BIN
Devel-CheckLib-1.13.tar.gz
Normal file
Binary file not shown.
52
perl-Devel-CheckLib.spec
Normal file
52
perl-Devel-CheckLib.spec
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
Name: perl-Devel-CheckLib
|
||||||
|
Version: 1.13
|
||||||
|
Release: 4
|
||||||
|
Summary: Check that a library is available
|
||||||
|
License: GPL+ and Artistic
|
||||||
|
URL: https://metacpan.org/release/Devel-CheckLib
|
||||||
|
Source0: https://cpan.metacpan.org/modules/by-module/Devel/Devel-CheckLib-%{version}.tar.gz
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
BuildRequires: make perl-interpreter perl-generators perl(ExtUtils::MakeMaker) perl(Exporter) perl(File::Spec)
|
||||||
|
BuildRequires: perl(File::Temp) >= 0.16 perl(Text::ParseWords) perl(Cwd) perl(File::Spec::Functions) perl(IO::File)
|
||||||
|
BuildRequires: perl(lib) perl(Test::More) >= 0.62 perl(IO::CaptureOutput) >= 1.0801
|
||||||
|
|
||||||
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||||
|
|
||||||
|
%description
|
||||||
|
A perl module that checks whether a particular C library
|
||||||
|
and its headers are available.
|
||||||
|
|
||||||
|
%package help
|
||||||
|
Summary: Introduce how to use perl-Devel-CheckLib
|
||||||
|
|
||||||
|
%description help
|
||||||
|
User's Manual for perl-Devel-CheckLib
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n Devel-CheckLib-%{version} -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
||||||
|
%make_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||||
|
|
||||||
|
%check
|
||||||
|
make test
|
||||||
|
|
||||||
|
%files
|
||||||
|
%{_bindir}/*
|
||||||
|
%{perl_vendorlib}/Devel*
|
||||||
|
|
||||||
|
%files help
|
||||||
|
%doc CHANGES README TODO
|
||||||
|
%{_mandir}/man1/*.1*
|
||||||
|
%{_mandir}/man3/*.3*
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Fri Nov 22 2019 yangjian<yangjian79@huawei.com> - 1.13-4
|
||||||
|
- Package init
|
||||||
Loading…
x
Reference in New Issue
Block a user