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
This commit is contained in:
Ruediger Oertel 2011-02-06 17:29:48 +00:00 committed by Git OBS Bridge
commit 4f92519971
5 changed files with 127 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

View File

@ -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

60
libreoffice-voikko.spec Normal file
View File

@ -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

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a83b24738544912a8818c37b1c3976cdb124cd899dcd4e9fa6824757b1e90ede
size 39292