Hello community, here is the log from the commit of package OpenOffice_org-LanguageTool for openSUSE:Factory checked in at Tue Apr 14 17:27:56 CEST 2009. -------- --- OpenOffice_org-LanguageTool/OpenOffice_org-LanguageTool.changes 2009-03-18 17:47:22.000000000 +0100 +++ /mounts/work_src_done/STABLE/OpenOffice_org-LanguageTool/OpenOffice_org-LanguageTool.changes 2009-04-10 15:50:29.000000000 +0200 @@ -1,0 +2,8 @@ +Fri Apr 10 15:19:21 CEST 2009 - pmladek@suse.cz + +- improved the scriptlets to force new versions and remove cache of the older + versions +- added missing Jaminid and jdic sources and README-libs.txt to fulfil LGPL + (bnc#487807) + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- Jaminid-0.99.tar.bz2 jdic-20061102-src.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ OpenOffice_org-LanguageTool.spec ++++++ --- /var/tmp/diff_new_pack.u20220/_old 2009-04-14 17:27:32.000000000 +0200 +++ /var/tmp/diff_new_pack.u20220/_new 2009-04-14 17:27:32.000000000 +0200 @@ -20,7 +20,7 @@ Name: OpenOffice_org-LanguageTool Version: 0.9.7 -Release: 1 +Release: 2 BuildRequires: OpenOffice_org-ure ant java-devel #!BuildIgnore: OpenOffice_org %define ooo_prefix %_libdir @@ -41,6 +41,14 @@ # rm src/resource/cs/{*.dict,*.info} because of unclear licese; also it is not longer supported (only a bachelor's thesis) # the missing src/resource/en/english_synth.dict taken from the prebuilt LanguageTool-0.9.3.oxt (was not tagged in cvs or so) Source0: JLanguageTool-%version.tar.bz2 +# the Jaminid and jdic sources are unused during build but they should be in +# the package sources according to LGPL (bnc#487807) +# URL: http://jaminid.sourceforge.net/ +# Version 0.99 is mentioned in libs/README +Source1: Jaminid-0.99.tar.bz2 +# URL: http://jdic.dev.java.net/ +# Version 20061102 is mentioned in the cvs log +Source2: jdic-20061102-src.tar.bz2 # helper script and data file to create pieces of the spec file Source100: ooo-LanguageTool-data Source101: ooo-LanguageTool-gen-spec @@ -216,10 +224,13 @@ %prep -%setup -q -n JLanguageTool-%version +%setup -q -a1 -n JLanguageTool-%version %patch0 %patch1 %patch2 +mkdir jdic +tar -xjf %{S:2} -C jdic +cp libs/README libs/README-libs.txt %build ant -Dsys.ooo.dir=%{_libdir}/%ooo_home dist @@ -253,19 +264,23 @@ #rm -rf $RPM_BUILD_ROOT %pre -if test $1 = 2 ; then +if test $1 -gt 1 ; then echo "Unregistering the older LangTool extension from OpenOffice.org..." unopkg remove --shared org.openoffice.languagetool.oxt || true; + # clear disk cache + unopkg list --shared > /dev/null 2>&1 || true fi %post echo "Registering the LangTool extension in OpenOffice.org..." -unopkg add --shared %_datadir/%ooo_home/share/extension/install/LanguageTool-%version.oxt || true; +unopkg add --shared --force %_datadir/%ooo_home/share/extension/install/LanguageTool-%version.oxt || true; %preun if test $1 = 0 ; then echo "Unregistering the LangTool extension from OpenOffice.org..." unopkg remove --shared org.openoffice.languagetool.oxt || true; + # clear disk cache + unopkg list --shared > /dev/null 2>&1 || : fi %files @@ -394,6 +409,11 @@ ###################################################### %changelog +* Fri Apr 10 2009 pmladek@suse.cz +- improved the scriptlets to force new versions and remove cache of the older + versions +- added missing Jaminid and jdic sources and README-libs.txt to fulfil LGPL + (bnc#487807) * Wed Mar 18 2009 pmladek@suse.cz - updated to version 0.9.7: * add Czech dictionary ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org