3 %bcond_without tests # do not perform "make test"
7 Summary: ExtUtils::Typemap - Read/Write/Modify Perl/XS typemap files
8 Name: perl-ExtUtils-Typemap
12 Group: Development/Languages/Perl
13 Source0: http://www.cpan.org/modules/by-module/ExtUtils/%{pdir}-%{pnam}-%{version}.tar.gz
14 # Source0-md5: a7175a06e27939a83b1b781e91c13ad0
15 URL: http://search.cpan.org/dist/ExtUtils-Typemap/
16 BuildRequires: perl-devel >= 1:5.8.0
17 BuildRequires: rpm-perlprov >= 4.1-13
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 This module exists merely as a compatibility wrapper around
23 ExtUtils::Typemaps. In a nutshell, ExtUtils::Typemap was renamed to
24 ExtUtils::Typemaps because the Typemap directory in lib/ could collide
25 with the typemap file on case-insensitive file systems.
27 The ExtUtils::Typemaps module is part of the ExtUtils::ParseXS
28 distribution and ships with the standard library of perl starting with
32 %setup -q -n %{pdir}-%{pnam}-%{version}
35 %{__perl} Makefile.PL \
39 %{?with_tests:%{__make} test}
42 rm -rf $RPM_BUILD_ROOT
44 %{__make} pure_install \
45 DESTDIR=$RPM_BUILD_ROOT
48 rm -rf $RPM_BUILD_ROOT
51 %defattr(644,root,root,755)
53 %{perl_vendorlib}/ExtUtils/*.pm
54 %{perl_vendorlib}/ExtUtils/Typemap