diff --git a/akan_spelling_dictionary-0.9.1-typefix-fx.xpi b/akan_spelling_dictionary-0.9.1-typefix-fx.xpi new file mode 100644 index 0000000..f7b175c Binary files /dev/null and b/akan_spelling_dictionary-0.9.1-typefix-fx.xpi differ diff --git a/hunspell-ak.spec b/hunspell-ak.spec new file mode 100644 index 0000000..27cbe66 --- /dev/null +++ b/hunspell-ak.spec @@ -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 - 0.9.1-3 +- Package init diff --git a/hunspell-ak.yaml b/hunspell-ak.yaml new file mode 100644 index 0000000..00bbaf0 --- /dev/null +++ b/hunspell-ak.yaml @@ -0,0 +1,4 @@ +version_control: NA +src_repo: NA +tag_prefix: NA +seperator: NA