!1 package init

Merge pull request !1 from small_leek/master
This commit is contained in:
openeuler-ci-bot 2020-07-16 20:05:33 +08:00 committed by Gitee
commit d0cea36d73
3 changed files with 39 additions and 0 deletions

Binary file not shown.

35
hunspell-oc.spec Normal file
View File

@ -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 <captain.a.wei@gmail.com> 0.6.2-3
- Package init

4
hunspell-oc.yaml Normal file
View File

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