7 Star 0 Fork 3

src-openEuler/hunspell-be
关闭

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
hunspell-be.spec 1.33 KB
一键复制 编辑 原始数据 按行查看 历史
root 提交于 2020-07-04 10:57 +08:00 . package init
Name: hunspell-be
Version: 1.1
Release: 17
Summary: Hunspell dictionaries for Belarusian
License: GPL+ and LGPLv2+
URL: http://extensions.services.openoffice.org/project/dict-be-official
Source: https://downloads.sourceforge.net/project/aoo-extensions/2412/1/dict-be-official.oxt
BuildArch: noarch
Requires: hunspell
Supplements: (hunspell and langpacks-be)
%description
This package provides hunspell dictionaries for Belarusian
%package -n hyphen-be
Summary: Rules for Belarusian hyphenation
Requires: hyphen
Supplements: (hyphen and langpacks-be)
%description -n hyphen-be
Rules for Belarusian hyphenation.
%prep
%autosetup -c -n hunspell-be -p1
%build
sed -i -e "s/microsoft-cp1251/CP1251/g" be-official.aff hyph_be_BY.dic
tail -n +3 hyph_be_BY.dic| head -n 3 > README_hyph_be_BY
%install
install -d $RPM_BUILD_ROOT/%{_datadir}/myspell
install -p be-official.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/be_BY.aff
install -p be-official.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/be_BY.dic
install -d $RPM_BUILD_ROOT/%{_datadir}/hyphen
install -p hyph_be_BY.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen/hyph_be_BY.dic
%files
%{_datadir}/myspell/*
%files -n hyphen-be
%doc README_hyph_be_BY
%{_datadir}/hyphen/*
%changelog
* Sun Apr 26 15:36:25 CST 2020 sunguoshuai <sunguoshuai@huawei,com> - 1.1-17
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/hunspell-be.git
git@gitee.com:src-openeuler/hunspell-be.git
src-openeuler
hunspell-be
hunspell-be
openEuler-24.09

搜索帮助