From 493267620380f2b32af8d9d65f93b91dfeda5f09bd3c3f71daa2d04a72061b60 Mon Sep 17 00:00:00 2001 From: Cor Blom Date: Sun, 25 Sep 2011 20:53:25 +0000 Subject: [PATCH 1/6] use xz compression instead of gz OBS-URL: https://build.opensuse.org/package/show/Publishing/lyx?expand=0&rev=38 --- lyx-2.0.1.tar.gz | 3 --- lyx-2.0.1.tar.xz | 3 +++ lyx.changes | 5 +++++ lyx.spec | 2 +- 4 files changed, 9 insertions(+), 4 deletions(-) delete mode 100644 lyx-2.0.1.tar.gz create mode 100644 lyx-2.0.1.tar.xz diff --git a/lyx-2.0.1.tar.gz b/lyx-2.0.1.tar.gz deleted file mode 100644 index 9ef71ca..0000000 --- a/lyx-2.0.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9349359e0df8da414f3a973647d6d095b729ceef0b469640bff724e673a8e9a8 -size 18613212 diff --git a/lyx-2.0.1.tar.xz b/lyx-2.0.1.tar.xz new file mode 100644 index 0000000..dd7561e --- /dev/null +++ b/lyx-2.0.1.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a58b7e0f27afce0497fffec0d19fc95fb1b3ac36818e8d02ecaf9e882c8f3852 +size 10119588 diff --git a/lyx.changes b/lyx.changes index c5f189a..adaf473 100644 --- a/lyx.changes +++ b/lyx.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Sep 25 20:53:33 UTC 2011 - cornelis@solcon.nl + +- Use xz compression instead of gz + ------------------------------------------------------------------- Mon Sep 19 11:02:08 UTC 2011 - cornelis@solcon.nl diff --git a/lyx.spec b/lyx.spec index 3f2c0d7..747adfd 100644 --- a/lyx.spec +++ b/lyx.spec @@ -26,7 +26,7 @@ Version: 2.0.1 Release: 4 Summary: LaTeX-Based WYSIWYG Editor Url: http://www.lyx.org/ -Source: ftp://ftp.lyx.org/pub/lyx/stable/2.0.x/lyx-2.0.1.tar.gz +Source: ftp://ftp.lyx.org/pub/lyx/stable/2.0.x/lyx-2.0.1.tar.xz Source1: lyx.desktop Source2: lyx.png Source3: lyxrc.dist From c8f5055c1dc3e4037e540c802574cfb9afc48df9b81808431c12a01ddf37a737 Mon Sep 17 00:00:00 2001 From: Cor Blom Date: Sun, 25 Sep 2011 20:58:49 +0000 Subject: [PATCH 2/6] add xz to BuildRequires OBS-URL: https://build.opensuse.org/package/show/Publishing/lyx?expand=0&rev=39 --- lyx.changes | 2 +- lyx.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lyx.changes b/lyx.changes index adaf473..6a43bdc 100644 --- a/lyx.changes +++ b/lyx.changes @@ -1,7 +1,7 @@ ------------------------------------------------------------------- Sun Sep 25 20:53:33 UTC 2011 - cornelis@solcon.nl -- Use xz compression instead of gz +- Use xz compressed file instead of the gzipped one ------------------------------------------------------------------- Mon Sep 19 11:02:08 UTC 2011 - cornelis@solcon.nl diff --git a/lyx.spec b/lyx.spec index 747adfd..501edd6 100644 --- a/lyx.spec +++ b/lyx.spec @@ -19,7 +19,7 @@ Name: lyx #!BuildIgnore: lyx -BuildRequires: aspell-devel boost-devel fdupes hunspell-devel libqt4-devel python update-desktop-files +BuildRequires: aspell-devel boost-devel fdupes hunspell-devel libqt4-devel python update-desktop-files xz License: LGPLv2.1+ Group: Productivity/Publishing/TeX/Frontends Version: 2.0.1 From ad63d1d14e868deb55e6dfc33cdfa4a7491987d917973f2265968afc928cc321 Mon Sep 17 00:00:00 2001 From: Cor Blom Date: Sun, 25 Sep 2011 21:10:56 +0000 Subject: [PATCH 3/6] OBS-URL: https://build.opensuse.org/package/show/Publishing/lyx?expand=0&rev=40 --- lyx.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lyx.spec b/lyx.spec index 501edd6..f8eaa55 100644 --- a/lyx.spec +++ b/lyx.spec @@ -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') From 03b0426cd0c3d9a93c15887d2620a2a8b2abba573f87c00948d8552b7be50bc4 Mon Sep 17 00:00:00 2001 From: Cor Blom Date: Sun, 25 Sep 2011 21:46:47 +0000 Subject: [PATCH 4/6] revert switch to xz OBS-URL: https://build.opensuse.org/package/show/Publishing/lyx?expand=0&rev=41 --- lyx-2.0.1.tar.gz | 3 +++ lyx-2.0.1.tar.xz | 3 --- lyx.changes | 5 ----- lyx.spec | 6 +++--- 4 files changed, 6 insertions(+), 11 deletions(-) create mode 100644 lyx-2.0.1.tar.gz delete mode 100644 lyx-2.0.1.tar.xz diff --git a/lyx-2.0.1.tar.gz b/lyx-2.0.1.tar.gz new file mode 100644 index 0000000..9ef71ca --- /dev/null +++ b/lyx-2.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9349359e0df8da414f3a973647d6d095b729ceef0b469640bff724e673a8e9a8 +size 18613212 diff --git a/lyx-2.0.1.tar.xz b/lyx-2.0.1.tar.xz deleted file mode 100644 index dd7561e..0000000 --- a/lyx-2.0.1.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a58b7e0f27afce0497fffec0d19fc95fb1b3ac36818e8d02ecaf9e882c8f3852 -size 10119588 diff --git a/lyx.changes b/lyx.changes index 6a43bdc..c5f189a 100644 --- a/lyx.changes +++ b/lyx.changes @@ -1,8 +1,3 @@ -------------------------------------------------------------------- -Sun Sep 25 20:53:33 UTC 2011 - cornelis@solcon.nl - -- Use xz compressed file instead of the gzipped one - ------------------------------------------------------------------- Mon Sep 19 11:02:08 UTC 2011 - cornelis@solcon.nl diff --git a/lyx.spec b/lyx.spec index f8eaa55..3f2c0d7 100644 --- a/lyx.spec +++ b/lyx.spec @@ -19,14 +19,14 @@ Name: lyx #!BuildIgnore: lyx -BuildRequires: aspell-devel boost-devel fdupes hunspell-devel libqt4-devel python update-desktop-files xz +BuildRequires: aspell-devel boost-devel fdupes hunspell-devel libqt4-devel python update-desktop-files License: LGPLv2.1+ Group: Productivity/Publishing/TeX/Frontends Version: 2.0.1 Release: 4 Summary: LaTeX-Based WYSIWYG Editor Url: http://www.lyx.org/ -Source: ftp://ftp.lyx.org/pub/lyx/stable/2.0.x/lyx-2.0.1.tar.xz +Source: ftp://ftp.lyx.org/pub/lyx/stable/2.0.x/lyx-2.0.1.tar.gz Source1: lyx.desktop Source2: lyx.png Source3: lyxrc.dist @@ -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 +%setup -q -n %{name}-%{version} %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') From db34fd51e72ac97c4bc942b23896125f0340bde86410c0cbf0d876ad6e3b0aa4 Mon Sep 17 00:00:00 2001 From: Cor Blom Date: Sun, 25 Sep 2011 21:48:15 +0000 Subject: [PATCH 5/6] OBS-URL: https://build.opensuse.org/package/show/Publishing/lyx?expand=0&rev=42 --- lyx.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lyx.spec b/lyx.spec index 3f2c0d7..f20a03f 100644 --- a/lyx.spec +++ b/lyx.spec @@ -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') From 4098211d5e468698afff2e352bdf3c25db494bb71f41e54e4e5bea6304085f62 Mon Sep 17 00:00:00 2001 From: Cor Blom Date: Thu, 6 Oct 2011 09:34:16 +0000 Subject: [PATCH 6/6] change to hunspell as default spellchecker OBS-URL: https://build.opensuse.org/package/show/Publishing/lyx?expand=0&rev=43 --- lyx.changes | 6 ++++++ lyx.spec | 6 ++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/lyx.changes b/lyx.changes index c5f189a..3f1c9fc 100644 --- a/lyx.changes +++ b/lyx.changes @@ -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 diff --git a/lyx.spec b/lyx.spec index f20a03f..e58a3ec 100644 --- a/lyx.spec +++ b/lyx.spec @@ -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 @@ -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}