Files
perl-ExtUtils-ParseXS/perl-ExtUtils-ParseXS.spec

60 lines
1.5 KiB
RPMSpec
Raw Normal View History

#
# spec file for package perl-ExtUtils-ParseXS
#
# norootforbuild
Name: perl-ExtUtils-ParseXS
%define real_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
Summary: Converts Perl XS code into C code
Url: http://search.cpan.org/perldoc?ExtUtils::ParseXS
Group: Development/Libraries/Perl
License: Artistic License
Version: 2.21
Release: 1
Vendor: openSUSE-Education
Source: %{real_name}-%{version}.tar.bz2
BuildRequires: perl-macros
Requires: perl = %{perl_version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%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.
Th 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.
Author:
-------
* Ken Williams, <ken@mathforum.org>
* David Golden, <dagolden@cpan.org>
%prep
%setup -q -n %{real_name}-%{version}
%build
perl Makefile.PL
make %{?jobs:-j%jobs}
%check
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%clean
rm -rf %{buildroot}
%files -f %{name}.files
%defattr(0644, root, root, 0755)
%doc Changes README MANIFEST
%changelog