34 lines
920 B
RPMSpec
34 lines
920 B
RPMSpec
Name: hunspell-cv
|
|
Version: 1.06
|
|
Release: 3
|
|
Summary: The dictionaries for Chuvash hunspell
|
|
License: GPLv3+ or LGPLv3+ or MPLv1.1
|
|
URL: http://hunspell.chv.su/download.shtml
|
|
Source: http://hunspell.chv.su/files/Chuvash_Spell-1.06.oxt
|
|
BuildArch: noarch
|
|
Requires: hunspell
|
|
Supplements: (hunspell and langpacks-cv)
|
|
|
|
%description
|
|
The dictionaries for Chuvash hunspell
|
|
|
|
%prep
|
|
%autosetup -c -n hunspell-cv-%{version} -p1
|
|
|
|
%build
|
|
tr -d '\r' < README_cv_RU.txt > README_cv_RU.txt.new
|
|
touch -r README_cv_RU.txt README_cv_RU.txt.new
|
|
mv -f README_cv_RU.txt.new README_cv_RU.txt
|
|
|
|
%install
|
|
install -d $RPM_BUILD_ROOT/%{_datadir}/myspell
|
|
cp -p cv_RU.* $RPM_BUILD_ROOT/%{_datadir}/myspell/
|
|
|
|
%files
|
|
%doc README_cv_RU.txt GPLv3.txt LGPLv3.txt MPL-1.1.txt
|
|
%{_datadir}/myspell/*
|
|
|
|
%changelog
|
|
* Fri Jul 03 2020 yaokai<yaokai13@huawei.com> - 1.06-3
|
|
- Package init
|