OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 09-Oct-2004 14:22:01
Branch: HEAD Handle: 2004100913220100
Modified files:
openpkg-src/perl-locale perl-locale.spec
Log:
more locale and encoding modules
Summary:
Revision Changes Path
1.15 +69 -9 openpkg-src/perl-locale/perl-locale.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/perl-locale/perl-locale.spec
============================================================================
$ cvs diff -u -r1.14 -r1.15 perl-locale.spec
--- openpkg-src/perl-locale/perl-locale.spec 7 Oct 2004 17:40:56 -0000 1.14
+++ openpkg-src/perl-locale/perl-locale.spec 9 Oct 2004 12:22:01 -0000 1.15
@@ -26,11 +26,17 @@
# versions of individual parts
%define V_perl 5.8.5
%define V_i18n_langtags 0.35
+%define V_encode 2.03
+%define V_encode_newlines 0.03
+%define V_encode_registry 0.12
%define V_libintl_perl 1.11
%define V_gettext 1.03
+%define V_locale_po 0.12
%define V_locale_maketext 1.09
%define V_locale_maketext_fuzzy 0.02
%define V_locale_maketext_lexicon 0.44
+%define V_locale_codes 2.07
+%define V_locale_subcountry 1.34
# package information
Name: perl-locale
@@ -43,15 +49,21 @@
Group: Language
License: GPL/Artistic
Version: %{V_perl}
-Release: 20041007
+Release: 20041009
# list of sources
Source0:
http://www.cpan.org/modules/by-module/I18N/I18N-LangTags-%{V_i18n_langtags}.tar.gz
-Source1:
http://www.cpan.org/modules/by-module/Locale/libintl-perl-%{V_libintl_perl}.tar.gz
-Source2:
http://www.cpan.org/modules/by-module/Locale/gettext-%{V_gettext}.tar.gz
-Source3:
http://www.cpan.org/modules/by-module/Locale/Locale-Maketext-%{V_locale_maketext}.tar.gz
-Source4:
http://www.cpan.org/modules/by-module/Locale/Locale-Maketext-Fuzzy-%{V_locale_maketext_fuzzy}.tar.gz
-Source5:
http://www.cpan.org/modules/by-module/Locale/Locale-Maketext-Lexicon-%{V_locale_maketext_lexicon}.tar.gz
+Source1: http://www.cpan.org/modules/by-module/Encode/Encode-%{V_encode}.tar.gz
+Source2:
http://www.cpan.org/modules/by-module/Encode/Encode-Newlines-%{V_encode_newlines}.tar.gz
+Source3:
http://www.cpan.org/modules/by-module/Encode/Encode-Registry-%{V_encode_registry}.tar.gz
+Source4:
http://www.cpan.org/modules/by-module/Locale/libintl-perl-%{V_libintl_perl}.tar.gz
+Source5:
http://www.cpan.org/modules/by-module/Locale/gettext-%{V_gettext}.tar.gz
+Source6:
http://www.cpan.org/modules/by-module/Locale/Locale-PO-%{V_locale_po}.tar.gz
+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
# build information
Prefix: %{l_prefix}
@@ -66,11 +78,17 @@
%description
Various Perl modules for locale handling:
- I18N::LangTags (%{V_i18n_langtags})
+ - Encode (%{V_encode})
+ - Encode::Newlines (%{V_encode_newlines})
+ - Encode::Registry (%{V_encode_registry})
- libintl-perl (%{V_libintl_perl})
- Locale::gettext (%{V_gettext})
+ - Locale::PO (%{V_locale_po})
- Locale::Maketext (%{V_locale_maketext})
- Locale::Maketext::Fuzzy (%{V_locale_maketext_fuzzy})
- Locale::Maketext::Lexicon (%{V_locale_maketext_lexicon})
+ - Locale::Codes (%{V_locale_codes})
+ - Locale::SubCountry (%{V_locale_subcountry})
%track
prog perl-locale:I18N-LangTags = {
@@ -78,6 +96,21 @@
url = http://www.cpan.org/modules/by-module/I18N/
regex = I18N-LangTags-(__VER__)\.tar\.gz
}
+ prog perl-locale:Encode = {
+ version = %{V_encode}
+ url = http://www.cpan.org/modules/by-module/Encode/
+ regex = Encode-(__VER__)\.tar\.gz
+ }
+ prog perl-locale:Encode-Newlines = {
+ version = %{V_encode_newlines}
+ url = http://www.cpan.org/modules/by-module/Encode/
+ regex = Encode-Newlines-(__VER__)\.tar\.gz
+ }
+ prog perl-locale:Encode-Registry = {
+ version = %{V_encode_registry}
+ url = http://www.cpan.org/modules/by-module/Encode/
+ regex = Encode-Registry-(__VER__)\.tar\.gz
+ }
prog perl-locale:libintl-perl = {
version = %{V_libintl_perl}
url = http://www.cpan.org/modules/by-module/Locale/
@@ -88,6 +121,11 @@
url = http://www.cpan.org/modules/by-module/Locale/
regex = gettext-(__VER__)\.tar\.gz
}
+ prog perl-locale:Locale-PO = {
+ version = %{V_locale_po}
+ url = http://www.cpan.org/modules/by-module/Locale/
+ regex = Locale-PO-(__VER__)\.tar\.gz
+ }
prog perl-locale:Locale-Maketext = {
version = %{V_locale_maketext}
url = http://www.cpan.org/modules/by-module/Locale/
@@ -103,6 +141,16 @@
url = http://www.cpan.org/modules/by-module/Locale/
regex = Locale-Maketext-Lexicon-(__VER__)\.tar\.gz
}
+ prog perl-locale:Locale-Codes = {
+ version = %{V_locale_codes}
+ url = http://www.cpan.org/modules/by-module/Locale/
+ regex = Locale-Codes-(__VER__)\.tar\.gz
+ }
+ prog perl-locale:Locale-SubCountry = {
+ version = %{V_locale_subcountry}
+ url = http://www.cpan.org/modules/by-module/Locale/
+ regex = Locale-SubCountry-(__VER__)\.tar\.gz
+ }
%prep
%setup -q -c
@@ -111,6 +159,12 @@
%setup -q -T -D -a 3
%setup -q -T -D -a 4
%setup -q -T -D -a 5
+ %setup -q -T -D -a 6
+ %setup -q -T -D -a 7
+ %setup -q -T -D -a 8
+ %setup -q -T -D -a 9
+ %setup -q -T -D -a 10
+ %setup -q -T -D -a 11
%build
@@ -118,6 +172,9 @@
rm -rf $RPM_BUILD_ROOT
%{l_prefix}/bin/perl-openpkg prepare
%{l_prefix}/bin/perl-openpkg -d %{SOURCE0} configure build install
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE1} configure build install
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE2} configure build install
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE3} configure build install
( cd libintl-perl-%{V_libintl_perl}
%{l_shtool} subst \
-e 's;\($Config{ccflags}\);\1 . "%{l_cflags} %{l_cppflags}";' \
@@ -136,9 +193,12 @@
Makefile.PL
%{l_prefix}/bin/perl-openpkg configure build install
) || exit $?
- %{l_prefix}/bin/perl-openpkg -d %{SOURCE3} configure build install
- %{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 -d %{SOURCE8} configure build install
+ %{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
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`
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]