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

Annotation of /rpms/perl-Sub-Quote/sme10/perl-Sub-Quote.spec

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


Revision 1.1 - (hide annotations) (download)
Fri Dec 21 04:51:51 2018 UTC (5 years, 5 months ago) by jpp
Branch: MAIN
CVS Tags: perl-Sub-Quote-2_005000-1_of_el7, perl-Sub-Quote-2_005000-1_el7_sme, HEAD
import

1 jpp 1.1 Name: perl-Sub-Quote
2     Version: 2.005000
3     Release: 1%{?org_tag}%{?dist}
4     Summary: Efficient generation of subroutines via string eval
5     License: GPL+ or Artistic
6     Group: Development/Libraries
7     URL: http://search.cpan.org/dist/Sub-Quote/
8     Source0: http://localhost/cpan/authors/id/H/HA/HAARG/Sub-Quote-%{version}.tar.gz
9     BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
10     BuildArch: noarch
11     BuildRequires: perl >= 0:5.006
12     BuildRequires: perl(ExtUtils::MakeMaker)
13     BuildRequires: perl(Scalar::Util)
14     BuildRequires: perl(Sub::Name) >= 0.08
15     BuildRequires: perl(Test::Fatal) >= 0.003
16     BuildRequires: perl(Test::More) >= 0.94
17     Requires: perl(Scalar::Util)
18     Requires: perl(Sub::Name) >= 0.08
19     Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
20     Autoreq: no
21    
22     %description
23     This package provides performant ways to generate subroutines from strings.
24    
25     %prep
26     %setup -q -n Sub-Quote-%{version}
27    
28     %build
29     %{__perl} Makefile.PL INSTALLDIRS=vendor
30     make %{?_smp_mflags}
31    
32     %install
33     rm -rf %{buildroot}
34    
35     make pure_install PERL_INSTALL_ROOT=%{buildroot}
36    
37     find %{buildroot} -type f -name .packlist -exec rm -f {} \;
38     find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
39    
40     %{_fixperms} %{buildroot}/*
41    
42     %check
43     make test
44    
45     %clean
46     rm -rf %{buildroot}
47    
48     %files
49     %defattr(-,root,root,-)
50     %doc Changes META.json README
51     %{perl_vendorlib}/*
52     %{_mandir}/man3/*
53    
54     %changelog
55     * Wed Apr 04 2018 Gavin Carr <gavin@openfusion.com.au> 2.005000-1
56     - Specfile autogenerated by cpanspec 1.79.

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