3 %bcond_without tests # do not perform "make test"
7 Summary: Geography::Countries - 2-letter, 3-letter, and numerical codes for countries
8 Summary(pl.UTF-8): Geography::Countries - 2-, 3-literowe i numeryczne kody krajów
9 Name: perl-Geography-Countries
13 Group: Development/Languages/Perl
14 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5: 2c9ef26b46bbeca9abbca5015cc748b9
16 URL: http://search.cpan.org/dist/Geography-Countries/
17 BuildRequires: perl-devel >= 1:5.8.0
18 BuildRequires: rpm-perlprov >= 4.1-13
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 This module maps country names, and their 2-letter, 3-letter and
24 numerical codes, as defined by the ISO-3166 maintenance agency, and
27 %description -l pl.UTF-8
28 Ten moduł odwzorowuje nazwy krajów oraz ich 2-, 3-literowe i liczbowe
29 kody zgodnie z definicją ISO-3166.
32 %setup -q -n %{pdir}-%{pnam}-%{version}
35 %{__perl} Makefile.PL \
39 %{?with_tests:%{__make} test}
42 rm -rf $RPM_BUILD_ROOT
45 DESTDIR=$RPM_BUILD_ROOT
48 rm -rf $RPM_BUILD_ROOT
51 %defattr(644,root,root,755)
52 %dir %{perl_vendorlib}/Geography
53 %{perl_vendorlib}/Geography/*.pm