enchant/enchant.spec

114 lines
3.0 KiB
RPMSpec
Raw Normal View History

2019-09-30 10:38:20 -04:00
Name: enchant
2024-01-24 15:37:03 +08:00
Version: 1.6.1
Release: 4
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
export OBJC=%{__cc}
2019-09-30 10:38:20 -04:00
%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-24 15:37:03 +08:00
%{_bindir}/enchant
%{_bindir}/enchant-lsmod
%{_libdir}/libenchant.so.*
%{_libdir}/enchant/libenchant_myspell.so
%{_datadir}/enchant/enchant.ordering
2019-09-30 10:38:20 -04:00
%files devel
2024-01-24 15:37:03 +08:00
%{_libdir}/libenchant.so
%{_libdir}/pkgconfig/enchant.pc
%{_includedir}/enchant/*.h
2019-09-30 10:38:20 -04:00
%{_libdir}/*.a
2024-01-24 15:37:03 +08:00
%{_libdir}/%{name}/*.a
2019-09-30 10:38:20 -04:00
%files aspell
2024-01-24 15:37:03 +08:00
%{_libdir}/enchant/libenchant_aspell.so
2019-09-30 10:38:20 -04:00
%files voikko
2024-01-24 15:37:03 +08:00
%{_libdir}/enchant/libenchant_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
%changelog
* Fri Mar 15 2024 wangqiang <wangqiang1@kylinos.cn> - 1:1.6.1-4
- Fix CC compiler support
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