/[smeserver]/rpms/perl-Geography-Countries/sme9/perl-Geography-Countries.spec
ViewVC logotype

Annotation of /rpms/perl-Geography-Countries/sme9/perl-Geography-Countries.spec

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


Revision 1.1 - (hide annotations) (download)
Tue Jun 19 22:37:19 2018 UTC (5 years, 11 months ago) by jpp
Branch: MAIN
CVS Tags: perl-Geography-Countries-2009041301-1_el6_sme, HEAD
Initial import perl-Geography-Countries for sme9

1 jpp 1.1 Name: perl-Geography-Countries
2     Version: 2009041301
3     Release: 1%{?dist}
4     Summary: 2-letter, 3-letter, and numerical codes for countries
5     License: MIT
6     Group: Development/Libraries
7     URL: http://search.cpan.org/dist/Geography-Countries/
8     Source0: http://www.cpan.org/authors/id/A/AB/ABIGAIL/Geography-Countries-%{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     Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
14    
15     %description
16     This module maps country names, and their 2-letter, 3-letter and
17     numerical codes, as defined by the ISO-3166 maintenance agency [1], and
18     defined by the UNSD.
19    
20     %prep
21     %setup -q -n Geography-Countries-%{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 Changes README TODO
46     %{perl_vendorlib}/*
47     %{_mandir}/man3/*
48    
49     %changelog
50     * Thu Mar 17 2016 Daniel Berteaud <daniel@firewall-services.com> 2009041301-1
51     - First build using cpanspec [SME: 9328]

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