diff --git a/hunspell-zu.spec b/hunspell-zu.spec index cf6337b..3130ff4 100644 --- a/hunspell-zu.spec +++ b/hunspell-zu.spec @@ -1,17 +1,17 @@ Name: hunspell-zu Version: 20100125 -Release: 2mamba +Release: 3mamba Summary: Zulu hunspell dictionaries Group: System/Internationalization Vendor: openmamba Distribution: openmamba -Packager: gil -URL: http://www.translate.org.za/ +Packager: Silvan Calarco +URL: https://extensions.openoffice.org/en/project/zulu-spell-checker Source: http://releases.mozilla.org/pub/mozilla.org/addons/46490/zulu__south_africa__dictionary-%{version}-fx+tb.xpi License: LGPL +## AUTOBUILDREQ-BEGIN +## AUTOBUILDREQ-END Requires: hunspell -#BuildArch: noarch -BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Zulu hunspell dictionaries. @@ -34,18 +34,27 @@ mv -f README-zu-ZA.txt.new README-zu-ZA.txt [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" mkdir -p %{buildroot}%{_datadir}/myspell -cp -p dictionaries/zu-ZA.aff %{buildroot}%{_datadir}/myspell/zu.aff -cp -p dictionaries/zu-ZA.dic %{buildroot}%{_datadir}/myspell/zu.dic +cp -p dictionaries/zu-ZA.aff %{buildroot}%{_datadir}/myspell/zu-ZA.aff +cp -p dictionaries/zu-ZA.dic %{buildroot}%{_datadir}/myspell/zu-ZA.dic + +install -d -m0755 %{buildroot}%{_datadir}/hunspell +for f in zu-ZA.dic zu-ZA.aff; do + ln -s ../myspell/$f %{buildroot}%{_datadir}/hunspell/$f +done %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) -%{_datadir}/myspell +%{_datadir}/myspell/zu-ZA.* +%{_datadir}/hunspell/zu-ZA.* %doc README-zu-ZA.txt %changelog +* Tue Oct 24 2023 Silvan Calarco 20100125-3mamba +- rebuilt with specfile fixes + * Sun Apr 10 2011 Ercole 'ercolinux' Carpanetto 20100125-2mamba - rebuilt