44107fb45a
- Update to version 4.1: + Unconditionally enable grammar checker since it is now used only with dictionaries and backends that support it. + Switch to passive component registration. OBS-URL: https://build.opensuse.org/request/show/282387 OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libreoffice-voikko?expand=0&rev=11
68 lines
2.0 KiB
RPMSpec
68 lines
2.0 KiB
RPMSpec
#
|
|
# spec file for package libreoffice-voikko
|
|
#
|
|
# Copyright (c) 2015 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
|
|
Version: 4.1
|
|
Release: 0
|
|
Summary: LibreOffice spellchecker/hyphenator for finnish language
|
|
License: MPL-2.0 or GPL-3.0+
|
|
Group: Productivity/Text/Spell
|
|
Url: http://voikko.puimula.org/
|
|
Source: http://www.puimula.org/voikko-sources/%{name}/%{name}-%{version}.tar.gz
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: java-devel
|
|
BuildRequires: libreoffice >= 4.1
|
|
BuildRequires: libreoffice-sdk >= 4.1
|
|
BuildRequires: libvoikko-devel
|
|
BuildRequires: unzip
|
|
BuildRequires: zip
|
|
Requires(post): coreutils
|
|
Requires(post): grep
|
|
Requires(post): libreoffice >= 4.1
|
|
Requires(postun): coreutils
|
|
Requires(postun): grep
|
|
Requires(postun): libreoffice >= 4.1
|
|
Provides: locale(libreoffice:fi)
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
ExclusiveArch: %ix86 x86_64
|
|
|
|
%description
|
|
LibreOffice spellchecker/hyphenator for finnish language, which uses
|
|
libvoikko as backend.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
. %{_libdir}/libreoffice/sdk/setsdkenv_unix.sh
|
|
make oxt %{?_smp_mflags}
|
|
|
|
%install
|
|
|
|
voikko_pkg=$(pwd)/build/voikko.oxt
|
|
mkdir -p %{buildroot}%{_libdir}/libreoffice/share/extensions/voikko
|
|
cd %{buildroot}%{_libdir}/libreoffice/share/extensions/voikko
|
|
unzip $voikko_pkg
|
|
|
|
%files
|
|
%defattr(-,root,root,0755)
|
|
%doc COPYING README
|
|
%{_libdir}/libreoffice/share/extensions/voikko
|
|
|
|
%changelog
|