- Version bump to 3.7:
* Needed to build with lo-4.2 and later * Also compatible with new libvoikko - Cleanup with spec-cleaner and remove useless defines. OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libreoffice-voikko?expand=0&rev=5
This commit is contained in:
parent
e8a978c466
commit
59ad26c004
3
libreoffice-voikko-4.0.tar.gz
Normal file
3
libreoffice-voikko-4.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:38dfdc2c299c9e538febde12b08a4544d1dd6b1da82e0f682f7457bd0975c89d
|
||||||
|
size 36453
|
@ -1,13 +0,0 @@
|
|||||||
Index: libreoffice-voikko-rel-3.4.1/Makefile
|
|
||||||
===================================================================
|
|
||||||
--- libreoffice-voikko-rel-3.4.1.orig/Makefile
|
|
||||||
+++ libreoffice-voikko-rel-3.4.1/Makefile
|
|
||||||
@@ -236,7 +236,7 @@ $(patsubst %,build/oxt/%,$(STANDALONE_EX
|
|
||||||
# Type library C++ headers
|
|
||||||
build/hpp.flag:
|
|
||||||
-$(MKDIR) build$(PS)hpp
|
|
||||||
- $(CPPUMAKER) -Gc -BUCR -O./build/hpp $(URE_TYPES) $(OFFICE_TYPES)
|
|
||||||
+ $(CPPUMAKER) -Gc -O./build/hpp $(URE_TYPES) $(OFFICE_TYPES)
|
|
||||||
echo flagged > $@
|
|
||||||
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:4c342a93550b2e2d4734190bd4a130aa8bdf68987e941d57e15e203a67cc2568
|
|
||||||
size 45640
|
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jan 26 10:22:23 UTC 2014 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Version bump to 3.7:
|
||||||
|
* Needed to build with lo-4.2 and later
|
||||||
|
* Also compatible with new libvoikko
|
||||||
|
- Cleanup with spec-cleaner and remove useless defines.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Aug 22 15:28:03 UTC 2013 - pmladek@suse.com
|
Thu Aug 22 15:28:03 UTC 2013 - pmladek@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libreoffice-voikko
|
# spec file for package libreoffice-voikko
|
||||||
#
|
#
|
||||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,13 +17,13 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: libreoffice-voikko
|
Name: libreoffice-voikko
|
||||||
Version: 3.4.1
|
Version: 4.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: LibreOffice spellchecker/hyphenator for finnish language
|
Summary: LibreOffice spellchecker/hyphenator for finnish language
|
||||||
License: GPL-3.0+
|
License: GPL-3.0+
|
||||||
Group: Productivity/Text/Spell
|
Group: Productivity/Text/Spell
|
||||||
%define ooo_prefix %{_libdir}
|
Url: http://voikko.puimula.org/
|
||||||
%define ooo_home libreoffice
|
Source: http://www.puimula.org/voikko-sources/%{name}/%{name}-%{version}.tar.gz
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: java-devel
|
BuildRequires: java-devel
|
||||||
BuildRequires: libreoffice >= 4.1
|
BuildRequires: libreoffice >= 4.1
|
||||||
@ -31,30 +31,13 @@ BuildRequires: libreoffice-sdk >= 4.1
|
|||||||
BuildRequires: libvoikko-devel
|
BuildRequires: libvoikko-devel
|
||||||
BuildRequires: unzip
|
BuildRequires: unzip
|
||||||
BuildRequires: zip
|
BuildRequires: zip
|
||||||
# post install scripts
|
|
||||||
%if 0%{?suse_version} > 01120
|
|
||||||
Requires(post): coreutils
|
Requires(post): coreutils
|
||||||
Requires(post): grep
|
Requires(post): grep
|
||||||
Requires(post): libreoffice >= 3.5
|
Requires(post): libreoffice >= 4.1
|
||||||
Requires(postun): coreutils
|
Requires(postun): coreutils
|
||||||
Requires(postun): grep
|
Requires(postun): grep
|
||||||
Requires(postun): libreoffice >= 3.5
|
Requires(postun): libreoffice >= 4.1
|
||||||
%endif
|
|
||||||
%if 0%{?suse_version} && 0%{?suse_version} <= 01120
|
|
||||||
PreReq: coreutils
|
|
||||||
PreReq: grep
|
|
||||||
PreReq: libreoffice
|
|
||||||
%endif
|
|
||||||
Url: http://voikko.sourceforge.net
|
|
||||||
Source: %{name}-rel-%{version}.tar.bz2
|
|
||||||
# -BUCR is gone in cppumaker upstream, see http://cgit.freedesktop.org/libreoffice/core/commit/?id=02a8e8acd1f0cbb512868fd9849363f9d069db95.
|
|
||||||
# Fix like upstream for javamaker (which had the same change) in http://cgit.freedesktop.org/libreoffice/core/commit/?id=5f8015045cb59ff9574230530d371b6659697881
|
|
||||||
Patch0: libreoffice-voikko-rel-3.4.1-lo-4.1-cppumaker.diff
|
|
||||||
Provides: locale(OpenOffice_org:fi)
|
|
||||||
Provides: locale(libreoffice:fi)
|
Provides: locale(libreoffice:fi)
|
||||||
# compat stuff
|
|
||||||
Provides: OpenOffice_org-voikko = %{version}
|
|
||||||
Obsoletes: OpenOffice_org-voikko <= %{version}
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -62,23 +45,21 @@ LibreOffice spellchecker/hyphenator for finnish language, which uses
|
|||||||
libvoikko as backend.
|
libvoikko as backend.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-rel-%{version}
|
%setup -q
|
||||||
%patch0 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
. %ooo_prefix/%ooo_home/sdk/setsdkenv_unix.sh
|
. %{_libdir}/libreoffice/sdk/setsdkenv_unix.sh
|
||||||
make oxt
|
make oxt %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
|
||||||
cd build
|
cd build
|
||||||
voikkoPackage=$(pwd)/voikko.oxt
|
mkdir -p %{buildroot}%{_libdir}/libreoffice/share/extensions/voikko
|
||||||
mkdir -p %{buildroot}%ooo_prefix/%ooo_home/share/extensions/voikko
|
cd %{buildroot}%{_libdir}/libreoffice/share/extensions/voikko
|
||||||
cd %{buildroot}%ooo_prefix/%ooo_home/share/extensions/voikko
|
unzip voikko.oxt
|
||||||
unzip "$voikkoPackage"
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,0755)
|
%defattr(-,root,root,0755)
|
||||||
%ooo_prefix/%ooo_home/share/extensions/voikko
|
%{_libdir}/libreoffice/share/extensions/voikko
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user