Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
libreoffice-voikko
libreoffice-voikko.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libreoffice-voikko.spec of Package libreoffice-voikko
# # spec file for package libreoffice-voikko # # Copyright (c) 2012 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: 3.1.2 Release: 0 Summary: LibreOffice spellchecker/hyphenator for finnish language License: GPL-3.0+ Group: Productivity/Text/Spell %define ooo_prefix %{_libdir} %define ooo_home libreoffice BuildRequires: gcc-c++ BuildRequires: java-devel BuildRequires: libreoffice >= 3.5 BuildRequires: libreoffice-sdk >= 3.5 BuildRequires: libvoikko-devel BuildRequires: unzip BuildRequires: zip # post install scripts %if 0%{?suse_version} > 01120 Requires(post): coreutils Requires(post): grep Requires(post): libreoffice >= 3.5 Requires(postun): coreutils Requires(postun): grep Requires(postun): libreoffice >= 3.5 %endif %if 0%{?suse_version} && 0%{?suse_version} <= 01120 PreReq: coreutils PreReq: grep PreReq: libreoffice %endif Url: http://voikko.sourceforge.net Source: openoffice.org-voikko-%{version}.tar.bz2 Provides: locale(OpenOffice_org:fi) Provides: locale(libreoffice:fi) # compat stuff Provides: OpenOffice_org-voikko = %{version} Obsoletes: OpenOffice_org-voikko <= %{version} 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/sdk/setsdkenv_unix.sh make oxt %install cd build voikkoPackage=$(pwd)/voikko.oxt mkdir -p %{buildroot}%ooo_prefix/%ooo_home/share/extensions/voikko cd %{buildroot}%ooo_prefix/%ooo_home/share/extensions/voikko unzip "$voikkoPackage" %posttrans %{_sbindir}/unopkg-sync-bundled || true %postun %{_sbindir}/unopkg-sync-bundled || true %files %defattr(-,root,root,0755) %ooo_prefix/%ooo_home/share/extensions/voikko %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor