浏览代码

add Locale::Maketext::Simple

Ralf S. Engelschall 20 年之前
父节点
当前提交
82f62afa1f
共有 1 个文件被更改,包括 13 次插入3 次删除
  1. 13 3
      perl-locale/perl-locale.spec

+ 13 - 3
perl-locale/perl-locale.spec

@@ -35,6 +35,7 @@
 %define       V_locale_maketext              1.09
 %define       V_locale_maketext_fuzzy        0.02
 %define       V_locale_maketext_lexicon      0.47
+%define       V_locale_maketext_simple       0.12
 %define       V_locale_codes                 2.07
 %define       V_locale_subcountry            1.34
 
@@ -49,7 +50,7 @@ Class:        BASE
 Group:        Language
 License:      GPL/Artistic
 Version:      %{V_perl}
-Release:      20050206
+Release:      20050306
 
 #   list of sources
 Source0:      http://www.cpan.org/modules/by-module/I18N/I18N-LangTags-%{V_i18n_langtags}.tar.gz
@@ -62,8 +63,9 @@ Source6:      http://www.cpan.org/modules/by-module/Locale/Locale-PO-%{V_locale_
 Source7:      http://www.cpan.org/modules/by-module/Locale/Locale-Maketext-%{V_locale_maketext}.tar.gz
 Source8:      http://www.cpan.org/modules/by-module/Locale/Locale-Maketext-Fuzzy-%{V_locale_maketext_fuzzy}.tar.gz
 Source9:      http://www.cpan.org/modules/by-module/Locale/Locale-Maketext-Lexicon-%{V_locale_maketext_lexicon}.tar.gz
-Source10:     http://www.cpan.org/modules/by-module/Locale/Locale-Codes-%{V_locale_codes}.tar.gz
-Source11:     http://www.cpan.org/modules/by-module/Locale/Locale-SubCountry-%{V_locale_subcountry}.tar.gz
+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
 Patch0:       perl-locale.patch
 
 #   build information
@@ -88,6 +90,7 @@ AutoReqProv:  no
     - Locale::Maketext (%{V_locale_maketext})
     - Locale::Maketext::Fuzzy (%{V_locale_maketext_fuzzy})
     - Locale::Maketext::Lexicon (%{V_locale_maketext_lexicon})
+    - Locale::Maketext::Simple (%{V_locale_maketext_simple})
     - Locale::Codes (%{V_locale_codes})
     - Locale::SubCountry (%{V_locale_subcountry})
 
@@ -142,6 +145,11 @@ AutoReqProv:  no
         url       = http://www.cpan.org/modules/by-module/Locale/
         regex     = Locale-Maketext-Lexicon-(__VER__)\.tar\.gz
     }
+    prog perl-locale:Locale-Maketext-Simple = {
+        version   = %{V_locale_maketext_simple}
+        url       = http://www.cpan.org/modules/by-module/Locale/
+        regex     = Locale-Maketext-Simple-(__VER__)\.tar\.gz
+    }
     prog perl-locale:Locale-Codes = {
         version   = %{V_locale_codes}
         url       = http://www.cpan.org/modules/by-module/Locale/
@@ -166,6 +174,7 @@ AutoReqProv:  no
     %setup -q -T -D -a 9
     %setup -q -T -D -a 10
     %setup -q -T -D -a 11
+    %setup -q -T -D -a 12
     %patch -p0
 
 %build
@@ -202,6 +211,7 @@ AutoReqProv:  no
     %{l_prefix}/bin/perl-openpkg -d %{SOURCE9} configure build install
     %{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
     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`