Package init
This commit is contained in:
commit
7b22950dc5
4743
ExtUtils-ParseXS-3.35-Upgrade-to-3.39.patch
Normal file
4743
ExtUtils-ParseXS-3.35-Upgrade-to-3.39.patch
Normal file
File diff suppressed because it is too large
Load Diff
BIN
ExtUtils-ParseXS-3.35.tar.gz
Normal file
BIN
ExtUtils-ParseXS-3.35.tar.gz
Normal file
Binary file not shown.
61
perl-ExtUtils-ParseXS.spec
Normal file
61
perl-ExtUtils-ParseXS.spec
Normal file
@ -0,0 +1,61 @@
|
||||
Name: perl-ExtUtils-ParseXS
|
||||
Epoch: 1
|
||||
Version: 3.39
|
||||
Release: 419
|
||||
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
|
||||
|
||||
Patch0: ExtUtils-ParseXS-3.35-Upgrade-to-3.39.patch
|
||||
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
|
||||
* 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
|
||||
Loading…
x
Reference in New Issue
Block a user