|
|
@@ -32,6 +32,7 @@
|
|
|
%define V_text_quoted 1.5
|
|
|
%define V_text_quoted 1.5
|
|
|
%define V_text_shellwords 1.06
|
|
|
+%define V_i18n_langtags 0.30
|
|
|
%define V_locale_maketext 1.09
|
|
|
|
|
|
# package information
|
|
|
@@ -45,7 +46,7 @@ Class: BASE
|
|
|
Group: Language
|
|
|
License: GPL/Artistic
|
|
|
Version: %{V_perl}
|
|
|
-Release: 20040331
|
|
|
+Release: 20040415
|
|
|
|
|
|
# list of sources
|
|
|
Source0: http://www.cpan.org/modules/by-module/Text/Text-Template-%{V_text_template}.tar.gz
|
|
|
@@ -54,7 +55,8 @@ Source2: http://www.cpan.org/modules/by-module/Text/Text-Reform-%{V_text_re
|
|
|
Source3: http://www.cpan.org/modules/by-module/Text/Text-Autoformat-%{V_text_autoformat}.tar.gz
|
|
|
Source4: http://www.cpan.org/modules/by-module/Text/Text-Quoted-%{V_text_quoted}.tar.gz
|
|
|
Source5: http://www.cpan.org/modules/by-module/Text/Text-Shellwords-%{V_text_shellwords}.tar.gz
|
|
|
-Source6: http://www.cpan.org/modules/by-module/Locale/Locale-Maketext-%{V_locale_maketext}.tar.gz
|
|
|
+Source6: http://www.cpan.org/modules/by-module/I18N/I18N-LangTags-%{V_i18n_langtags}.tar.gz
|
|
|
+Source7: http://www.cpan.org/modules/by-module/Locale/Locale-Maketext-%{V_locale_maketext}.tar.gz
|
|
|
|
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
|
@@ -72,14 +74,10 @@ AutoReqProv: no
|
|
|
- Text::Autoformat (%{V_text_autoformat})
|
|
|
- Text::Quoted (%{V_text_quoted})
|
|
|
- Text::Shellwords (%{V_text_shellwords})
|
|
|
+ - I18N::LangTags (%{V_i18n_langtags})
|
|
|
- Locale::Maketext (%{V_locale_maketext})
|
|
|
|
|
|
%track
|
|
|
- prog perl-text:Locale-Maketext = {
|
|
|
- version = %{V_locale_maketext}
|
|
|
- url = http://www.cpan.org/modules/by-module/Locale/
|
|
|
- regex = Locale-Maketext-(__VER__)\.tar\.gz
|
|
|
- }
|
|
|
prog perl-text:Text-Autoformat = {
|
|
|
version = %{V_text_autoformat}
|
|
|
url = http://www.cpan.org/modules/by-module/Text/
|
|
|
@@ -110,6 +108,16 @@ AutoReqProv: no
|
|
|
url = http://www.cpan.org/modules/by-module/Text/
|
|
|
regex = Text-Shellwords-(__VER__)\.tar\.gz
|
|
|
}
|
|
|
+ prog perl-text:I18N-LangTags = {
|
|
|
+ version = %{V_i18n_langtags}
|
|
|
+ url = http://www.cpan.org/modules/by-module/I18N/
|
|
|
+ regex = I18N-LangTags-(__VER__)\.tar\.gz
|
|
|
+ }
|
|
|
+ prog perl-text:Locale-Maketext = {
|
|
|
+ version = %{V_locale_maketext}
|
|
|
+ url = http://www.cpan.org/modules/by-module/Locale/
|
|
|
+ regex = Locale-Maketext-(__VER__)\.tar\.gz
|
|
|
+ }
|
|
|
|
|
|
%prep
|
|
|
%setup -q -c
|
|
|
@@ -119,6 +127,7 @@ AutoReqProv: no
|
|
|
%setup -q -T -D -a 4
|
|
|
%setup -q -T -D -a 5
|
|
|
%setup -q -T -D -a 6
|
|
|
+ %setup -q -T -D -a 7
|
|
|
|
|
|
%build
|
|
|
|
|
|
@@ -131,6 +140,7 @@ AutoReqProv: no
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE4} configure build install
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE5} configure build install
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE6} configure build install
|
|
|
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE7} configure build install
|
|
|
%{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`
|
|
|
|