- Remove not requires pre/post/postun requires
OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libreoffice-voikko?expand=0&rev=22
This commit is contained in:
parent
3442e74c78
commit
3eb2eba4ab
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 4 17:02:42 UTC 2017 - tuukka.pasanen@ilmi.fi
|
||||||
|
|
||||||
|
- Remove not requires pre/post/postun requires
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Oct 4 08:01:02 UTC 2017 - tuukka.pasanen@ilmi.fi
|
Wed Oct 4 08:01:02 UTC 2017 - tuukka.pasanen@ilmi.fi
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ Name: libreoffice-voikko
|
|||||||
Version: 5.0
|
Version: 5.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: LibreOffice spellchecker/hyphenator for finnish language
|
Summary: LibreOffice spellchecker/hyphenator for finnish language
|
||||||
License: MPL-2.0 or GPL-3.0+
|
License: MPL-2.0 OR GPL-3.0+
|
||||||
Group: Productivity/Text/Spell
|
Group: Productivity/Text/Spell
|
||||||
Url: http://voikko.puimula.org/
|
Url: http://voikko.puimula.org/
|
||||||
Source0: http://www.puimula.org/voikko-sources/%{name}/%{name}-%{version}.tar.gz
|
Source0: http://www.puimula.org/voikko-sources/%{name}/%{name}-%{version}.tar.gz
|
||||||
@ -30,15 +30,10 @@ BuildRequires: gcc-c++
|
|||||||
BuildRequires: java-devel
|
BuildRequires: java-devel
|
||||||
BuildRequires: libreoffice >= 4.1
|
BuildRequires: libreoffice >= 4.1
|
||||||
BuildRequires: libreoffice-sdk >= 4.1
|
BuildRequires: libreoffice-sdk >= 4.1
|
||||||
BuildRequires: libvoikko-devel
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: unzip
|
BuildRequires: unzip
|
||||||
BuildRequires: zip
|
BuildRequires: zip
|
||||||
Requires(post): coreutils
|
BuildRequires: pkgconfig(libvoikko)
|
||||||
Requires(post): grep
|
|
||||||
Requires(post): libreoffice >= 4.1
|
|
||||||
Requires(postun): coreutils
|
|
||||||
Requires(postun): grep
|
|
||||||
Requires(postun): libreoffice >= 4.1
|
|
||||||
Requires: python3-libvoikko
|
Requires: python3-libvoikko
|
||||||
Provides: locale(libreoffice:fi)
|
Provides: locale(libreoffice:fi)
|
||||||
|
|
||||||
@ -54,14 +49,12 @@ libvoikko as backend.
|
|||||||
make oxt %{?_smp_mflags}
|
make oxt %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
|
||||||
voikko_pkg=$(pwd)/build/voikko.oxt
|
voikko_pkg=$(pwd)/build/voikko.oxt
|
||||||
mkdir -p %{buildroot}%{_libdir}/libreoffice/share/extensions/voikko
|
mkdir -p %{buildroot}%{_libdir}/libreoffice/share/extensions/voikko
|
||||||
cd %{buildroot}%{_libdir}/libreoffice/share/extensions/voikko
|
cd %{buildroot}%{_libdir}/libreoffice/share/extensions/voikko
|
||||||
unzip $voikko_pkg
|
unzip $voikko_pkg
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,0755)
|
|
||||||
%doc COPYING README
|
%doc COPYING README
|
||||||
%{_libdir}/libreoffice/share/extensions/voikko
|
%{_libdir}/libreoffice/share/extensions/voikko
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user