|
|
@@ -37,6 +37,7 @@
|
|
|
%define V_locale_maketext_simple 0.12
|
|
|
%define V_locale_codes 2.07
|
|
|
%define V_locale_subcountry 1.34
|
|
|
+%define V_locale_keyedtext 1.03
|
|
|
|
|
|
# package information
|
|
|
Name: perl-locale
|
|
|
@@ -49,7 +50,7 @@ Class: BASE
|
|
|
Group: Language
|
|
|
License: GPL/Artistic
|
|
|
Version: %{V_perl}
|
|
|
-Release: 20050415
|
|
|
+Release: 20050430
|
|
|
|
|
|
# list of sources
|
|
|
Source0: http://www.cpan.org/modules/by-module/I18N/I18N-LangTags-%{V_i18n_langtags}.tar.gz
|
|
|
@@ -65,6 +66,7 @@ Source9: http://www.cpan.org/modules/by-module/Locale/Locale-Maketext-Lexic
|
|
|
Source10: http://www.cpan.org/modules/by-module/Locale/Locale-Maketext-Simple-%{V_locale_maketext_simple}.tar.gz
|
|
|
Source11: http://www.cpan.org/modules/by-module/Locale/Locale-Codes-%{V_locale_codes}.tar.gz
|
|
|
Source12: http://www.cpan.org/modules/by-module/Locale/Locale-SubCountry-%{V_locale_subcountry}.tar.gz
|
|
|
+Source13: http://www.cpan.org/modules/by-module/Locale/Locale-KeyedText-%{V_locale_keyedtext}.tar.gz
|
|
|
Patch0: perl-locale.patch
|
|
|
|
|
|
# build information
|
|
|
@@ -92,6 +94,7 @@ AutoReqProv: no
|
|
|
- Locale::Maketext::Simple (%{V_locale_maketext_simple})
|
|
|
- Locale::Codes (%{V_locale_codes})
|
|
|
- Locale::SubCountry (%{V_locale_subcountry})
|
|
|
+ - Locale::KeyedText (%{V_locale_keyedtext})
|
|
|
|
|
|
%track
|
|
|
prog perl-locale:I18N-LangTags = {
|
|
|
@@ -159,6 +162,11 @@ AutoReqProv: no
|
|
|
url = http://www.cpan.org/modules/by-module/Locale/
|
|
|
regex = Locale-SubCountry-(__VER__)\.tar\.gz
|
|
|
}
|
|
|
+ prog perl-locale:Locale-KeyedText = {
|
|
|
+ version = %{V_locale_keyedtext}
|
|
|
+ url = http://www.cpan.org/modules/by-module/Locale/
|
|
|
+ regex = Locale-KeyedText-(__VER__)\.tar\.gz
|
|
|
+ }
|
|
|
|
|
|
%prep
|
|
|
%setup -q -c
|
|
|
@@ -174,6 +182,7 @@ AutoReqProv: no
|
|
|
%setup -q -T -D -a 10
|
|
|
%setup -q -T -D -a 11
|
|
|
%setup -q -T -D -a 12
|
|
|
+ %setup -q -T -D -a 13
|
|
|
%patch -p0
|
|
|
|
|
|
%build
|
|
|
@@ -211,6 +220,7 @@ AutoReqProv: no
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE10} configure build install
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE11} configure build install
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE12} configure build install
|
|
|
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE13} configure build install
|
|
|
rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/xgettext.pl
|
|
|
%{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup
|
|
|
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} `cat perl-openpkg-files`
|