OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 21-Sep-2006 16:46:20
Branch: HEAD Handle: 2006092115462000
Modified files:
openpkg-src/perl-locale perl-locale.spec
Log:
add Text::Iconv
Summary:
Revision Changes Path
1.76 +16 -1 openpkg-src/perl-locale/perl-locale.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/perl-locale/perl-locale.spec
============================================================================
$ cvs diff -u -r1.75 -r1.76 perl-locale.spec
--- openpkg-src/perl-locale/perl-locale.spec 9 Sep 2006 07:47:40 -0000
1.75
+++ openpkg-src/perl-locale/perl-locale.spec 21 Sep 2006 14:46:20 -0000
1.76
@@ -38,6 +38,7 @@
%define V_locale_codes 2.07
%define V_locale_subcountry 1.37
%define V_locale_keyedtext 1.73.0
+%define V_text_iconv 1.4
# package information
Name: perl-locale
@@ -50,7 +51,7 @@
Group: Language
License: GPL/Artistic
Version: %{V_perl}
-Release: 20060909
+Release: 20060921
# list of sources
Source0:
http://www.cpan.org/modules/by-module/I18N/I18N-LangTags-%{V_i18n_langtags}.tar.gz
@@ -67,6 +68,7 @@
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/DUNCAND/Locale-KeyedText-v%{V_locale_keyedtext}.tar.gz
+Source14:
http://www.cpan.org/modules/by-module/Text/Text-Iconv-%{V_text_iconv}.tar.gz
Patch0: perl-locale.patch
# build information
@@ -95,6 +97,7 @@
- Locale::Codes (%{V_locale_codes})
- Locale::SubCountry (%{V_locale_subcountry})
- Locale::KeyedText (%{V_locale_keyedtext})
+ - Text::Iconv (%{V_text_iconv})
%track
prog perl-locale:I18N-LangTags = {
@@ -167,6 +170,11 @@
url = http://www.cpan.org/modules/by-module/Locale/DUNCAND/
regex = Locale-KeyedText-v(__VER__)\.tar\.gz
}
+ prog perl-locale:Text-Iconv = {
+ version = %{V_text_iconv}
+ url = http://www.cpan.org/modules/by-module/Text/
+ regex = Text-Iconv-(__VER__)\.tar\.gz
+ }
%prep
%setup -q -c
@@ -183,6 +191,7 @@
%setup -q -T -D -a 11
%setup -q -T -D -a 12
%setup -q -T -D -a 13
+ %setup -q -T -D -a 14
%patch -p0
%build
@@ -221,6 +230,12 @@
%{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
+ ( cd Text-Iconv-%{V_text_iconv}
+ %{l_prefix}/bin/perl-openpkg \
+ -A "INC=%{l_cppflags}" \
+ -A "LIBS=%{l_ldflags}" \
+ configure build install
+ ) || exit $?
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]