2007-01-12 01:16:55 +01:00
|
|
|
#
|
2011-10-03 09:12:38 +02:00
|
|
|
# spec file for package aspell
|
2007-01-12 01:16:55 +01:00
|
|
|
#
|
2024-01-02 12:32:40 +01:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2007-01-12 01:16:55 +01:00
|
|
|
#
|
2008-09-15 01:29:20 +02: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.
|
|
|
|
|
2019-10-15 09:47:43 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-12 01:16:55 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: aspell
|
2024-01-02 12:32:40 +01:00
|
|
|
Version: 0.60.8.1
|
2012-02-09 03:35:06 +01:00
|
|
|
Release: 0
|
2017-02-11 19:13:39 +01:00
|
|
|
Summary: A Spell Checker
|
2019-10-15 09:47:43 +02:00
|
|
|
License: GFDL-1.1-or-later AND LGPL-2.1-only AND HPND AND SUSE-BSD-Mark-Modifications
|
2019-10-21 10:15:18 +02:00
|
|
|
Group: Productivity/Text/Spell
|
2020-10-08 16:19:15 +02:00
|
|
|
URL: http://aspell.net/
|
2022-07-07 14:29:00 +02:00
|
|
|
Source0: https://ftp.gnu.org/gnu/aspell/%{name}-%{version}.tar.gz
|
|
|
|
Source1: https://ftp.gnu.org/gnu/aspell/%{name}-%{version}.tar.gz.sig
|
2015-12-02 09:53:25 +01:00
|
|
|
Source2: %{name}.keyring
|
2011-10-04 19:46:01 +02:00
|
|
|
Source100: baselibs.conf
|
|
|
|
# PATCH-FIX-OPENSUSE aspell-strict-aliasing.patch pnemec@suse.cz -- Fix gcc strict aliasing warnings
|
|
|
|
Patch0: aspell-strict-aliasing.patch
|
|
|
|
# PATCH-FIX-OPENSUSE aspell-quotes.patch lmichnovic@suse.cz -- Fix command execution in script "run-with-aspell"
|
|
|
|
Patch1: aspell-quotes.patch
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: libtool
|
|
|
|
BuildRequires: ncurses-devel
|
|
|
|
Requires(post): info
|
2021-08-02 16:35:11 +02:00
|
|
|
Requires(preun):info
|
2007-01-12 01:16:55 +01:00
|
|
|
Recommends: aspell-en
|
2011-10-04 19:46:01 +02:00
|
|
|
Suggests: aspell-ispell
|
|
|
|
Suggests: aspell-spell
|
|
|
|
Provides: pspell = %{version}
|
|
|
|
Obsoletes: pspell < %{version}
|
2007-01-12 01:16:55 +01:00
|
|
|
|
|
|
|
%description
|
2017-02-11 19:13:39 +01:00
|
|
|
GNU Aspell is a spell checker planned to eventually replace Ispell. It
|
2007-01-12 01:16:55 +01:00
|
|
|
can be used as a library or as an independent spell checker.
|
|
|
|
|
2017-02-11 19:13:39 +01:00
|
|
|
Its main feature is an improved method for finding possible
|
|
|
|
suggestions for the English language, arguably surpassing Ispell and
|
|
|
|
Microsoft Word. It also has many other technical enhancements over
|
|
|
|
Ispell, such as using shared memory for dictionaries and
|
|
|
|
intelligently handling personal dictionaries when more than one
|
|
|
|
Aspell process is open at once.
|
2007-01-12 01:16:55 +01:00
|
|
|
|
|
|
|
%package devel
|
2011-10-04 19:46:01 +02:00
|
|
|
Summary: Include Files and Libraries Mandatory for Development with aspell
|
2019-10-21 10:15:18 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
2011-10-04 19:46:01 +02:00
|
|
|
Requires: glibc-devel
|
|
|
|
Requires: libaspell15 = %{version}
|
|
|
|
Requires: libpspell15 = %{version}
|
|
|
|
Requires(post): info
|
2021-08-02 16:35:11 +02:00
|
|
|
Requires(preun):info
|
2011-10-04 19:46:01 +02:00
|
|
|
Provides: pspell-devel = %{version}
|
|
|
|
Obsoletes: pspell-devel < %{version}
|
2007-01-12 01:16:55 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains all necessary include files and libraries needed
|
2011-10-04 19:46:01 +02:00
|
|
|
to develop applications that require aspell.
|
2008-11-21 15:12:37 +01:00
|
|
|
|
2008-09-15 01:29:20 +02:00
|
|
|
%package ispell
|
2011-10-04 19:46:01 +02:00
|
|
|
Summary: GNU Aspell - Ispell compatibility
|
2019-10-21 10:15:18 +02:00
|
|
|
Group: Productivity/Text/Spell
|
2011-10-04 19:46:01 +02:00
|
|
|
Requires: %{name} = %{version}
|
2008-09-15 01:29:20 +02:00
|
|
|
Conflicts: ispell
|
|
|
|
|
|
|
|
%description ispell
|
2017-02-11 19:13:39 +01:00
|
|
|
GNU Aspell is a spell checker planned to eventually replace Ispell. It
|
2008-09-15 01:29:20 +02:00
|
|
|
can be used as a library or as an independent spell checker.
|
|
|
|
|
2011-10-04 19:46:01 +02:00
|
|
|
This package contains an ispell script for compatibility reasons so that
|
|
|
|
programs that expect the "ispell" command will work correctly.
|
|
|
|
|
|
|
|
%package spell
|
|
|
|
Summary: GNU Aspell - Spell compatibility
|
2019-10-21 10:15:18 +02:00
|
|
|
Group: Productivity/Text/Spell
|
2011-10-04 19:46:01 +02:00
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Provides: spell
|
|
|
|
|
|
|
|
%description spell
|
2017-02-11 19:13:39 +01:00
|
|
|
GNU Aspell is a spell checker planned to eventually replace Ispell. It
|
2011-10-04 19:46:01 +02:00
|
|
|
can be used as a library or as an independent spell checker.
|
2008-09-15 01:29:20 +02:00
|
|
|
|
2011-10-04 19:46:01 +02:00
|
|
|
This package contains a spell script for compatibility reasons so that programs
|
|
|
|
that expect the "spell" command will work correctly.
|
2008-09-15 01:29:20 +02:00
|
|
|
|
2011-10-04 19:46:01 +02:00
|
|
|
%package -n libaspell15
|
|
|
|
Summary: GNU Aspell Library
|
2019-10-21 10:15:18 +02:00
|
|
|
Group: System/Libraries
|
2011-10-04 19:46:01 +02:00
|
|
|
|
|
|
|
%description -n libaspell15
|
2017-02-11 19:13:39 +01:00
|
|
|
GNU Aspell is a spell checker planned to eventually replace Ispell. It
|
2011-10-04 19:46:01 +02:00
|
|
|
can be used as a library or as an independent spell checker.
|
|
|
|
|
|
|
|
This package contains the aspell library.
|
|
|
|
|
|
|
|
%package -n libpspell15
|
|
|
|
Summary: GNU Aspell - Pspell Compatibility Library
|
2019-10-21 10:15:18 +02:00
|
|
|
Group: System/Libraries
|
2020-10-09 16:20:29 +02:00
|
|
|
Recommends: aspell-en
|
2011-10-04 19:46:01 +02:00
|
|
|
|
|
|
|
%description -n libpspell15
|
2017-02-11 19:13:39 +01:00
|
|
|
GNU Aspell is a spell checker planned to eventually replace Ispell. It
|
2011-10-04 19:46:01 +02:00
|
|
|
can be used as a library or as an independent spell checker.
|
|
|
|
|
|
|
|
This package contains the pspell compatibility library.
|
2008-09-15 01:29:20 +02:00
|
|
|
|
2007-01-12 01:16:55 +01:00
|
|
|
%prep
|
2021-08-02 16:35:11 +02:00
|
|
|
%autosetup -p1
|
2007-01-12 01:16:55 +01:00
|
|
|
|
|
|
|
%build
|
2012-02-24 22:15:00 +01:00
|
|
|
autoreconf -fiv
|
2015-12-02 09:53:25 +01:00
|
|
|
export CXXFLAGS="%{optflags} `ncursesw6-config --cflags`"
|
2012-02-24 22:15:00 +01:00
|
|
|
#this is an ugly kludge , don't look :-)
|
|
|
|
export LDFLAGS="`ncursesw6-config --libs`"
|
2011-10-04 19:46:01 +02:00
|
|
|
%configure \
|
2015-12-02 09:53:25 +01:00
|
|
|
--enable-curses="-lncursesw" \
|
|
|
|
--disable-rpath
|
2011-10-04 19:46:01 +02:00
|
|
|
|
2020-10-08 16:19:15 +02:00
|
|
|
%make_build
|
2007-01-12 01:16:55 +01:00
|
|
|
|
|
|
|
%install
|
2011-10-04 19:46:01 +02:00
|
|
|
%make_install
|
|
|
|
# Links for compatibility reasons (ispell and spell)
|
|
|
|
ln -s %{_libdir}/aspell-0.60/ispell %{buildroot}%{_bindir}
|
|
|
|
ln -s %{_libdir}/aspell-0.60/spell %{buildroot}%{_bindir}
|
2015-12-02 09:53:25 +01:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2011-10-04 19:46:01 +02:00
|
|
|
%fdupes -s %{buildroot}
|
|
|
|
|
2007-08-15 20:20:48 +02:00
|
|
|
%find_lang %{name}
|
2007-01-12 01:16:55 +01:00
|
|
|
|
|
|
|
%post
|
2011-10-04 19:46:01 +02:00
|
|
|
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info%{ext_info}
|
2007-01-12 01:16:55 +01:00
|
|
|
|
2011-10-04 19:46:01 +02:00
|
|
|
%preun
|
|
|
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info%{ext_info}
|
2007-01-12 01:16:55 +01:00
|
|
|
|
|
|
|
%post devel
|
2011-10-04 19:46:01 +02:00
|
|
|
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}-dev.info%{ext_info}
|
|
|
|
|
|
|
|
%preun devel
|
|
|
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}-dev.info%{ext_info}
|
|
|
|
|
|
|
|
%post -n libaspell15 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libaspell15 -p /sbin/ldconfig
|
2007-01-12 01:16:55 +01:00
|
|
|
|
2011-10-04 19:46:01 +02:00
|
|
|
%post -n libpspell15 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libpspell15 -p /sbin/ldconfig
|
2007-01-12 01:16:55 +01:00
|
|
|
|
2007-08-15 20:20:48 +02:00
|
|
|
%files -f %{name}.lang
|
2020-10-08 16:19:15 +02:00
|
|
|
%license COPYING
|
|
|
|
%doc README TODO
|
2011-10-04 19:46:01 +02:00
|
|
|
%doc manual/aspell.html/
|
2007-01-12 01:16:55 +01:00
|
|
|
%{_bindir}/aspell
|
|
|
|
%{_bindir}/aspell-import
|
2011-10-04 19:46:01 +02:00
|
|
|
%{_bindir}/pre*
|
2007-01-12 01:16:55 +01:00
|
|
|
%{_bindir}/run-with-aspell
|
|
|
|
%{_bindir}/word-list-compress
|
2015-12-02 09:53:25 +01:00
|
|
|
%{_infodir}/%{name}.info%{ext_info}
|
|
|
|
%{_mandir}/man1/*.1%{ext_man}
|
2011-10-04 19:46:01 +02:00
|
|
|
%exclude %{_mandir}/man1/pspell-config.1%{ext_man}
|
2007-01-12 01:16:55 +01:00
|
|
|
|
|
|
|
%files devel
|
2011-10-04 19:46:01 +02:00
|
|
|
%doc manual/aspell-dev.html/
|
2007-01-12 01:16:55 +01:00
|
|
|
%{_bindir}/pspell-config
|
2011-10-04 19:46:01 +02:00
|
|
|
%{_includedir}/pspell/
|
|
|
|
%{_includedir}/*.h
|
2007-01-12 01:16:55 +01:00
|
|
|
%{_libdir}/libaspell.so
|
|
|
|
%{_libdir}/libpspell.so
|
2015-12-02 09:53:25 +01:00
|
|
|
%{_infodir}/%{name}-dev.info%{ext_info}
|
|
|
|
%{_mandir}/man1/pspell-config.1%{ext_man}
|
2008-04-10 13:06:35 +02:00
|
|
|
|
2008-09-15 01:29:20 +02:00
|
|
|
%files ispell
|
|
|
|
%{_bindir}/ispell
|
|
|
|
|
2011-10-04 19:46:01 +02:00
|
|
|
%files spell
|
|
|
|
%{_bindir}/spell
|
|
|
|
|
|
|
|
%files -n libaspell15
|
|
|
|
%{_libdir}/aspell-0.60/
|
|
|
|
%{_libdir}/libaspell.so.15*
|
|
|
|
|
|
|
|
%files -n libpspell15
|
|
|
|
%{_libdir}/libpspell.so.15*
|
|
|
|
|
2007-04-01 12:03:01 +02:00
|
|
|
%changelog
|