]> git.pld-linux.org Git - packages/perl-ExtUtils-Typemap.git/blob - perl-ExtUtils-Typemap.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-ExtUtils-Typemap.git] / perl-ExtUtils-Typemap.spec
1 #
2 # Conditional build:
3 %bcond_without  tests           # do not perform "make test"
4 #
5 %define         pdir    ExtUtils
6 %define         pnam    Typemap
7 Summary:        ExtUtils::Typemap - Read/Write/Modify Perl/XS typemap files
8 Name:           perl-ExtUtils-Typemap
9 Version:        1.00
10 Release:        1
11 License:        Perl
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
18 BuildArch:      noarch
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
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.
26
27 The ExtUtils::Typemaps module is part of the ExtUtils::ParseXS
28 distribution and ships with the standard library of perl starting with
29 perl version 5.16.
30
31 %prep
32 %setup -q -n %{pdir}-%{pnam}-%{version}
33
34 %build
35 %{__perl} Makefile.PL \
36         INSTALLDIRS=vendor
37 %{__make}
38
39 %{?with_tests:%{__make} test}
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43
44 %{__make} pure_install \
45         DESTDIR=$RPM_BUILD_ROOT
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(644,root,root,755)
52 %doc Changes README
53 %{perl_vendorlib}/ExtUtils/*.pm
54 %{perl_vendorlib}/ExtUtils/Typemap
55 %{_mandir}/man3/*
This page took 0.113739 seconds and 4 git commands to generate.