From 2b9e5c88faea796ff4955fc587dfd79d69bde93ab6812df598e2257690e77473 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Fri, 19 Oct 2007 02:29:34 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/enchant?expand=0&rev=3 --- enchant-1.2.0.tar.bz2 | 3 --- enchant-1.3.0.tar.bz2 | 3 +++ enchant-infinite-loop.patch | 11 -------- enchant.changes | 8 ++++++ enchant.spec | 53 +++++++++++++++++++++++++------------ 5 files changed, 47 insertions(+), 31 deletions(-) delete mode 100644 enchant-1.2.0.tar.bz2 create mode 100644 enchant-1.3.0.tar.bz2 delete mode 100644 enchant-infinite-loop.patch diff --git a/enchant-1.2.0.tar.bz2 b/enchant-1.2.0.tar.bz2 deleted file mode 100644 index 42f549d..0000000 --- a/enchant-1.2.0.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e2433d4aec5c74f6b4d6ccb4a7c02c0a2d39ba9e8e710230dec5354e04073dc0 -size 322551 diff --git a/enchant-1.3.0.tar.bz2 b/enchant-1.3.0.tar.bz2 new file mode 100644 index 0000000..110b959 --- /dev/null +++ b/enchant-1.3.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d30a7fe8126aa89792b99267c5b84e08058c61897db7b44460e24142b7027f44 +size 413732 diff --git a/enchant-infinite-loop.patch b/enchant-infinite-loop.patch deleted file mode 100644 index ce47369..0000000 --- a/enchant-infinite-loop.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- src/myspell/suggestmgr.cxx -+++ src/myspell/suggestmgr.cxx -@@ -440,7 +440,7 @@ - guess[lp] = glst[k].word; - glst[k].word = NULL; - lval = sc; -- for (j=0; j < MAX_GUESS; j) -+ for (j=0; j < MAX_GUESS; j++) - { - if (gscore[j] < lval) - { diff --git a/enchant.changes b/enchant.changes index 43b7bea..6177a9f 100644 --- a/enchant.changes +++ b/enchant.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Oct 18 12:43:19 CEST 2007 - sbrabec@suse.cz + +- Updated to version 1.3.0: + * New personal wordlist implementation. + * Bug and compilation fixes. +- Split according to shared library packaging policy. + ------------------------------------------------------------------- Tue Feb 13 11:50:51 CET 2007 - sbrabec@suse.cz diff --git a/enchant.spec b/enchant.spec index 9cdaa65..4b252d7 100644 --- a/enchant.spec +++ b/enchant.spec @@ -1,5 +1,5 @@ # -# spec file for package enchant (Version 1.2.0) +# spec file for package enchant (Version 1.3.0) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -12,15 +12,14 @@ Name: enchant BuildRequires: aspell-devel gcc-c++ glib2-devel -License: GNU Library General Public License v. 2.0 and 2.1 (LGPL) +License: LGPL v2 or later Group: Productivity/Text/Spell -Autoreqprov: on -Version: 1.2.0 -Release: 51 +AutoReqProv: on +Version: 1.3.0 +Release: 1 Summary: An Enchanting Spell Checking Library Source: %{name}-%{version}.tar.bz2 -Patch: %{name}-infinite-loop.patch -URL: http://www.abisource.com/ +Url: http://www.abisource.com/ BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -28,13 +27,27 @@ A library that wraps around other spell checking back-ends. +Authors: +-------- + Dom Lachowicz + +%package -n libenchant1 +Summary: An Enchanting Spell Checking Library +Group: System/Libraries +Requires: %{name} >= %{version} + +%description -n libenchant1 +A library that wraps around other spell checking back-ends. + + + Authors: -------- Dom Lachowicz %package devel Summary: Include Files and Libraries mandatory for Development. -Group: Productivity/Text/Spell +Group: Development/Libraries/C and C++ Requires: %{name} = %{version} glib2-devel %description devel @@ -49,11 +62,10 @@ Authors: %prep %setup -q -%patch %build ACLOCAL="aclocal -I ac-helpers" autoreconf -f -i -# needed for enchant-1.2.0: +# needed for enchant-1.3.0: export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" %configure\ --disable-static @@ -66,22 +78,25 @@ rm $RPM_BUILD_ROOT%{_libdir}/*/*.*a %clean rm -rf $RPM_BUILD_ROOT -%post +%post -n libenchant1 %run_ldconfig -%postun +%postun -n libenchant1 %run_ldconfig %files %defattr(-,root,root) -%doc AUTHORS BUGS COPYING.LIB ChangeLog MAINTAINERS NEWS README TODO +# AUTHORS == MAINTAINERS in 1.3.0 +%doc AUTHORS BUGS COPYING.LIB ChangeLog NEWS README TODO %defattr (-, root, root) %{_bindir}/* %{_datadir}/enchant -%{_libdir}/*.so.* %{_libdir}/enchant %doc %{_mandir}/man?/*.* - + +%files -n libenchant1 +%defattr(-,root,root) +%{_libdir}/*.so.* %files devel %defattr(-,root,root) @@ -89,8 +104,12 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/*.so %{_libdir}/*.*a %{_libdir}/pkgconfig/*.pc - -%changelog -n enchant +%changelog +* Thu Oct 18 2007 - sbrabec@suse.cz +- Updated to version 1.3.0: + * New personal wordlist implementation. + * Bug and compilation fixes. +- Split according to shared library packaging policy. * Tue Feb 13 2007 - sbrabec@suse.cz - Do not build unusable static libraries (#238552#c17). * Thu Jan 04 2007 - sbrabec@suse.cz