-
Notifications
You must be signed in to change notification settings - Fork 0
/
ExtUtils-ParseXS.spec
51 lines (39 loc) · 1.25 KB
/
ExtUtils-ParseXS.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
%include perl-header.spec
Summary: ExtUtils::ParseXS - converts Perl XS code into C code
Name: perl-module-ExtUtils-ParseXS
Version: 2.02
Release: 2
Group: System Environment/Base
Copyright: GPL/Artistic
Source: ExtUtils-ParseXS-%{version}.tar.gz
BuildRoot: /var/tmp/%{name}-root
Requires: perl
BuildRequires: perl
%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.
The compiler will search for typemap files called *typemap*. It will use the
following search path to find default typemaps, with the rightmost typemap
taking precedence.
../../../typemap:../../typemap:../typemap:typemap
%prep
%setup -q -n ExtUtils-ParseXS-%{version}
%build
perl Makefile.PL
make
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{perl_prefix}
%{pmake_install}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,bin,bin)
%doc README Changes
%{global_perl}/ExtUtils/ParseXS.pm
#%{global_perl}/ExtUtils/xsubpp
%{global_perl_arch}/auto/ExtUtils/*
%{perl_prefix}/man/man3/*