Accepting request 196130 from LibreOffice:Factory

fix version of the used %patch macro (forwarded request 196129 from pmladek)

OBS-URL: https://build.opensuse.org/request/show/196130
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libreoffice-voikko?expand=0&rev=8
This commit is contained in:
Tomáš Chvátal 2013-08-24 08:14:44 +00:00 committed by Git OBS Bridge
parent b1c9bfc773
commit e8a978c466
5 changed files with 39 additions and 14 deletions

View File

@ -0,0 +1,13 @@
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 > $@

View File

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

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Thu Aug 22 15:28:03 UTC 2013 - pmladek@suse.com
- updated to version 3.4.1:
* do not query available languages too often
* support for spell checking multiple languages
* English as the fallback language for settings dialog
- bumped dependencies in LibreOffice; documentation said that it built
and worked only with LO 4.1 and higher
- libreoffice-voikko-rel-3.4.1-lo-4.1-cppumaker.diff: -BUCR is gone in
the upstream cppumaker
- remove obsolete post install scripts; the system UNO cache is not
longer read by LO >= 4.0
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Apr 12 12:33:04 UTC 2012 - pmladek@suse.com Thu Apr 12 12:33:04 UTC 2012 - pmladek@suse.com

View File

@ -17,7 +17,7 @@
Name: libreoffice-voikko Name: libreoffice-voikko
Version: 3.1.2 Version: 3.4.1
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+
@ -26,8 +26,8 @@ Group: Productivity/Text/Spell
%define ooo_home libreoffice %define ooo_home libreoffice
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: java-devel BuildRequires: java-devel
BuildRequires: libreoffice >= 3.5 BuildRequires: libreoffice >= 4.1
BuildRequires: libreoffice-sdk >= 3.5 BuildRequires: libreoffice-sdk >= 4.1
BuildRequires: libvoikko-devel BuildRequires: libvoikko-devel
BuildRequires: unzip BuildRequires: unzip
BuildRequires: zip BuildRequires: zip
@ -46,7 +46,10 @@ PreReq: grep
PreReq: libreoffice PreReq: libreoffice
%endif %endif
Url: http://voikko.sourceforge.net Url: http://voikko.sourceforge.net
Source: openoffice.org-voikko-%{version}.tar.bz2 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(OpenOffice_org:fi)
Provides: locale(libreoffice:fi) Provides: locale(libreoffice:fi)
# compat stuff # compat stuff
@ -59,7 +62,8 @@ LibreOffice spellchecker/hyphenator for finnish language, which uses
libvoikko as backend. libvoikko as backend.
%prep %prep
%setup -q -n openoffice.org-voikko-%{version} %setup -q -n %{name}-rel-%{version}
%patch0 -p1
%build %build
. %ooo_prefix/%ooo_home/sdk/setsdkenv_unix.sh . %ooo_prefix/%ooo_home/sdk/setsdkenv_unix.sh
@ -73,12 +77,6 @@ mkdir -p %{buildroot}%ooo_prefix/%ooo_home/share/extensions/voikko
cd %{buildroot}%ooo_prefix/%ooo_home/share/extensions/voikko cd %{buildroot}%ooo_prefix/%ooo_home/share/extensions/voikko
unzip "$voikkoPackage" unzip "$voikkoPackage"
%posttrans
%{_sbindir}/unopkg-sync-bundled || true
%postun
%{_sbindir}/unopkg-sync-bundled || true
%files %files
%defattr(-,root,root,0755) %defattr(-,root,root,0755)
%ooo_prefix/%ooo_home/share/extensions/voikko %ooo_prefix/%ooo_home/share/extensions/voikko

View File

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