rpms/enchant/devel enchant.spec,1.14,1.15

Caolan McNamara (caolanm) fedora-extras-commits at redhat.com
Sat Jan 26 18:09:49 UTC 2008


Author: caolanm

Update of /cvs/pkgs/rpms/enchant/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3102

Modified Files:
	enchant.spec 
Log Message:
Resolves: rhbz#426402 use system hunspell


Index: enchant.spec
===================================================================
RCS file: /cvs/pkgs/rpms/enchant/devel/enchant.spec,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- enchant.spec	19 Dec 2007 20:36:44 -0000	1.14
+++ enchant.spec	26 Jan 2008 18:09:13 -0000	1.15
@@ -1,20 +1,32 @@
 Summary: An Enchanting Spell Checking Library
 Name: enchant
 Version: 1.3.0
-Release: 2%{?dist}
+Release: 3%{?dist}
 Epoch: 1
 Group: System Environment/Libraries
-License: LGPL
+License: LGPLv2+
 Source: http://www.abisource.com/downloads/enchant/%{version}/enchant-%{version}.tar.gz
 URL: http://www.abisource.com/
 BuildRequires: glib2-devel >= 2.0.0
 BuildRequires: aspell-devel
 BuildRequires: hspell-devel
+BuildRequires: hunspell-devel
+BuildRequires: automake
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 
+Patch0: enchant-1.3.0-systemhunspell.patch
+
 %description
 A library that wraps other spell checking backends.
 
+%package aspell
+Summary: Integration with aspell for libenchant
+Group: System Environment/Libraries
+Requires: enchant = %{epoch}:%{version}-%{release}
+
+%description aspell
+Libraries necessary to integrate applications using libenchant with aspell.
+
 %package devel
 Summary: Support files necessary to compile applications with libenchant.
 Group: Development/Libraries
@@ -26,6 +38,10 @@
 
 %prep
 %setup -q
+%patch0 -p1 -b .enchant-1.3.0-systemhunspell.patch
+aclocal
+autoconf
+automake --foreign
 
 %build
 %configure --disable-ispell --with-myspell-dir=/usr/share/myspell
@@ -43,10 +59,14 @@
 %{_bindir}/*
 %{_libdir}/lib*.so.*
 %dir %{_libdir}/enchant
-%{_libdir}/enchant/lib*.so*
+%{_libdir}/enchant/lib*hspell.so*
+%{_libdir}/enchant/lib*myspell.so*
 %{_mandir}/man1/enchant.1.gz
 %{_datadir}/enchant
 
+%files aspell
+%{_libdir}/enchant/lib*aspell.so*
+
 %files devel
 %defattr(-,root,root)
 %{_libdir}/*.a
@@ -63,6 +83,10 @@
 rm -r $RPM_BUILD_ROOT
 
 %changelog
+* Sat Jan 26 2008 Caolan McNamara <caolanm at redhat.com> 1:1.3.0-3.fc9
+- Resolves: rhbz#426402 use system hunspell not internal one and 
+  split out aspell backend.
+
 * Wed Dec 19 2007 Caolan McNamara <caolanm at redhat.com> 1:1.3.0-2.fc9
 - tell enchant where the myspell dictionaries are
 




More information about the fedora-extras-commits mailing list