diff --git a/aspell-gv-0.50-0.tar.bz2 b/aspell-gv-0.50-0.tar.bz2 new file mode 100644 index 0000000..dea4f6d Binary files /dev/null and b/aspell-gv-0.50-0.tar.bz2 differ diff --git a/hunspell-gv.spec b/hunspell-gv.spec new file mode 100644 index 0000000..0f8838e --- /dev/null +++ b/hunspell-gv.spec @@ -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 0.20040505-18 +- Package init diff --git a/hunspell-gv.yaml b/hunspell-gv.yaml new file mode 100644 index 0000000..00bbaf0 --- /dev/null +++ b/hunspell-gv.yaml @@ -0,0 +1,4 @@ +version_control: NA +src_repo: NA +tag_prefix: NA +seperator: NA