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

Annotation of /rpms/perl-Class-ParamParser/sme10/perl-Class-ParamParser.spec

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


Revision 1.1 - (hide annotations) (download)
Thu Mar 17 20:14:32 2016 UTC (8 years, 7 months ago) by vip-ire
Branch: MAIN
CVS Tags: perl-Class-ParamParser-1_041-1_el7_sme, HEAD
Import perl-ClassParamParser in sme10 branch

1 vip-ire 1.1 Name: perl-Class-ParamParser
2     Version: 1.041
3     Release: 1%{?dist}
4     Summary: Provides complex parameter list parsing
5     License: Artistic
6     Group: Development/Libraries
7     URL: http://search.cpan.org/dist/Class-ParamParser/
8     Source0: http://www.cpan.org/authors/id/D/DU/DUNCAND/Class-ParamParser-%{version}.tar.gz
9     BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
10     BuildArch: noarch
11     BuildRequires: perl(ExtUtils::MakeMaker)
12     Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
13    
14     %description
15     This Perl 5 object class implements two methods which inherited classes can
16     use to tidy up parameter lists for their own methods and functions. The two
17     methods differ in that one returns a HASH ref containing named parameters
18     and the other returns an ARRAY ref containing positional parameters.
19    
20     %prep
21     %setup -q -n Class-ParamParser-%{version}
22    
23     %build
24     %{__perl} Makefile.PL INSTALLDIRS=vendor
25     make %{?_smp_mflags}
26    
27     %install
28     rm -rf $RPM_BUILD_ROOT
29    
30     make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
31    
32     find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
33     find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
34    
35     %{_fixperms} $RPM_BUILD_ROOT/*
36    
37     %check
38     make test
39    
40     %clean
41     rm -rf $RPM_BUILD_ROOT
42    
43     %files
44     %defattr(-,root,root,-)
45     %doc ChangeLog ReadMe
46     %{perl_vendorlib}/*
47     %{_mandir}/man3/*
48    
49     %changelog
50     * Thu Mar 17 2016 Daniel Berteaud <daniel@firewall-services.com> 1.041-1
51     - First build using cpanspec [SME: 9324]

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