2024-01-05 20:34:56 +01:00
|
|
|
%define majversion %(echo %version | cut -d. -f 1-2)
|
|
|
|
|
|
|
|
Name: aspell
|
2024-01-05 20:34:56 +01:00
|
|
|
Version: 0.60.7
|
|
|
|
Release: 1mamba
|
2024-01-05 20:34:56 +01:00
|
|
|
Summary: A Free and Open Source interactive spelling checker program
|
|
|
|
Group: System/Internationalization
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://aspell.net
|
|
|
|
Source: ftp://ftp.gnu.org/gnu/aspell/aspell-%{version}.tar.gz
|
|
|
|
License: GPL
|
2024-01-05 20:34:56 +01:00
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libncurses-devel
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 20:34:56 +01:00
|
|
|
BuildRequires: gettext-devel
|
2024-01-05 20:34:56 +01:00
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-05 20:34:56 +01:00
|
|
|
Requires(post):%{__install_info}
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
# FIXME:
|
|
|
|
# checking for wide character support in curses libraray... no
|
|
|
|
# configure: WARNING: Aspell will not be able to Display UTF-8 characters correctly
|
|
|
|
# -- conftest.cpp:45: error: 'addnwstr' was not declared in this scope
|
|
|
|
|
|
|
|
%description
|
|
|
|
GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell.
|
|
|
|
It can either be used as a library or as an independent spell checker.
|
|
|
|
Its main feature is that it does a much better job of coming up with possible suggestions than just about any other spell checker out there for the English language, including 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.
|
|
|
|
|
2024-01-05 20:34:56 +01:00
|
|
|
%package -n lib%{name}
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Shared libraries for %{name}
|
|
|
|
|
|
|
|
%description -n lib%{name}
|
|
|
|
GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell.
|
|
|
|
It can either be used as a library or as an independent spell checker.
|
|
|
|
Its main feature is that it does a much better job of coming up with possible suggestions than just about any other spell checker out there for the English language, including 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.
|
|
|
|
|
|
|
|
This package contains shared libraries for %{name}.
|
|
|
|
|
|
|
|
%package -n lib%{name}-devel
|
2024-01-05 20:34:56 +01:00
|
|
|
Summary: Devel package for aspell
|
|
|
|
Group: Development/Libraries
|
2024-01-05 20:34:56 +01:00
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-05 20:34:56 +01:00
|
|
|
Provides: aspell-devel
|
|
|
|
Obsoletes: aspell-devel
|
2024-01-05 20:34:56 +01:00
|
|
|
|
2024-01-05 20:34:56 +01:00
|
|
|
%description -n lib%{name}-devel
|
2024-01-05 20:34:56 +01:00
|
|
|
GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell.
|
|
|
|
It can either be used as a library or as an independent spell checker.
|
|
|
|
Its main feature is that it does a much better job of coming up with possible suggestions than just about any other spell checker out there for the English language, including 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.
|
|
|
|
|
|
|
|
This is the development package.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --enable-curses=ncursesw
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%post
|
|
|
|
%install_info %{name}.info
|
|
|
|
|
|
|
|
%preun
|
|
|
|
%uninstall_info %{name}.info
|
|
|
|
exit 0
|
|
|
|
|
2024-01-05 20:34:56 +01:00
|
|
|
%post -n lib%{name} -p /sbin/ldconfig
|
|
|
|
%postun -n lib%{name} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%post -n lib%{name}-devel
|
2024-01-05 20:34:56 +01:00
|
|
|
%install_info %{name}-dev.info
|
|
|
|
|
2024-01-05 20:34:56 +01:00
|
|
|
%preun -n lib%{name}-devel
|
2024-01-05 20:34:56 +01:00
|
|
|
%uninstall_info %{name}-dev.info
|
|
|
|
exit 0
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/aspell
|
|
|
|
%{_bindir}/aspell-import
|
|
|
|
%{_bindir}/precat
|
|
|
|
%{_bindir}/preunzip
|
|
|
|
%{_bindir}/prezip
|
|
|
|
%{_bindir}/prezip-bin
|
|
|
|
%{_bindir}/run-with-aspell
|
|
|
|
%{_bindir}/word-list-compress
|
2024-01-05 20:34:56 +01:00
|
|
|
%{_infodir}/aspell.*
|
|
|
|
%{_mandir}/man1/aspell-import.*
|
|
|
|
%{_mandir}/man1/aspell.*
|
|
|
|
%{_mandir}/man1/prezip-bin.*
|
|
|
|
%{_mandir}/man1/run-with-aspell.*
|
|
|
|
%{_mandir}/man1/word-list-compress.*
|
|
|
|
%doc COPYING README TODO
|
|
|
|
|
|
|
|
%files -n lib%{name}
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libaspell.so.*
|
|
|
|
%{_libdir}/libpspell.so.*
|
2024-01-05 20:34:56 +01:00
|
|
|
%{_libdir}/%{name}-%{majversion}/ispell
|
|
|
|
%{_libdir}/%{name}-%{majversion}/spell
|
|
|
|
%{_libdir}/%{name}-%{majversion}/*.amf
|
|
|
|
%{_libdir}/%{name}-%{majversion}/*.cmap
|
|
|
|
%{_libdir}/%{name}-%{majversion}/*.cset
|
|
|
|
%{_libdir}/%{name}-%{majversion}/*.kbd
|
|
|
|
%{_libdir}/%{name}-%{majversion}/*.info
|
|
|
|
%{_libdir}/%{name}-%{majversion}/*.la
|
|
|
|
%{_libdir}/%{name}-%{majversion}/*.so
|
|
|
|
|
2024-01-05 20:34:56 +01:00
|
|
|
%files -n lib%{name}-devel
|
2024-01-05 20:34:56 +01:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/pspell-config
|
2024-01-05 20:34:56 +01:00
|
|
|
%{_libdir}/libaspell.la
|
|
|
|
%{_libdir}/libpspell.la
|
|
|
|
%{_libdir}/libaspell.so
|
|
|
|
%{_libdir}/libpspell.so
|
2024-01-05 20:34:56 +01:00
|
|
|
%{_includedir}/aspell.h
|
2024-01-05 20:34:56 +01:00
|
|
|
%dir %{_includedir}/pspell
|
2024-01-05 20:34:56 +01:00
|
|
|
%{_includedir}/pspell/pspell.h
|
|
|
|
%{_infodir}/aspell-dev.*
|
|
|
|
%{_mandir}/man1/pspell-config.*
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 20:34:56 +01:00
|
|
|
* Tue Jul 30 2019 Automatic Build System <autodist@mambasoft.it> 0.60.7-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 20:34:56 +01:00
|
|
|
* Sun Oct 26 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.60.6.1-3mamba
|
|
|
|
- libaspell-devel: provide/obsolete aspell-devel
|
|
|
|
|
2024-01-05 20:34:56 +01:00
|
|
|
* Sat Oct 25 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.60.6.1-2mamba
|
|
|
|
- add library package
|
|
|
|
|
2024-01-05 20:34:56 +01:00
|
|
|
* Sun Jul 10 2011 Automatic Build System <autodist@mambasoft.it> 0.60.6.1-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Tue Jan 06 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.60.6-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Wed Nov 14 2007 Aleph0 <aleph0@openmamba.org> 0.60.5-1mamba
|
|
|
|
- update to 0.60.5
|
|
|
|
|
|
|
|
* Tue Dec 06 2005 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 0.60.4-1qilnx
|
|
|
|
- update to version 0.60.4 by autospec
|
|
|
|
|
|
|
|
* Thu Aug 11 2005 Davide Madrisan <davide.madrisan@qilinux.it> 0.60.3-1qilnx
|
|
|
|
- update to version 0.60.3 by autospec
|
|
|
|
|
|
|
|
* Fri Apr 15 2005 Davide Madrisan <davide.madrisan@qilinux.it> 0.60.2-1qilnx
|
|
|
|
- update to version 0.60.2 by autospec
|
|
|
|
- %%post, %%preun: install/uninstall info pages
|
|
|
|
|
|
|
|
* Tue Nov 16 2004 Davide Madrisan <davide.madrisan@qilinux.it> 0.60.1-1qilnx
|
|
|
|
- update to version 0.60.1 by autospec
|
|
|
|
|
|
|
|
* Mon Jun 28 2004 Davide Madrisan <davide.madrisan@qilinux.it> 0.50.5-1qilnx
|
|
|
|
- updated to 0.50.5
|
|
|
|
- security fix against CAN-2004-0548 (stack overflow vulnerability in
|
|
|
|
word-list-compress)
|
|
|
|
|
|
|
|
* Tue Jul 29 2003 Silvan Calarco <silvan.calarco@qinet.it> 0.50.3-1qilnx
|
|
|
|
- first build of aspell
|