From 4f925199712d723d18baaca5bc04dbe0c8ea5ce72d973606396bc619a1845e2e Mon Sep 17 00:00:00 2001 From: Ruediger Oertel Date: Sun, 6 Feb 2011 17:29:48 +0000 Subject: [PATCH] Accepting request 60091 from LibreOffice:Unstable Accepted submit request 60091 from user pmladek OBS-URL: https://build.opensuse.org/request/show/60091 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libreoffice-voikko?expand=0&rev=1 --- .gitattributes | 23 +++++++++++ .gitignore | 1 + libreoffice-voikko.changes | 40 +++++++++++++++++++ libreoffice-voikko.spec | 60 +++++++++++++++++++++++++++++ openoffice.org-voikko-3.1.2.tar.bz2 | 3 ++ 5 files changed, 127 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 libreoffice-voikko.changes create mode 100644 libreoffice-voikko.spec create mode 100644 openoffice.org-voikko-3.1.2.tar.bz2 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/libreoffice-voikko.changes b/libreoffice-voikko.changes new file mode 100644 index 0000000..27f04db --- /dev/null +++ b/libreoffice-voikko.changes @@ -0,0 +1,40 @@ +------------------------------------------------------------------- +Thu Feb 3 20:46:50 CET 2011 - pmladek@suse.cz + +- updated to version 3.1.2: + * fix broken config.xcu to work with stricter validation in OOo/LO 3.3 + * add license attribute that allows suppressing the license dialog with + unopkg --suppress-license + * error handling for damaged configuration (sf#2919454) + * change order of linker flags on Linux to enable building with + -Wl,--as-needed + * icon update; add SVG version +- renamed from OpenOffice_org-voikko to libreoffice-voikko +- added provides locale(libreoffice:fi) to make it installed + with libreoffice (bnc#668145) +- installed files into %%ooo_prefix/%%ooo_home/share/extensions/voikko + where the extensions are automatically registered +- removed obsolete postinstall scripts + +------------------------------------------------------------------- +Mon Aug 3 18:54:05 CEST 2009 - pmladek@suse.cz + +- added Provides: locale(OpenOffice_org:fi) to make it installed automatically +- added PreReq: OpenOffice_org, zip; unopkg is part of OpenOffice_org-libs-core + but it should be rather called with complete OOo installed +- thanks to Lars Rupp for hints + +------------------------------------------------------------------- +Mon Jul 27 20:10:21 CEST 2009 - pmladek@suse.cz + +- changed the order of linker arguments to fix build in openSUSE Factory; + -Wl,--as-needed is enabled by default there (sf#2827973) + +------------------------------------------------------------------- +Fri Jun 19 10:26:06 CEST 2009 - pmladek@suse.cz + +- initial package for openSUSE Factory, version 3.1 +- based on the package by Sami Vento +- it is necessary to support Finnish spellcheck, hyphen, and thesaurus + functionality in OOo + diff --git a/libreoffice-voikko.spec b/libreoffice-voikko.spec new file mode 100644 index 0000000..2677b01 --- /dev/null +++ b/libreoffice-voikko.spec @@ -0,0 +1,60 @@ +# +# spec file for package libreoffice-voikko (Version 3.1) +# +# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +Name: libreoffice-voikko +%define ooo_prefix %_libdir +%define ooo_home libreoffice +BuildRequires: libreoffice libreoffice-sdk gcc-c++ java-devel libvoikko-devel unzip update-alternatives zip +Summary: LibreOffice spellchecker/hyphenator for finnish language +Version: 3.1.2 +Release: 4 +License: GPL +Group: Productivity/Text/Spell +PreReq: libreoffice coreutils grep zip +Provides: locale(libreoffice:fi) locale(OpenOffice_org:fi) +# compat stuff +Provides: OpenOffice_org-voikko = %version +Obsoletes: OpenOffice_org-voikko <= %version +Url: http://voikko.sourceforge.net +Source: openoffice.org-voikko-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +LibreOffice spellchecker/hyphenator for finnish language, which uses +libvoikko as backend. + + +%prep +%setup -q -n openoffice.org-voikko-%{version} + +%build +. %ooo_prefix/%ooo_home/basis-link/sdk/setsdkenv_unix.sh +make oxt + +%install + +cd build +voikkoPackage=$(pwd)/voikko.oxt +mkdir -p $RPM_BUILD_ROOT%ooo_prefix/%ooo_home/share/extensions/voikko +cd $RPM_BUILD_ROOT%ooo_prefix/%ooo_home/share/extensions/voikko +unzip "$voikkoPackage" + +%files +%defattr(-,root,root,0755) +%ooo_prefix/%ooo_home/share/extensions/voikko + +%changelog diff --git a/openoffice.org-voikko-3.1.2.tar.bz2 b/openoffice.org-voikko-3.1.2.tar.bz2 new file mode 100644 index 0000000..c45f473 --- /dev/null +++ b/openoffice.org-voikko-3.1.2.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a83b24738544912a8818c37b1c3976cdb124cd899dcd4e9fa6824757b1e90ede +size 39292