Accepting request 86899 from Publishing

change to hunspell as default spellchecker

OBS-URL: https://build.opensuse.org/request/show/86899
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lyx?expand=0&rev=46
This commit is contained in:
Ruediger Oertel 2011-10-06 15:23:26 +00:00 committed by Git OBS Bridge
commit c5c8391fcd
2 changed files with 11 additions and 3 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Oct 6 09:18:47 UTC 2011 - cornelis@solcon.nl
- Make hunspell default spellchecker and remove aspell (seems reasonable to have the same spellchecker as libreoffice, thunderbird, firefox, and hunspell seems future for system default, as fedora already has, see also FATE #305688)
- Add enchant support (usefull for a few languages)
-------------------------------------------------------------------
Mon Sep 19 11:02:08 UTC 2011 - cornelis@solcon.nl

View File

@ -19,7 +19,7 @@
Name: lyx
#!BuildIgnore: lyx
BuildRequires: aspell-devel boost-devel fdupes hunspell-devel libqt4-devel python update-desktop-files
BuildRequires: boost-devel enchant-devel fdupes hunspell-devel libqt4-devel python update-desktop-files
License: LGPLv2.1+
Group: Productivity/Publishing/TeX/Frontends
Version: 2.0.1
@ -46,7 +46,7 @@ level attributes ("large italic") but high level layouts (styles) for
each paragraph. Of course, low level formatting is still possible.
%prep
%setup -q -n %{name}-%{version}
%setup -q
%patch0
# Remove build time references so build-compare can do its work
FAKE_BUILDTIME=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%H:%%M')
@ -59,7 +59,9 @@ sed -i "s/__DATE__/\"$FAKE_BUILDDATE\"/" src/LyX.cpp
TEXMF=%{_datadir}/texmf
%configure \
--without-included-boost \
--with-aspell --with-hunspell \
--without-aspell \
--with-hunspell \
--with-enchant \
--with-frontend=qt4
make %{?_smp_mflags}