]> git.pld-linux.org Git - packages/perl-Locale-SubCountry.git/blob - perl-Locale-SubCountry.spec
- updated to 1.41
[packages/perl-Locale-SubCountry.git] / perl-Locale-SubCountry.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    Locale
7 %define         pnam    SubCountry
8 Summary:        Locale::SubCountry - convert state, province, county etc. names to/from code
9 Summary(pl.UTF-8):      Locale::SubCountry - zamiana nazw stanu, prowincji, kraju itp. na i z kodu
10 Name:           perl-Locale-SubCountry
11 Version:        1.41
12 Release:        1
13 License:        Artistic
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/Locale/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  44f6b0cc4b1ad5db591e45d1395d2d7f
17 URL:            http://search.cpan.org/dist/Locale-SubCountry/
18 BuildRequires:  perl-devel >= 1:5.8.0
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 This module allows you to convert the full name for a countries
25 administrative region to the code commonly used for postal addressing.
26 The reverse lookup can also be done. Sub country codes are defined in
27 "ISO 3166-2:1998, Codes for the representation of names of countries
28 and their subdivisions".
29
30 %description -l pl.UTF-8
31 Ten moduł pozwala zamieniać pełne nazwy obszarów administracyjnych
32 krajów na kody pocztowe. Możliwa jest także odwrotna zamiana. Kody
33 wewnętrzne krajów są zdefiniowane w "ISO 3166-2:1998, Codes for the
34 representation of names of countries and their subdivisions".
35
36 %prep
37 %setup -q -n %{pdir}-%{pnam}-%{version}
38
39 %build
40 %{__perl} Makefile.PL \
41         INSTALLDIRS=vendor
42
43 %{__make}
44
45 %{?with_tests:%{__make} test}
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49
50 %{__make} install \
51         DESTDIR=$RPM_BUILD_ROOT
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files
57 %defattr(644,root,root,755)
58 %doc Change*
59 %{perl_vendorlib}/Locale/*.pm
60 %{_mandir}/man3/*
This page took 0.074299 seconds and 4 git commands to generate.