43 lines
1.1 KiB
RPMSpec
43 lines
1.1 KiB
RPMSpec
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
|