diff --git a/aspell6-az-0.02-0.tar.bz2 b/aspell6-az-0.02-0.tar.bz2 new file mode 100644 index 0000000..1ba7bb7 Binary files /dev/null and b/aspell6-az-0.02-0.tar.bz2 differ diff --git a/hunspell-az.spec b/hunspell-az.spec new file mode 100644 index 0000000..285dec4 --- /dev/null +++ b/hunspell-az.spec @@ -0,0 +1,42 @@ +Name: hunspell-az +Version: 0.20040827 +Release: 19 +Summary: Hunspell dictionaries for Azerbaijani +Source: http://ftp.gnu.org/gnu/aspell/dict/az/aspell6-az-0.02-0.tar.bz2 +URL: http://crubadan.org/applications +License: GPLv2+ +BuildArch: noarch +BuildRequires: aspell hunspell-devel dos2unix +Requires: hunspell +Supplements: (hunspell and langpacks-az) + +%description +Hunspell dictionaries for Azerbaijani. + +%prep +%autosetup -n aspell6-az-0.02-0 -p1 + +%build +export LANG=az_AZ.utf8 +preunzip az.cwl +wordlist2hunspell az.wl az_AZ + +#iconv -f utf-8 -t utf-8 -o /dev/null Copyright +iconv -f ISO-8859-1 -t UTF-8 Copyright > Copyright.new +dos2unix -k Copyright + +#iconv -f utf-8 -t utf-8 doc/Crawler.txt +iconv -f ISO-8859-1 -t UTF-8 doc/Crawler.txt > doc/Crawler.txt.new +dos2unix -k doc/Crawler.txt + +%install +install -d $RPM_BUILD_ROOT/%{_datadir}/myspell +install -p -D *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell + +%files +%doc COPYING Copyright README doc/Crawler.txt +%{_datadir}/myspell/* + +%changelog +* Fri Apr 24 2020 wangerfeng - 0.20040827-19 +- Package init diff --git a/hunspell-az.yaml b/hunspell-az.yaml new file mode 100644 index 0000000..00bbaf0 --- /dev/null +++ b/hunspell-az.yaml @@ -0,0 +1,4 @@ +version_control: NA +src_repo: NA +tag_prefix: NA +seperator: NA