12 Star 0 Fork 15

src-openEuler / enchant

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
enchant.spec 2.92 KB
一键复制 编辑 原始数据 按行查看 历史
Venland 提交于 2022-05-16 16:29 . fix spec changelog date
Name: enchant
Version: 1.6.1
Release: 3
Epoch: 1
Summary: Generic spell checking library
License: LGPLv2+
URL: https://github.com/AbiWord/enchant
Source0: https://github.com/AbiWord/enchant/releases/download/enchant-1-6-1/%{name}-%{version}.tar.gz
BuildRequires: aspell-devel automake gcc-c++ hunspell-devel libtool libvoikko-devel
BuildRequires: glib2-devel >= 2.6.0
%description
Enchant aims to provide a simple but comprehensive abstraction for dealing
with different spell checking libraries in a consistent way. A client, such
as a text editor or word processor, need not know anything about a specific
spell-checker, and since all back-ends are plugins, new spell-checkers can
be added without needing any change to the program using Enchant.
%package devel
Summary: Development files for %{name}
Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: glib2-devel
%description devel
The %{name}-devel package contains libraries, header files and support files
for developing applications that use libenchant.
%package aspell
Summary: Aspell is integrated for libenchant
Requires: %{name} = %{epoch}:%{version}-%{release}
%description aspell
Applications need libraries integrated by using libenchant with aspell.
%package voikko
Summary: voikko is integrated for libenchant
Requires: %{name} = %{epoch}:%{version}-%{release}
%description voikko
Applications need libraries integrated by using libenchant with voikko.
%package_help
%prep
%autosetup -n %{name}-%{version} -p1
%build
%configure --disable-ispell --disable-hspell --disable-zemberek --enable-myspell \
--with-myspell-dir=/usr/share/myspell
make %{?_smp_mflags}
%install
make install DESTDIR=%{buildroot}
%delete_la
%ldconfig_scriptlets
%files
%doc AUTHORS
%license COPYING.LIB
%{_bindir}/enchant
%{_bindir}/enchant-lsmod
%{_libdir}/libenchant.so.*
%{_libdir}/enchant/libenchant_myspell.so
%{_datadir}/enchant/enchant.ordering
%files devel
%{_libdir}/libenchant.so
%{_libdir}/pkgconfig/enchant.pc
%{_includedir}/enchant/*.h
%{_libdir}/*.a
%{_libdir}/%{name}/*.a
%files aspell
%{_libdir}/enchant/libenchant_aspell.so
%files voikko
%{_libdir}/enchant/libenchant_voikko.so
%files help
%doc README ChangeLog
%{_mandir}/man1/*.gz
%changelog
* Tue Jul 20 2021 liuyumeng <liuyumeng5@huawei.com> - 1:1.6.1-3
- delete gdb in buildrequires
* Sat Mar 21 2020 openEuler Buildteam <buildteam@openeuler.org> - 1:1.6.1-2
- Type:NA
- Id:NA
- SUG:NA
- DESC:add gdb build require
* Tue Dec 31 2019 openEuler Buildteam <buildteam@openeuler.org> - 1:1.6.1-1
- Type:NA
- Id:NA
- SUG:NA
- DESC:update tarball
* Sat Oct 19 2019 openEuler Buildteam <buildteam@openeuler.org> - 1:1.6.0-23
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:change the directory of the license files
* Thu Aug 22 2019 openEuler Buildteam <buildteam@openeuler.org> - 1:1.6.0-22
- Package Init
1
https://gitee.com/src-openeuler/enchant.git
git@gitee.com:src-openeuler/enchant.git
src-openeuler
enchant
enchant
openEuler-22.03-LTS

搜索帮助