# should perhaps use SOURCE_IGNORE=unversioned instead of MD5[0]="IGNORE"
local i=1 &&
for LANGUAGE in $OOO3_LANG; do
if [[ $i == 1 ]]; then
- echo SOURCE=OOo_\${VERSION}_LinuxIntel_langpack_$LANGUAGE.tar.gz
>> $CFG &&
+ echo
SOURCE=OOo_\${VERSION}_Linux_x86_langpack-rpm_$LANGUAGE.tar.gz >> $CFG &&
echo SOURCE_URL[0]=\$SITE/$LANGUAGE/\${VERSION}/\$SOURCE
>> $CFG
else
- echo
SOURCE$i=OOo_\${VERSION}_LinuxIntel_langpack_$LANGUAGE.tar.gz >> $CFG &&
+ echo
SOURCE$i=OOo_\${VERSION}_Linux_x86_langpack-rpm_$LANGUAGE.tar.gz >> $CFG &&
echo SOURCE${i}_URL[0]=\$SITE/$LANGUAGE/\${VERSION}/\$SOURCE$i
>> $CFG
fi &&
echo MD5[$[$i-1]]="IGNORE" >> $CFG &&
diff --git a/bin-editors/openoffice3-bin-lang/DETAILS
b/bin-editors/openoffice3-bin-lang/DETAILS
index 173e897..8f02108 100755
--- a/bin-editors/openoffice3-bin-lang/DETAILS
+++ b/bin-editors/openoffice3-bin-lang/DETAILS
@@ -1,6 +1,6 @@
# the remaining details of this spell are provided by CONFIGURE
SPELL=openoffice3-bin-lang
- VERSION=3.0.1
+ VERSION=3.2.1
OO_ARCH=i586
SITE=http://mirrors.isc.org/pub/openoffice/localized
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL
diff --git a/bin-editors/openoffice3-bin-lang/HISTORY
b/bin-editors/openoffice3-bin-lang/HISTORY
index f7ace87..6e8c8f5 100644
--- a/bin-editors/openoffice3-bin-lang/HISTORY
+++ b/bin-editors/openoffice3-bin-lang/HISTORY
@@ -1,3 +1,8 @@
+2010-08-15 Bor Kraljič <pyrobor AT ver.si>
+ * DETAILS: updated spell to 3.2.1
+ * PRE_BUILD: changed to use rpm2tar just like openoffice3-bin
+ * CONFIGURE: fixed source and added sl language
+
2009-02-05 Eric Sandall <sandalle AT sourcemage.org>
* DETAILS: Updated to 3.0.1
* CONFIGURE: vi language has not been updated to 3.0.1
diff --git a/bin-editors/openoffice3-bin-lang/PRE_BUILD
b/bin-editors/openoffice3-bin-lang/PRE_BUILD
index 34bcf8b..7c259bc 100755
--- a/bin-editors/openoffice3-bin-lang/PRE_BUILD
+++ b/bin-editors/openoffice3-bin-lang/PRE_BUILD
@@ -17,9 +17,8 @@ for SS in $OOO3_LANG; do
for FILE in *.${OO_ARCH}.rpm
do
FILE="${FILE%.$OO_ARCH.rpm}" &&
- rpmunpack $FILE.${OO_ARCH}.rpm &&
- gzip -d $FILE.cpio.gz &&
- cpio -idm < $FILE.cpio 2> ${INSTALL_ROOT}/dev/null
+ rpm2tar $FILE.${OO_ARCH}.rpm &&
+ tar xvf $FILE.${OO_ARCH}.tar
done &&
cd $SOURCE_DIRECTORY &&
i=$[$i+1]
[SM-Commit] GIT changes to master binary grimoire by Bor Kraljič (2712e7e992990b3cbea2099a6842cff344a56230),
Bor Kraljič, 08/15/2010