commit
c1abcc32d5
BIN
aspell6-az-0.02-0.tar.bz2
Normal file
BIN
aspell6-az-0.02-0.tar.bz2
Normal file
Binary file not shown.
42
hunspell-az.spec
Normal file
42
hunspell-az.spec
Normal 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
4
hunspell-az.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: NA
|
||||||
|
src_repo: NA
|
||||||
|
tag_prefix: NA
|
||||||
|
seperator: NA
|
||||||
Loading…
x
Reference in New Issue
Block a user