hunspell-af/hunspell-af.spec

54 lines
1.4 KiB
RPMSpec
Raw Normal View History

Name: hunspell-af
Version: 0.20080825
Release: 3mamba
Summary: Afrikaans hunspell dictionaries
Group: System/Internationalization
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://web.archive.org/web/20120929091708/http://www.translate.org.za/
# Dead link
Source: http://downloads.translate.org.za/spellchecker/afrikaans/myspell-af_ZA-%{version}.zip
License: LGPL
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
Requires: hunspell
%description
Afrikaans hunspell dictionaries.
%prep
%setup -q -c %{name}-%{version}
%build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
mkdir -p %{buildroot}%{_datadir}/myspell
cp -p *.dic *.aff %{buildroot}%{_datadir}/myspell
pushd %{buildroot}%{_datadir}/myspell/
for lang in af_NA; do
ln -s af_ZA.aff $lang.aff
ln -s af_ZA.dic $lang.dic
done
popd
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_datadir}/myspell
%doc README_af_ZA.txt
%changelog
* Sat Jun 05 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.20080825-3mamba
- rebuilt with specfile fixes
* Sun Apr 10 2011 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 0.20080825-2mamba
- rebuilt
* Thu Mar 10 2011 gil <puntogil@libero.it> 0.20080825-1mamba
- package created by autospec