diff --git a/correcteur_occitan_languedocien-0.6.2-tb+sm+fx.xpi b/correcteur_occitan_languedocien-0.6.2-tb+sm+fx.xpi new file mode 100644 index 0000000000000000000000000000000000000000..7987665ff35e8da1a5a1f46607913ba6c3163c9f Binary files /dev/null and b/correcteur_occitan_languedocien-0.6.2-tb+sm+fx.xpi differ diff --git a/hunspell-oc.spec b/hunspell-oc.spec new file mode 100644 index 0000000000000000000000000000000000000000..bf50c8d791c39d8340d8f02861439b59543439b1 --- /dev/null +++ b/hunspell-oc.spec @@ -0,0 +1,35 @@ +Name: hunspell-oc +Summary: Occitan hunspell dictionaries for spell check +Version: 0.6.2 +Release: 3 +Source: https://addons.mozilla.org/firefox/downloads/file/233710/correcteur_occitan_languedocien-%{version}-tb+sm+fx.xpi +URL: https://addons.mozilla.org/en-US/firefox/addon/8235 +License: GPLv3+ +BuildArch: noarch +BuildRequires: redland + +Requires: hunspell +Supplements: (hunspell and langpacks-oc) + +%description +Occitan hunspell dictionaries for spell check. + +%prep +%autosetup -c -p1 -n hunspell-oc + +%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 + +%install +install -d $RPM_BUILD_ROOT/%{_datadir}/myspell +install -Dp dictionaries/oc-FR.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/oc_FR.aff +install -Dp dictionaries/oc-FR.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/oc_FR.dic + +%files +%doc CREDITS +%{_datadir}/myspell/* + +%changelog +* Fri Apr 17 2020 Captain Wei 0.6.2-3 +- Package init diff --git a/hunspell-oc.yaml b/hunspell-oc.yaml new file mode 100644 index 0000000000000000000000000000000000000000..00bbaf050db91e87f0ad529e5c29027a1bf150ae --- /dev/null +++ b/hunspell-oc.yaml @@ -0,0 +1,4 @@ +version_control: NA +src_repo: NA +tag_prefix: NA +seperator: NA