summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBor Kraljič2010-08-15 08:53:50 +0200
committerBor Kraljič2010-08-15 08:56:29 +0200
commit2712e7e992990b3cbea2099a6842cff344a56230 (patch)
treeaccdb41b9b5e8e6c377c36aa26b7c48f5dbca89f
parentd8564fc55f1c88e3d0f48164159238fd7a6da1fc (diff)
openofffice3-bin-lang: => 3.2.1, updated to use rpm2tar, fixed source
-rwxr-xr-xbin-editors/openoffice3-bin-lang/CONFIGURE6
-rwxr-xr-xbin-editors/openoffice3-bin-lang/DETAILS2
-rw-r--r--bin-editors/openoffice3-bin-lang/HISTORY5
-rwxr-xr-xbin-editors/openoffice3-bin-lang/PRE_BUILD5
4 files changed, 11 insertions, 7 deletions
diff --git a/bin-editors/openoffice3-bin-lang/CONFIGURE b/bin-editors/openoffice3-bin-lang/CONFIGURE
index 26fcb49..b656b6b 100755
--- a/bin-editors/openoffice3-bin-lang/CONFIGURE
+++ b/bin-editors/openoffice3-bin-lang/CONFIGURE
@@ -10,16 +10,16 @@ get_ooo3languages() {
list_remove OOO3_LANG vi || true &&
config_query_multi OOO3_LANG "please specify the desired languages" \
-fr nl &&
+fr nl sl &&
# 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@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@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]