/[smeserver]/rpms/perl-multidimensional/sme10/perl-multidimensional.spec
ViewVC logotype

Annotation of /rpms/perl-multidimensional/sme10/perl-multidimensional.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Fri Dec 21 05:06:28 2018 UTC (5 years, 10 months ago) by jpp
Branch: MAIN
CVS Tags: perl-multidimensional-0_009-1_el7_sme, perl-multidimensional-0_009-1_of_el7, HEAD
import

1 jpp 1.1 Name: perl-multidimensional
2     Version: 0.009
3     Release: 1%{?org_tag}%{?dist}
4     Summary: Disables multidmensional array emulation
5     License: CHECK(Distributable)
6     Group: Development/Libraries
7     URL: http://search.cpan.org/dist/multidimensional/
8     Source0: http://localhost/cpan//authors/id/I/IL/ILMARI/multidimensional-%{version}.tar.gz
9     BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
10     BuildRequires: perl(ExtUtils::Depends)
11     BuildRequires: perl(ExtUtils::MakeMaker) >= 6.3
12     BuildRequires: perl(B::Hooks::OP::Check) >= 0.19
13     BuildRequires: perl(CPAN::Meta) >= 2.112580
14     BuildRequires: perl(Lexical::SealRequireHints) >= 0.005
15     BuildRequires: perl(Test::More)
16     Requires: perl(B::Hooks::OP::Check) >= 0.19
17     Requires: perl(CPAN::Meta) >= 2.112580
18     Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
19     Autoreq: no
20    
21     %description
22     Perl's multidimensional array emultaion stems from the days before the
23     language had references, but these days it mostly serves to bite you when
24     you typo a hash slice by using the $ sigil instead of @.
25    
26     %prep
27     %setup -q -n multidimensional-%{version}
28    
29     %build
30     %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
31     make %{?_smp_mflags}
32    
33     %install
34     rm -rf %{buildroot}
35    
36     make pure_install PERL_INSTALL_ROOT=%{buildroot}
37    
38     find %{buildroot} -type f -name .packlist -exec rm -f {} \;
39     find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
40     find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
41    
42     %{_fixperms} %{buildroot}/*
43    
44     %check
45     make test
46    
47     %clean
48     rm -rf %{buildroot}
49    
50     %files
51     %defattr(-,root,root,-)
52     %doc Changes dist.ini LICENSE META.json README weaver.ini
53     %{perl_vendorarch}/auto/*
54     %{perl_vendorarch}/multidimensional*
55     %{_mandir}/man3/*
56    
57     %changelog
58     * Sun Dec 11 2011 Gavin Carr <gavin@openfusion.com.au> 0.009-1
59     - Specfile autogenerated by cpanspec 1.79.

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed