2007-01-10 16:39:32 +00:00
|
|
|
#
|
2011-09-21 15:41:51 +00:00
|
|
|
# spec file for package enchant
|
2007-01-10 16:39:32 +00:00
|
|
|
#
|
2018-03-09 10:13:23 +00:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
2007-01-10 16:39:32 +00:00
|
|
|
#
|
2009-03-17 16:02:30 +00:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-01-10 16:39:32 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: enchant
|
2018-03-09 10:13:23 +00:00
|
|
|
Version: 2.2.3
|
2013-03-13 23:01:11 +00:00
|
|
|
Release: 0
|
2008-08-02 00:59:25 +00:00
|
|
|
Summary: Generic Spell Checking Library
|
2018-03-09 10:13:23 +00:00
|
|
|
License: LGPL-2.1-or-later
|
2010-04-02 22:10:15 +00:00
|
|
|
Group: Productivity/Text/Spell
|
2018-06-03 10:47:56 +00:00
|
|
|
URL: https://abiword.github.io/enchant/
|
2018-03-09 10:13:23 +00:00
|
|
|
Source: https://github.com/AbiWord/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz
|
2010-08-25 09:40:25 +00:00
|
|
|
Source1: baselibs.conf
|
2010-04-02 22:10:15 +00:00
|
|
|
BuildRequires: dbus-1-glib-devel
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: glib2-devel
|
|
|
|
BuildRequires: hunspell-devel
|
|
|
|
BuildRequires: libvoikko-devel
|
2007-01-10 16:39:32 +00:00
|
|
|
|
|
|
|
%description
|
2008-08-02 00:59:25 +00:00
|
|
|
A library providing an efficient extensible abstraction for dealing
|
|
|
|
with different spell checking libraries.
|
|
|
|
|
2010-08-25 09:40:25 +00:00
|
|
|
%package tools
|
2018-03-12 10:48:49 +00:00
|
|
|
Summary: Command line tools for the Enchant spell checking library
|
2010-08-25 09:40:25 +00:00
|
|
|
Group: Productivity/Text/Spell
|
|
|
|
|
|
|
|
%description tools
|
|
|
|
A library providing an efficient extensible abstraction for dealing
|
|
|
|
with different spell checking libraries.
|
|
|
|
|
|
|
|
This package provides command-line tools to interact with enchant.
|
|
|
|
|
2018-03-09 10:13:23 +00:00
|
|
|
%package data
|
|
|
|
Summary: Data files for libenchant
|
|
|
|
# enchant up to version 1.6.1 was not packaged properly according the SLPP
|
2008-08-02 00:59:25 +00:00
|
|
|
Group: Productivity/Text/Spell
|
2018-03-09 10:13:23 +00:00
|
|
|
Conflicts: libenchant1 < 1.6.1
|
2008-08-02 00:59:25 +00:00
|
|
|
|
2018-03-09 10:13:23 +00:00
|
|
|
%description data
|
|
|
|
A library providing an efficient extensible abstraction for dealing
|
|
|
|
with different spell checking libraries.
|
|
|
|
|
|
|
|
This package provides data/configuration files for libenchant.
|
|
|
|
|
|
|
|
%package -n enchant-2-backend-hunspell
|
2018-03-12 10:48:49 +00:00
|
|
|
Summary: Hunspell backend for the Enchant spell checking library
|
2018-03-09 10:13:23 +00:00
|
|
|
Group: Productivity/Text/Spell
|
2018-06-03 10:47:56 +00:00
|
|
|
Supplements: packageand(libenchant-2-2:%(rpm -q --qf "%%{name}" -f $(readlink -f %{_libdir}/libhunspell.so))
|
2018-03-09 10:13:23 +00:00
|
|
|
Provides: enchant-2-backend
|
|
|
|
|
|
|
|
%description -n enchant-2-backend-hunspell
|
|
|
|
Hunspell plugin for enchant, a library providing an efficient
|
2008-08-02 00:59:25 +00:00
|
|
|
extensible abstraction for dealing with different spell checking
|
|
|
|
libraries.
|
|
|
|
|
2018-03-09 10:13:23 +00:00
|
|
|
%package -n enchant-2-backend-voikko
|
2018-03-12 10:48:49 +00:00
|
|
|
Summary: Voikko backend for the Enchant spell checking library
|
2008-08-02 00:59:25 +00:00
|
|
|
Group: Productivity/Text/Spell
|
2018-06-03 10:47:56 +00:00
|
|
|
Supplements: packageand(libenchant-2-2:%(rpm -q --qf "%%{name}" -f $(readlink -f %{_libdir}/libvoikko.so))
|
2018-03-09 10:13:23 +00:00
|
|
|
Provides: enchant-2-backend
|
|
|
|
Provides: locale(libenchant-2-2:fi)
|
|
|
|
|
|
|
|
%description -n enchant-2-backend-voikko
|
|
|
|
Voikko plugin (Finnish) for enchant, a library providing an efficient
|
|
|
|
extensible abstraction for dealing with different spell checking
|
|
|
|
libraries.
|
|
|
|
|
|
|
|
%package -n libenchant-2-2
|
2008-08-02 00:59:25 +00:00
|
|
|
Summary: Generic Spell Checking Library
|
2007-10-19 02:29:34 +00:00
|
|
|
Group: System/Libraries
|
2018-03-09 10:13:23 +00:00
|
|
|
Requires: enchant-2-backend
|
|
|
|
Requires: enchant-data >= %{version}
|
2018-05-30 13:00:20 +00:00
|
|
|
Suggests: enchant-2-backend-hunspell
|
2007-10-19 02:29:34 +00:00
|
|
|
|
2018-03-09 10:13:23 +00:00
|
|
|
%description -n libenchant-2-2
|
2008-08-02 00:59:25 +00:00
|
|
|
A library providing an efficient extensible abstraction for dealing
|
|
|
|
with different spell checking libraries.
|
2007-10-19 02:29:34 +00:00
|
|
|
|
2007-01-10 16:39:32 +00:00
|
|
|
%package devel
|
2018-03-12 10:48:49 +00:00
|
|
|
Summary: Development files for the Enchant spell checking library
|
2007-10-19 02:29:34 +00:00
|
|
|
Group: Development/Libraries/C and C++
|
2013-03-13 23:01:11 +00:00
|
|
|
Requires: glib2-devel
|
2018-03-09 10:13:23 +00:00
|
|
|
Requires: libenchant-2-2 = %{version}
|
2013-03-13 23:01:11 +00:00
|
|
|
Requires: libstdc++-devel
|
2007-01-10 16:39:32 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains all necessary include files and libraries needed
|
|
|
|
to develop applications that require these.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2018-03-12 10:48:49 +00:00
|
|
|
%configure --disable-static
|
2011-09-21 15:41:51 +00:00
|
|
|
make %{?_smp_mflags}
|
2007-01-10 16:39:32 +00:00
|
|
|
|
|
|
|
%install
|
2018-03-09 10:13:23 +00:00
|
|
|
%make_install
|
2010-04-02 22:10:15 +00:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2007-01-10 16:39:32 +00:00
|
|
|
|
2018-03-09 10:13:23 +00:00
|
|
|
%post -n libenchant-2-2 -p /sbin/ldconfig
|
|
|
|
%postun -n libenchant-2-2 -p /sbin/ldconfig
|
2007-01-10 16:39:32 +00:00
|
|
|
|
2010-08-25 09:40:25 +00:00
|
|
|
%files tools
|
2018-03-09 10:13:23 +00:00
|
|
|
%{_bindir}/enchant-2
|
|
|
|
%{_bindir}/enchant-lsmod-2
|
|
|
|
%{_mandir}/man1/enchant-2.1%{?ext_man}
|
|
|
|
%{_mandir}/man1/enchant-lsmod-2.1%{?ext_man}
|
|
|
|
|
|
|
|
%files -n libenchant-2-2
|
|
|
|
%license COPYING.LIB
|
|
|
|
%doc AUTHORS ChangeLog NEWS README
|
2007-10-19 02:29:34 +00:00
|
|
|
%{_libdir}/*.so.*
|
2018-03-09 10:13:23 +00:00
|
|
|
%dir %{_libdir}/enchant-2
|
|
|
|
|
|
|
|
%files -n enchant-2-backend-hunspell
|
|
|
|
%dir %{_libdir}/enchant-2
|
|
|
|
%{_libdir}/enchant-2/enchant_hunspell.so
|
|
|
|
|
|
|
|
%files -n enchant-2-backend-voikko
|
|
|
|
%dir %{_libdir}/enchant-2
|
|
|
|
%{_libdir}/enchant-2/enchant_voikko.so
|
|
|
|
|
|
|
|
%files data
|
2010-08-25 09:40:25 +00:00
|
|
|
# The directories are not versioned, unfortunately. Not good for the SLPP.
|
2018-03-09 10:13:23 +00:00
|
|
|
%dir %{_datadir}/enchant
|
|
|
|
%{_datadir}/enchant/enchant.ordering
|
2007-01-10 16:39:32 +00:00
|
|
|
|
|
|
|
%files devel
|
2018-03-09 10:13:23 +00:00
|
|
|
%{_includedir}/enchant-2
|
2007-01-10 16:39:32 +00:00
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
2008-05-17 00:14:42 +00:00
|
|
|
|
2007-10-19 02:29:34 +00:00
|
|
|
%changelog
|