11 Star 0 Fork 5

src-openEuler / perl-ExtUtils-ParseXS

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
perl-ExtUtils-ParseXS.spec 2.10 KB
一键复制 编辑 原始数据 按行查看 历史
syyhao 提交于 2020-01-12 19:33 . remove unnecessary files
Name: perl-ExtUtils-ParseXS
Epoch: 2
Version: 3.35
Release: 1
Summary: Convert Perl XS code into C code
License: GPL+ or Artistic
URL: https://metacpan.org/pod/ExtUtils::ParseXS
Source0: https://cpan.metacpan.org/authors/id/S/SM/SMUELLER/ExtUtils-ParseXS-3.35.tar.gz
BuildArch: noarch
BuildRequires: gcc git coreutils make perl-devel perl-generators perl-interpreter perl(Config)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 perl(File::Spec) perl(strict) perl(warnings)
BuildRequires: perl(Cwd) perl(Exporter) >= 5.57 perl(File::Basename) perl(re) perl(Symbol)
BuildRequires: perl(attributes) perl(Carp) perl(DynaLoader) perl(ExtUtils::CBuilder)
BuildRequires: perl(File::Temp) perl(lib) perl(overload) perl(Test::More) >= 0.47
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) perl(Exporter) >= 5.57
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Exporter\\)$
%description
ExtUtils::ParseXS will compile XS code into C code by embedding the constructs necessary to let C functions manipulate Perl values
and creates the glue necessary to let Perl access those functions.
The compiler uses typemaps to determine how to map C function parameters and variables to Perl values.
%package_help
%prep
%autosetup -n ExtUtils-ParseXS-3.35 -p1
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%make_build
%install
%make_install
%{_fixperms} $RPM_BUILD_ROOT/*
rm $RPM_BUILD_ROOT%{perl_vendorlib}/ExtUtils/xsubpp
ln -s ../../../../bin/xsubpp $RPM_BUILD_ROOT%{perl_vendorlib}/ExtUtils/
%check
make test
%files
%doc Changes README
%{_bindir}/*
%{perl_vendorlib}/*
%files help
%{_mandir}/man1/*
%{_mandir}/man3/*
%changelog
* Sat Jan 11 2020 openEuler Buildteam <buildteam@openeuler.org> - 2:3.35-1
- Type: enhancement
- ID: NA
- SUG: NA
- DESC: remove unnecessary files
* Sun Sep 29 2019 openEuler Buildteam <buildteam@openeuler.org> - 1:3.39-419
- Type:enhancement
- ID:NA
- SUG:NA
- DESC: revise changelog
* Sat Sep 14 2019 shidongdong <shidongdong5@huawei.com> - 1:3.39-418
- Package init
1
https://gitee.com/src-openeuler/perl-ExtUtils-ParseXS.git
git@gitee.com:src-openeuler/perl-ExtUtils-ParseXS.git
src-openeuler
perl-ExtUtils-ParseXS
perl-ExtUtils-ParseXS
openEuler-20.03-LTS

搜索帮助