2024-01-05 23:44:28 +01:00
|
|
|
%define majver %(echo %version| cut -d. -f1-2)
|
|
|
|
Name: hunspell
|
2024-01-05 23:44:28 +01:00
|
|
|
Version: 1.5.4
|
2024-01-05 23:44:28 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: The default spell checker of OpenOffice.org office suite
|
|
|
|
Group: System/Tools
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://hunspell.sourceforge.net/
|
2024-01-05 23:44:28 +01:00
|
|
|
Source: https://github.com/hunspell/hunspell.git/v%{version}/hunspell-%{version}.tar.bz2
|
|
|
|
#Source: http://downloads.sourceforge.net/hunspell/hunspell-%{version}.tar.gz
|
2024-01-05 23:44:28 +01:00
|
|
|
Patch0: %{name}-1.1.11-lib_noversion.patch
|
|
|
|
Patch1: %{name}-1.2.8-defaultlanguage.patch
|
|
|
|
License: GPL, LGPL, MPL 1.1
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libncurses-devel
|
|
|
|
BuildRequires: libreadline-devel
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
Hunspell is the default spell checker of OpenOffice.org office suite and expectant spell checker of Mozilla Firefox and Thunderbird.
|
|
|
|
Main features:
|
|
|
|
*Unicode support.
|
|
|
|
*Conditional and multiple affixes for languages with rich morphology.
|
|
|
|
*Extended compound word support.
|
|
|
|
*Morphological analysis (in custom item and arrangement style).
|
|
|
|
*Hunspell is based on MySpell and works also with MySpell dictionaries.
|
|
|
|
*GPL/LGPL/MPL tri-license.
|
|
|
|
|
|
|
|
%package -n libhunspell
|
|
|
|
Summary: Library for the default spell checker of OpenOffice.org office suite
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
|
|
|
%description -n libhunspell
|
|
|
|
Hunspell is the default spell checker of OpenOffice.org office suite and expectant spell checker of Mozilla Firefox and Thunderbird.
|
|
|
|
Main features:
|
|
|
|
*Unicode support.
|
|
|
|
*Conditional and multiple affixes for languages with rich morphology.
|
|
|
|
*Extended compound word support.
|
|
|
|
*Morphological analysis (in custom item and arrangement style).
|
|
|
|
*Hunspell is based on MySpell and works also with MySpell dictionaries.
|
|
|
|
*GPL/LGPL/MPL tri-license.
|
|
|
|
|
|
|
|
%package -n libhunspell-devel
|
|
|
|
Summary: Devel package for %{name}
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: libhunspell = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description -n libhunspell-devel
|
|
|
|
Hunspell is the default spell checker of OpenOffice.org office suite and expectant spell checker of Mozilla Firefox and Thunderbird.
|
|
|
|
Main features:
|
|
|
|
*Unicode support.
|
|
|
|
*Conditional and multiple affixes for languages with rich morphology.
|
|
|
|
*Extended compound word support.
|
|
|
|
*Morphological analysis (in custom item and arrangement style).
|
|
|
|
*Hunspell is based on MySpell and works also with MySpell dictionaries.
|
|
|
|
*GPL/LGPL/MPL tri-license.
|
|
|
|
|
|
|
|
This package contains static libraries and header files need for development.
|
|
|
|
|
|
|
|
%prep
|
2024-01-05 23:44:28 +01:00
|
|
|
%setup -q
|
2024-01-05 23:44:28 +01:00
|
|
|
#%patch0 -p1
|
|
|
|
#%patch1 -p1
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure \
|
|
|
|
--with-ui \
|
|
|
|
--with-readline
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
2024-01-05 23:44:28 +01:00
|
|
|
#%find_lang %{name}
|
2024-01-05 23:44:28 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/affixcompress
|
|
|
|
%{_bindir}/analyze
|
|
|
|
%{_bindir}/chmorph
|
|
|
|
%{_bindir}/hunspell
|
|
|
|
%{_bindir}/hunzip
|
|
|
|
%{_bindir}/hzip
|
|
|
|
%{_bindir}/ispellaff2myspell
|
|
|
|
%{_bindir}/makealias
|
|
|
|
%{_bindir}/munch
|
|
|
|
%{_bindir}/unmunch
|
|
|
|
%{_bindir}/wordforms
|
|
|
|
%{_bindir}/wordlist2hunspell
|
2024-01-05 23:44:28 +01:00
|
|
|
%{_mandir}/man1/hunspell.1*
|
|
|
|
%{_mandir}/man1/hunzip.1*
|
|
|
|
%{_mandir}/man1/hzip.1*
|
|
|
|
%{_mandir}/man5/hunspell.5*
|
|
|
|
%{_mandir}/hu/man1/hunspell.1*
|
2024-01-05 23:44:28 +01:00
|
|
|
|
2024-01-05 23:44:28 +01:00
|
|
|
%files -n libhunspell
|
|
|
|
#-f %{name}.lang
|
2024-01-05 23:44:28 +01:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libhunspell-%{majver}.so.*
|
2024-01-05 23:44:28 +01:00
|
|
|
%doc AUTHORS COPYING
|
2024-01-05 23:44:28 +01:00
|
|
|
|
|
|
|
%files -n libhunspell-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/hunspell
|
|
|
|
%{_includedir}/hunspell/*.h
|
|
|
|
%{_includedir}/hunspell/*.hxx
|
|
|
|
%{_libdir}/libhunspell-%{majver}.a
|
|
|
|
%{_libdir}/libhunspell-%{majver}.la
|
|
|
|
%{_libdir}/libhunspell-%{majver}.so
|
|
|
|
%{_libdir}/pkgconfig/hunspell.pc
|
2024-01-05 23:44:28 +01:00
|
|
|
#%{_libdir}/libparsers.a
|
|
|
|
%{_mandir}/man3/hunspell.3*
|
|
|
|
%doc BUGS ChangeLog ChangeLog.O NEWS README README.myspell
|
|
|
|
%doc THANKS TODO
|
2024-01-05 23:44:28 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-05 23:44:28 +01:00
|
|
|
* Fri Dec 02 2016 Automatic Build System <autodist@mambasoft.it> 1.5.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Dec 01 2016 Automatic Build System <autodist@mambasoft.it> 1.5.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:44:28 +01:00
|
|
|
* Tue Jun 21 2016 Automatic Build System <autodist@mambasoft.it> 1.4.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:44:28 +01:00
|
|
|
* Wed Feb 03 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.4-1mamba
|
|
|
|
- update to 1.3.4
|
|
|
|
|
2024-01-05 23:44:28 +01:00
|
|
|
* Mon Jun 09 2014 Automatic Build System <autodist@mambasoft.it> 1.3.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:44:28 +01:00
|
|
|
* Wed Feb 23 2011 Automatic Build System <autodist@mambasoft.it> 1.3.2-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Mon Jan 03 2011 Automatic Build System <autodist@mambasoft.it> 1.2.13-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Fri Jul 23 2010 Automatic Build System <autodist@mambasoft.it> 1.2.12-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sat May 29 2010 Automatic Build System <autodist@mambasoft.it> 1.2.11-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Thu Jul 02 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.8-2mamba
|
|
|
|
- added defaultlanguage.patch
|
|
|
|
- added --with-ui and --with-readline configure options
|
|
|
|
|
|
|
|
* Tue Jan 27 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.8-1mamba
|
|
|
|
- update to 1.2.8
|
|
|
|
|
|
|
|
* Wed Aug 29 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 2-1mamba
|
|
|
|
- package created by autospec
|