package init

This commit is contained in:
small_leek 2020-07-18 10:36:53 +08:00
parent 272ed44487
commit e186c7bcde
3 changed files with 46 additions and 0 deletions

BIN
aspell6-az-0.02-0.tar.bz2 Normal file

Binary file not shown.

42
hunspell-az.spec Normal file
View File

@ -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 <wangerfeng5@huawei.com> - 0.20040827-19
- Package init

4
hunspell-az.yaml Normal file
View File

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