13 Star 0 Fork 4

ocs-bot/enchant

forked from OpenCloudOS Stream/enchant 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
enchant.spec 2.56 KB
一键复制 编辑 原始数据 按行查看 历史
ocs-bot 提交于 2023-12-11 18:40 . Upgrade to version 2.6.2
Summary: An Enchanting Spell Checking Library
Name: enchant
Version: 2.6.2
Release: 1%{?dist}
License: LGPLv2+
URL: http://www.abisource.com/
Source0: %{url}/downloads/enchant/%{version}/enchant-%{version}.tar.gz
BuildRequires: make gcc-c++ automake libtool
BuildRequires: glib2-devel >= 2.6.0
BuildRequires: aspell-devel hunspell-devel
BuildRequires: libvoikko-devel
%description
A library that wraps other spell checking backends.
%package aspell
Summary: Integration with aspell for libenchant
Requires: enchant = %{version}-%{release}
%description aspell
Libraries necessary to integrate applications using libenchant with aspell.
%package voikko
Summary: Integration with voikko for libenchant
Requires: enchant = %{version}-%{release}
%description voikko
Libraries necessary to integrate applications using libenchant with voikko.
%package devel
Summary: Support files necessary to compile applications with libenchant.
Requires: enchant = %{version}-%{release}
Requires: glib2-devel
%description devel
Libraries, headers, and support files necessary to compile applications using libenchant.
%prep
%autosetup
%build
%configure --enable-myspell --with-myspell-dir=/usr/share/hunspell --disable-static --disable-ispell --disable-hspell --disable-zemberek
%{make_build}
%install
rm -rf $RPM_BUILD_ROOT
%{make_install}
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
rm -f $RPM_BUILD_ROOT/%{_libdir}/enchant/*.la
%files
%license COPYING.LIB
%doc AUTHORS README
%{_bindir}/*
%{_libdir}/lib*.so.*
%dir %{_libdir}/enchant
%{_libdir}/enchant/lib*myspell.so*
%{_datadir}/enchant
%{_mandir}/man1/enchant.1*
%files aspell
%{_libdir}/enchant/lib*aspell.so*
%files voikko
%{_libdir}/enchant/lib*_voikko.so*
%files devel
%{_libdir}/*.so
%{_libdir}/pkgconfig/enchant.pc
%{_includedir}/enchant
%changelog
* Mon Dec 11 2023 Upgrade Robot <[email protected]> - 2.6.2-1
- Upgrade to version 2.6.2
* Fri Sep 08 2023 OpenCloudOS Release Engineering <[email protected]> - 1.6.0-6
- Rebuilt for OpenCloudOS Stream 23.09
* Wed Aug 23 2023 Miaojun Dong <[email protected]> - 1.6.0-5
- Rebuild for hunspell-1.7.2
* Fri May 19 2023 rockerzhu <[email protected]> - 1.6.0-4
- Fix error in Source0.
* Fri Apr 28 2023 OpenCloudOS Release Engineering <[email protected]> - 1.6.0-3
- Rebuilt for OpenCloudOS Stream 23.05
* Fri Mar 31 2023 OpenCloudOS Release Engineering <[email protected]> - 1.6.0-2
- Rebuilt for OpenCloudOS Stream 23
* Mon Mar 06 2023 rockerzhu <[email protected]> - 1.6.0-1
- Initial build
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/ocs-bot/enchant.git
[email protected]:ocs-bot/enchant.git
ocs-bot
enchant
enchant
master

搜索帮助