3 %bcond_without tests # do not perform "make test"
6 %define pnam Typemaps-Default
7 %include /usr/lib/rpm/macros.perl
8 Summary: ExtUtils::Typemaps::Default - A set of useful typemaps
9 Name: perl-ExtUtils-Typemaps-Default
12 License: GPL v1+ or Artistic
13 Group: Development/Languages/Perl
14 Source0: http://www.cpan.org/modules/by-module/ExtUtils/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5: 346c127faf7b74bc4cfc29fa3e8e6f8d
16 URL: http://search.cpan.org/dist/ExtUtils-Typemaps-Default/
17 BuildRequires: perl-Module-Build
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 ExtUtils::Typemaps::Default is an ExtUtils::Typemaps
25 subclass that provides a set of default mappings (in addition to what
26 perl itself provides). These default mappings are currently defined
27 as the combination of the mappings provided by the
28 following typemap classes which are provided in this distribution:
30 ExtUtils::Typemaps::ObjectMap, ExtUtils::Typemaps::STL,
31 ExtUtils::Typemaps::Basic
34 %setup -q -n %{pdir}-%{pnam}-%{version}
38 destdir=$RPM_BUILD_ROOT \
42 %{?with_tests:./Build test}
45 rm -rf $RPM_BUILD_ROOT
50 rm -rf $RPM_BUILD_ROOT
53 %defattr(644,root,root,755)
55 %{perl_vendorlib}/ExtUtils/Typemap/*
56 %{perl_vendorlib}/ExtUtils/Typemaps