From cfa7147dd6d7e0eb09124eac3fb732c7b25263e3 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 23:44:29 +0100 Subject: [PATCH] provide /usr/share/myspell/dicts as symlink to /usr/share/myspell [release 1.7.0-2mamba;Thu May 07 2020] --- hunspell.spec | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/hunspell.spec b/hunspell.spec index b133fbd..eccea14 100644 --- a/hunspell.spec +++ b/hunspell.spec @@ -1,7 +1,7 @@ %define majver %(echo %version| cut -d. -f1-2) Name: hunspell Version: 1.7.0 -Release: 1mamba +Release: 2mamba Summary: The default spell checker of OpenOffice.org office suite Group: System/Tools Vendor: openmamba @@ -63,13 +63,15 @@ Main features: This package contains static libraries and header files need for development. +%debug_package + %prep %setup -q #%patch0 -p1 #%patch1 -p1 +autoreconf -fi %build -autoreconf -fi %configure \ --with-ui \ --with-readline @@ -79,6 +81,9 @@ autoreconf -fi [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall +install -d -m0755 %{buildroot}%{_datadir}/myspell +ln -s . %{buildroot}%{_datadir}/myspell/dicts + #%find_lang %{name} %clean @@ -108,6 +113,8 @@ autoreconf -fi #-f %{name}.lang %defattr(-,root,root) %{_libdir}/libhunspell-%{majver}.so.* +%dir %{_datadir}/myspell +%{_datadir}/myspell/dicts %doc AUTHORS COPYING %files -n libhunspell-devel @@ -125,6 +132,9 @@ autoreconf -fi %doc THANKS %changelog +* Thu May 07 2020 Silvan Calarco 1.7.0-2mamba +- provide /usr/share/myspell/dicts as symlink to /usr/share/myspell + * Mon Dec 10 2018 Automatic Build System 1.7.0-1mamba - automatic version update by autodist