1 Star 0 Fork 4

src-oepkgs-oE-rv/hunspell-mg

forked from src-openEuler/hunspell-mg 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
hunspell-mg.spec 1.22 KB
一键复制 编辑 原始数据 按行查看 历史
root 提交于 2020-07-07 14:21 . package init
Name: hunspell-mg
Summary: Hunspell dictionaries for Malagasy
Version: 0.20050109
Release: 20
Source: http://downloads.sourceforge.net/project/openofficeorg.mirror/contrib/dictionaries/mg_MG.zip
URL: https://wiki.openoffice.org/wiki/Dictionaries
License: GPLv2+
BuildArch: noarch
Requires: hunspell
Supplements: (hunspell and langpacks-mg)
%description
Hunspell dictionaries for Malagasy.
%prep
%autosetup -c -n hunspell-mg -p1
%build
if ! iconv -f utf-8 -t utf-8 -o /dev/null README_mg_MG.txt > /dev/null 2>&1; then
iconv -f ISO-8859-1 -t UTF-8 README_mg_MG.txt > README_mg_MG.txt.new
touch -r README_mg_MG.txt README_mg_MG.txt.new
mv -f README_mg_MG.txt.new README_mg_MG.txt
fi
tr -d '\r' < README_mg_MG.txt > README_mg_MG.txt.new
touch -r README_mg_MG.txt README_mg_MG.txt.new
mv -f README_mg_MG.txt.new README_mg_MG.txt
%install
install -Dp mg_MG.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/plt.aff
install -Dp mg_MG.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/plt.dic
cd $RPM_BUILD_ROOT/%{_datadir}/myspell/
ln -s plt.aff mg.aff
ln -s plt.dic mg.dic
cd -
%files
%doc README_mg_MG.txt
%{_datadir}/myspell/*
%changelog
* Tue Apr 21 2020 lizhenhua <lizhenhua21@huawei.com> - 0.20050109-20
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-oepkgs-oe-rv/hunspell-mg.git
git@gitee.com:src-oepkgs-oe-rv/hunspell-mg.git
src-oepkgs-oe-rv
hunspell-mg
hunspell-mg
master

搜索帮助