summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Bogusz2020-05-05 19:47:44 (GMT)
committerJakub Bogusz2020-05-05 19:47:44 (GMT)
commit550ac0ad9162c68f178460076bff7b350cfcd5e0 (patch)
tree02be9686a42e0ab1e10ceac3a2902c3af3f7d420
parentd6fbb5e46a21ea62dd5de54598ae93e83f074ea3 (diff)
downloadperl-Locale-Codes-auto/th/perl-Locale-Codes-3.63-1.zip
perl-Locale-Codes-auto/th/perl-Locale-Codes-3.63-1.tar.gz
- updated description
-rw-r--r--perl-Locale-Codes.spec57
1 files changed, 28 insertions, 29 deletions
diff --git a/perl-Locale-Codes.spec b/perl-Locale-Codes.spec
index cb6912f..f35f35a 100644
--- a/perl-Locale-Codes.spec
+++ b/perl-Locale-Codes.spec
@@ -4,50 +4,38 @@
%define pdir Locale
%define pnam Codes
-Summary: Locale::Codes Perl module
-Summary(cs.UTF-8): Modul Locale::Codes pro Perl
-Summary(da.UTF-8): Perlmodul Locale::Codes
-Summary(de.UTF-8): Locale::Codes Perl Modul
-Summary(es.UTF-8): Módulo de Perl Locale::Codes
-Summary(fr.UTF-8): Module Perl Locale::Codes
-Summary(it.UTF-8): Modulo di Perl Locale::Codes
-Summary(ja.UTF-8): Locale::Codes Perl モジュール
-Summary(ko.UTF-8): Locale::Codes 펄 모줄
-Summary(nb.UTF-8): Perlmodul Locale::Codes
-Summary(pl.UTF-8): Moduł Perla Locale::Codes
-Summary(pt.UTF-8): Módulo de Perl Locale::Codes
-Summary(pt_BR.UTF-8): Módulo Perl Locale::Codes
-Summary(ru.UTF-8): Модуль для Perl Locale::Codes
-Summary(sv.UTF-8): Locale::Codes Perlmodul
-Summary(uk.UTF-8): Модуль для Perl Locale::Codes
-Summary(zh_CN.UTF-8): Locale::Codes Perl 模块
+Summary: Locale::Codes - a distribution of modules to handle locale codes
+Summary(pl.UTF-8): Locale::Codes - zbiór modułów do obsługi kodów lokalizacji
Name: perl-Locale-Codes
-Version: 3.62
+Version: 3.63
Release: 1
# same as perl
License: GPL v1+ or Artistic
Group: Development/Languages/Perl
-Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5: d4ee6fb8b5483c54abde1aa2b94e555a
-URL: http://search.cpan.org/dist/Locale-Codes/
+Source0: http://www.cpan.org/modules/by-module/Locale/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 5c8e19b1157c28877de3bab6b99ee06b
+URL: https://metacpan.org/release/Locale-Codes
+BuildRequires: perl-ExtUtils-MakeMaker >= 6.30
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
+BuildRequires: rpmbuild(macros) >= 1.745
%if %{with tests}
BuildRequires: perl-File-Find-Rule
-BuildRequires: perl-Test-Inter
+BuildRequires: perl-Test-Inter >= 1.09
BuildRequires: perl-Test-Pod
BuildRequires: perl-Test-Pod-Coverage
+BuildRequires: perl-Test-Simple
%endif
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-Locale::Codes contains two modules which can be used to process ISO
-two letter codes for identifying language and country.
+Locale::Codes contains five modules which can be used to process ISO
+codes for identifying country, currency, language and script.
%description -l pl.UTF-8
-Locale::Codes zawiera dwa moduły umożliwiające przetwarzanie
-dwuliterowych kodów ISO identyfikujących język i kraj.
+Locale::Codes zawiera pięć modułów umożliwiających przetwarzanie
+kodów ISO identyfikujących kraj, walutę, język i pismo.
%prep
%setup -q -n %{pdir}-%{pnam}-%{version}
@@ -65,13 +53,24 @@ rm -rf $RPM_BUILD_ROOT
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
+%{__rm} $RPM_BUILD_ROOT%{perl_vendorlib}/Locale/*.pod
+%{__rm} $RPM_BUILD_ROOT%{perl_vendorlib}/Locale/Codes/*.pod
+
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc Changes README
-%{perl_vendorlib}/Locale/*.pm
+%doc Changes LICENSE README.first
+%{perl_vendorlib}/Locale/Codes.pm
%dir %{perl_vendorlib}/Locale/Codes
%{perl_vendorlib}/Locale/Codes/*.pm
-%{_mandir}/man3/*
+%{perl_vendorlib}/Locale/Country.pm
+%{perl_vendorlib}/Locale/Currency.pm
+%{perl_vendorlib}/Locale/Language.pm
+%{perl_vendorlib}/Locale/Script.pm
+%{_mandir}/man3/Locale::Codes*.3pm*
+%{_mandir}/man3/Locale::Country.3pm*
+%{_mandir}/man3/Locale::Currency.3pm*
+%{_mandir}/man3/Locale::Language.3pm*
+%{_mandir}/man3/Locale::Script.3pm*