]> git.pld-linux.org Git - packages/perl-ExtUtils-Typemaps-Default.git/blob - perl-ExtUtils-Typemaps-Default.spec
- initial
[packages/perl-ExtUtils-Typemaps-Default.git] / perl-ExtUtils-Typemaps-Default.spec
1 #
2 # Conditional build:
3 %bcond_without  tests           # do not perform "make test"
4 #
5 %define         pdir    ExtUtils
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
10 Version:        1.05
11 Release:        1
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
20 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
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:
29
30 ExtUtils::Typemaps::ObjectMap, ExtUtils::Typemaps::STL,
31 ExtUtils::Typemaps::Basic
32
33 %prep
34 %setup -q -n %{pdir}-%{pnam}-%{version}
35
36 %build
37 %{__perl} Build.PL \
38         destdir=$RPM_BUILD_ROOT \
39         installdirs=vendor
40 ./Build
41
42 %{?with_tests:./Build test}
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46
47 ./Build install
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(644,root,root,755)
54 %doc Changes
55 %{perl_vendorlib}/ExtUtils/Typemap/*
56 %{perl_vendorlib}/ExtUtils/Typemaps
57 %{_mandir}/man3/*
This page took 0.07834 seconds and 3 git commands to generate.