]> git.pld-linux.org Git - packages/perl-Geography-Countries.git/blame - perl-Geography-Countries.spec
use generic url
[packages/perl-Geography-Countries.git] / perl-Geography-Countries.spec
CommitLineData
c1f717ae 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
9875acdf 4
c1f717ae 5%define pdir Geography
6%define pnam Countries
9875acdf 7%include /usr/lib/rpm/macros.perl
c1f717ae 8Summary: Geography::Countries - 2-letter, 3-letter, and numerical codes for countries
8787d6d4 9Summary(pl.UTF-8): Geography::Countries - 2-, 3-literowe i numeryczne kody krajów
c1f717ae 10Name: perl-Geography-Countries
2c8a3e53 11Version: 2009041301
12Release: 1
c1f717ae 13License: Unknown
14Group: Development/Languages/Perl
15Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
2c8a3e53 16# Source0-md5: 2c9ef26b46bbeca9abbca5015cc748b9
9875acdf 17URL: http://search.cpan.org/dist/Geography-Countries/
c1f717ae 18BuildRequires: perl-devel >= 1:5.8.0
19BuildRequires: rpm-perlprov >= 4.1-13
c1f717ae 20BuildArch: noarch
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24This module maps country names, and their 2-letter, 3-letter and
9875acdf
ER
25numerical codes, as defined by the ISO-3166 maintenance agency, and
26defined by the UNSD.
c1f717ae 27
0ff1a9b5
JR
28%description -l pl.UTF-8
29Ten moduł odwzorowuje nazwy krajów oraz ich 2-, 3-literowe i liczbowe
30kody zgodnie z definicją ISO-3166.
c1f717ae 31
32%prep
33%setup -q -n %{pdir}-%{pnam}-%{version}
34
35%build
36%{__perl} Makefile.PL \
37 INSTALLDIRS=vendor
38%{__make}
39
40%{?with_tests:%{__make} test}
41
42%install
43rm -rf $RPM_BUILD_ROOT
44
45%{__make} install \
46 DESTDIR=$RPM_BUILD_ROOT
47
48%clean
49rm -rf $RPM_BUILD_ROOT
50
51%files
52%defattr(644,root,root,755)
47cb7cf2 53%dir %{perl_vendorlib}/Geography
c1f717ae 54%{perl_vendorlib}/Geography/*.pm
55%{_mandir}/man3/*
This page took 0.080261 seconds and 4 git commands to generate.