provide /usr/share/myspell/dicts as symlink to /usr/share/myspell [release 1.7.0-2mamba;Thu May 07 2020]

This commit is contained in:
Silvan Calarco 2024-01-05 23:44:29 +01:00
parent 931095c27c
commit cfa7147dd6

View File

@ -1,7 +1,7 @@
%define majver %(echo %version| cut -d. -f1-2) %define majver %(echo %version| cut -d. -f1-2)
Name: hunspell Name: hunspell
Version: 1.7.0 Version: 1.7.0
Release: 1mamba Release: 2mamba
Summary: The default spell checker of OpenOffice.org office suite Summary: The default spell checker of OpenOffice.org office suite
Group: System/Tools Group: System/Tools
Vendor: openmamba Vendor: openmamba
@ -63,13 +63,15 @@ Main features:
This package contains static libraries and header files need for development. This package contains static libraries and header files need for development.
%debug_package
%prep %prep
%setup -q %setup -q
#%patch0 -p1 #%patch0 -p1
#%patch1 -p1 #%patch1 -p1
autoreconf -fi
%build %build
autoreconf -fi
%configure \ %configure \
--with-ui \ --with-ui \
--with-readline --with-readline
@ -79,6 +81,9 @@ autoreconf -fi
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall %makeinstall
install -d -m0755 %{buildroot}%{_datadir}/myspell
ln -s . %{buildroot}%{_datadir}/myspell/dicts
#%find_lang %{name} #%find_lang %{name}
%clean %clean
@ -108,6 +113,8 @@ autoreconf -fi
#-f %{name}.lang #-f %{name}.lang
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libhunspell-%{majver}.so.* %{_libdir}/libhunspell-%{majver}.so.*
%dir %{_datadir}/myspell
%{_datadir}/myspell/dicts
%doc AUTHORS COPYING %doc AUTHORS COPYING
%files -n libhunspell-devel %files -n libhunspell-devel
@ -125,6 +132,9 @@ autoreconf -fi
%doc THANKS %doc THANKS
%changelog %changelog
* Thu May 07 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.7.0-2mamba
- provide /usr/share/myspell/dicts as symlink to /usr/share/myspell
* Mon Dec 10 2018 Automatic Build System <autodist@mambasoft.it> 1.7.0-1mamba * Mon Dec 10 2018 Automatic Build System <autodist@mambasoft.it> 1.7.0-1mamba
- automatic version update by autodist - automatic version update by autodist