]> git.pld-linux.org Git - packages/perl-Locale-Codes.git/blob - perl-Locale-Codes.spec
use generic url
[packages/perl-Locale-Codes.git] / perl-Locale-Codes.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4
5 %define         pdir    Locale
6 %define         pnam    Codes
7 %include        /usr/lib/rpm/macros.perl
8 Summary:        Locale::Codes Perl module
9 Summary(cs.UTF-8):      Modul Locale::Codes pro Perl
10 Summary(da.UTF-8):      Perlmodul Locale::Codes
11 Summary(de.UTF-8):      Locale::Codes Perl Modul
12 Summary(es.UTF-8):      Módulo de Perl Locale::Codes
13 Summary(fr.UTF-8):      Module Perl Locale::Codes
14 Summary(it.UTF-8):      Modulo di Perl Locale::Codes
15 Summary(ja.UTF-8):      Locale::Codes Perl モジュール
16 Summary(ko.UTF-8):      Locale::Codes 펄 모줄
17 Summary(nb.UTF-8):      Perlmodul Locale::Codes
18 Summary(pl.UTF-8):      Moduł Perla Locale::Codes
19 Summary(pt.UTF-8):      Módulo de Perl Locale::Codes
20 Summary(pt_BR.UTF-8):   Módulo Perl Locale::Codes
21 Summary(ru.UTF-8):      Модуль для Perl Locale::Codes
22 Summary(sv.UTF-8):      Locale::Codes Perlmodul
23 Summary(uk.UTF-8):      Модуль для Perl Locale::Codes
24 Summary(zh_CN.UTF-8):   Locale::Codes Perl 模块
25 Name:           perl-Locale-Codes
26 Version:        3.24
27 Release:        2
28 # same as perl
29 License:        GPL v1+ or Artistic
30 Group:          Development/Languages/Perl
31 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
32 # Source0-md5:  a49f770d424b634a0c9726a8202984a8
33 URL:            http://search.cpan.org/dist/Locale-Codes/
34 BuildRequires:  perl-devel >= 1:5.8.0
35 BuildRequires:  rpm-perlprov >= 4.1-13
36 BuildArch:      noarch
37 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38
39 %description
40 Locale::Codes contains two modules which can be used to process ISO
41 two letter codes for identifying language and country.
42
43 %description -l pl.UTF-8
44 Locale::Codes zawiera dwa moduły umożliwiające przetwarzanie
45 dwuliterowych kodów ISO identyfikujących język i kraj.
46
47 %prep
48 %setup -q -n %{pdir}-%{pnam}-%{version}
49
50 %build
51 %{__perl} Makefile.PL \
52         INSTALLDIRS=vendor
53 %{__make}
54
55 %{?with_tests:%{__make} test}
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59
60 %{__make} install \
61         DESTDIR=$RPM_BUILD_ROOT
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %files
67 %defattr(644,root,root,755)
68 %doc ChangeLog README
69 %{perl_vendorlib}/Locale/*.pm
70 %dir %{perl_vendorlib}/Locale/Codes
71 %{perl_vendorlib}/Locale/Codes/*.pm
72 %{_mandir}/man3/*
This page took 0.061018 seconds and 3 git commands to generate.