SPECS: openoffice.org.spec - less noisy languages installation
glen
glen at pld-linux.org
Sat Feb 24 17:48:00 CET 2007
Author: glen Date: Sat Feb 24 16:48:00 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- less noisy languages installation
---- Files affected:
SPECS:
openoffice.org.spec (1.699 -> 1.700)
---- Diffs:
================================================================
Index: SPECS/openoffice.org.spec
diff -u SPECS/openoffice.org.spec:1.699 SPECS/openoffice.org.spec:1.700
--- SPECS/openoffice.org.spec:1.699 Sat Feb 24 12:46:57 2007
+++ SPECS/openoffice.org.spec Sat Feb 24 17:47:55 2007
@@ -2312,10 +2312,8 @@
$RPM_BUILD_ROOT%{_libdir}/%{name}/program/libstdc++*so*
# Find out locales
-rm -f *.lang*
-langlist="`ls build/lang_*_list.txt|sed -e 's=build/lang_\(.*\)_list.txt=\1=g'`"
-
-for lang in $langlist; do
+find_lang() {
+ local lang="$1"
echo "%%defattr(644,root,root,755)" > ${lang}.lang
# help files
@@ -2373,6 +2371,13 @@
grep "/help/${lang}/" ${lfile} >> ${lang}.lang || :
%endif
fi
+}
+
+rm -f *.lang*
+langlist="`ls build/lang_*_list.txt|sed -e 's=build/lang_\(.*\)_list.txt=\1=g'`"
+
+for lang in $langlist; do
+ find_lang $lang
done
chmod +x $RPM_BUILD_ROOT%{_libdir}/%{name}/program/*.so
@@ -3763,6 +3768,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.700 2007/02/24 16:47:55 glen
+- less noisy languages installation
+
Revision 1.699 2007/02/24 11:46:57 glen
- build with xulrunner
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/openoffice.org.spec?r1=1.699&r2=1.700&f=u
More information about the pld-cvs-commit
mailing list