enchant/enchant.spec

115 lines
3.1 KiB
RPMSpec
Raw Normal View History

2019-09-30 10:38:20 -04:00
Name: enchant
2024-01-16 15:51:39 +08:00
Version: 2.6.5
Release: 1
2019-09-30 10:38:20 -04:00
Epoch: 1
Summary: Generic spell checking library
License: LGPLv2+
URL: https://github.com/AbiWord/enchant
2019-12-31 18:42:20 +08:00
Source0: https://github.com/AbiWord/enchant/releases/download/enchant-1-6-1/%{name}-%{version}.tar.gz
2019-09-30 10:38:20 -04:00
BuildRequires: aspell-devel automake gcc-c++ hunspell-devel libtool libvoikko-devel
2021-07-20 15:58:55 +08:00
BuildRequires: glib2-devel >= 2.6.0
2019-09-30 10:38:20 -04:00
%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
2019-11-06 19:06:30 +08:00
%doc AUTHORS
%license COPYING.LIB
2024-01-16 15:51:39 +08:00
%{_bindir}/enchant-2
%{_bindir}/enchant-lsmod-2
%{_libdir}/libenchant-2.so.*
%{_datadir}/enchant-2/enchant.ordering
2019-09-30 10:38:20 -04:00
%files devel
2024-01-16 15:51:39 +08:00
%{_libdir}/libenchant-2.so
%{_libdir}/pkgconfig/enchant-2.pc
%{_includedir}/enchant-2/*.h
2019-09-30 10:38:20 -04:00
%{_libdir}/*.a
2024-01-16 15:51:39 +08:00
%{_libdir}/%{name}-2/*.a
2019-09-30 10:38:20 -04:00
%files aspell
2024-01-16 15:51:39 +08:00
%{_libdir}/enchant-2/enchant_aspell.so
%{_libdir}/enchant-2/enchant_hunspell.so
2019-09-30 10:38:20 -04:00
%files voikko
2024-01-16 15:51:39 +08:00
%{_libdir}/enchant-2/enchant_voikko.so
2019-09-30 10:38:20 -04:00
%files help
2019-11-06 19:06:30 +08:00
%doc README ChangeLog
2019-09-30 10:38:20 -04:00
%{_mandir}/man1/*.gz
2024-01-16 15:51:39 +08:00
%{_mandir}/man5/*.gz
%{_docdir}/enchant/*.html
2019-09-30 10:38:20 -04:00
%changelog
2024-01-16 15:51:39 +08:00
* Tue Jan 16 2024 wangqia <wangqia@uniontech.com> - 1:2.6.5-1
- Update to upstream version 2.6.5
2022-05-16 16:24:26 +08:00
* Tue Jul 20 2021 liuyumeng <liuyumeng5@huawei.com> - 1:1.6.1-3
2021-07-20 15:58:55 +08:00
- delete gdb in buildrequires
2020-03-21 19:19:28 +08:00
* 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
2019-12-31 18:42:20 +08:00
* Tue Dec 31 2019 openEuler Buildteam <buildteam@openeuler.org> - 1:1.6.1-1
- Type:NA
- Id:NA
- SUG:NA
- DESC:update tarball
2019-11-06 19:06:30 +08:00
* 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
2019-09-30 10:38:20 -04:00
* Thu Aug 22 2019 openEuler Buildteam <buildteam@openeuler.org> - 1:1.6.0-22
- Package Init