37 lines
989 B
RPMSpec
37 lines
989 B
RPMSpec
Name: hunspell-sw
|
|
Version: 0.20050819
|
|
Release: 19
|
|
Summary: Hunspell dictionaries for Swahili
|
|
License: LGPLv2+
|
|
URL: https://extensions.libreoffice.org/extensions/swahili-dictionary
|
|
Source: https://extensions.libreoffice.org/assets/downloads/z/dicts-sw.oxt
|
|
BuildArch: noarch
|
|
Requires: hunspell
|
|
BuildRequires: hunspell-devel
|
|
Supplements: (hunspell and langpacks-sw)
|
|
|
|
%description
|
|
Hunspell dictionaries for Swahili.
|
|
|
|
%prep
|
|
%autosetup -c -n hunspell-sw -p1
|
|
|
|
%build
|
|
iconv README_sw_TZ.txt -f ISO-8859-1 -t UTF-8 -o README_sw_TZ.txt.new
|
|
touch -r README_sw_TZ.txt README_sw_TZ.txt.new
|
|
mv -f README_sw_TZ.txt.new README_sw_TZ.txt
|
|
|
|
%install
|
|
install -d $RPM_BUILD_ROOT/%{_datadir}/myspell
|
|
cp -p *.aff *.dic $RPM_BUILD_ROOT/%{_datadir}/myspell
|
|
cd $RPM_BUILD_ROOT/%{_datadir}/myspell/
|
|
cd -
|
|
|
|
%files
|
|
%doc README_sw_TZ.txt
|
|
%{_datadir}/myspell/*
|
|
|
|
%changelog
|
|
* Tue Apr 21 2020 huanghaitao <huanghaitao8@huawei.com> - 0.20050819-19
|
|
- Package init
|