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