!1 package init

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

BIN
aspell-gv-0.50-0.tar.bz2 Normal file

Binary file not shown.

42
hunspell-gv.spec Normal file
View File

@ -0,0 +1,42 @@
Name: hunspell-gv
Summary: Manx hunspell dictionaries used in OpenOffice
Version: 0.20040505
Release: 18
Source: http://ftp.gnu.org/gnu/aspell/dict/gv/aspell-gv-0.50-0.tar.bz2
URL: http://borel.slu.edu/crubadan/apps.html
License: GPL+
BuildArch: noarch
BuildRequires: aspell hunspell-devel
Requires: hunspell
Supplements: (hunspell and langpacks-gv)
%description
Manx hunspell dictionaries used in OpenOffice.
%prep
%autosetup -n aspell-gv-0.50-0 -p1
%build
export LANG=gv_GB.utf8
preunzip -d *.cwl
cat *.wl > manx.wordlist
wordlist2hunspell manx.wordlist gv_GB
for i in Copyright doc/Crawler.txt; do
iconv -f ISO-8859-1 -t UTF-8 $i -o $i.new.1
tr -d '\r' < $i.new.1 > $i.new.2
rm -f $i $i.new.1
mv -f $i.new.2 $i
done
%install
install -d $RPM_BUILD_ROOT/%{_datadir}/myspell
install -Dp *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
%files
%doc COPYING Copyright README doc/Crawler.txt
%{_datadir}/myspell/*
%changelog
* Wed Apr 22 2020 Captain Wei <captain.a.wei@gmail.com> 0.20040505-18
- Package init

4
hunspell-gv.yaml Normal file
View File

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