package init

This commit is contained in:
jackie_wu 2020-07-07 18:58:02 +08:00
parent 2ea0d790b1
commit 84d89cdeeb
3 changed files with 39 additions and 0 deletions

Binary file not shown.

35
hunspell-ak.spec Normal file
View File

@ -0,0 +1,35 @@
Name: hunspell-ak
Summary: Hunspell dictionaries for Akan
Version: 0.9.1
Release: 3
Source: https://addons.mozilla.org/firefox/downloads/file/376172/akan_spelling_dictionary-0.9.1-typefix-fx.xpi
URL: http://kasahorow.org/content/akan-nsɛmfuaasekyerɛ
License: LGPLv3
BuildArch: noarch
BuildRequires: redland
Requires: hunspell
Supplements: (hunspell and langpacks-ak)
%description
Hunspell dictionaries for Akan.
%prep
%autosetup -c -p1
%build
rdfproc hunspell-oc parse install.rdf
rdfproc hunspell-oc print | grep install-manifest | grep -v targetApplication | sed -e 's/.*#//' | sed -e 's/], "/: /'| sed -e 's/"}//' > CREDITS
chmod -x dictionaries/ak-GH.*
%install
install -d $RPM_BUILD_ROOT/%{_datadir}/myspell
install -Dp dictionaries/ak-GH.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/ak_GH.aff
install -Dp dictionaries/ak-GH.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/ak_GH.dic
%files
%doc CREDITS
%{_datadir}/myspell/*
%changelog
* Tue Apr 28 2020 wutao <wutao61@huawei.com> - 0.9.1-3
- Package init

4
hunspell-ak.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: NA
src_repo: NA
tag_prefix: NA
seperator: NA