Summary: libenchant - generic spell checking library
Summary(pl): libenchant - ogólna biblioteka sprawdzania pisowni
Name: enchant
-Version: 1.1.1
-Release: 1
+Version: 1.1.5
+Release: 2
License: LGPL
Group: Libraries
Source0: http://dl.sourceforge.net/abiword/%{name}-%{version}.tar.gz
-# Source0-md5: 491d6aa3e93f6f0f6bf6108efbb54d73
+# Source0-md5: b7f266ca9241797839929972395a76cf
URL: http://www.abisource.com/enchant/
-BuildRequires: aspell-devel >= 0.50.0
+BuildRequires: automake
+BuildRequires: autoconf
+BuildRequires: libtool
+BuildRequires: aspell-devel >= 2:0.50.0
BuildRequires: glib2-devel >= 2.0
-#BuildRequires: libuspell-devel >= 1.1.0
BuildRequires: pkgconfig
+BuildRequires: uspell-devel >= 1.1.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
Summary: Header files for enchant library
Summary(pl): Pliki nag³ówkowe biblioteki enchant
Group: Development/Libraries
-Requires: %{name} = %{version}
+Requires: %{name} = %{version}-%{release}
Requires: glib2-devel >= 2.0
%description devel
Summary: Static enchant library
Summary(pl): Statyczna biblioteka enchant
Group: Development/Libraries
-Requires: %{name}-devel = %{version}
+Requires: %{name}-devel = %{version}-%{release}
%description static
Static enchant library.
Summary: aspell provider module for Enchant
Summary(pl): Modu³ obs³uguj±cy aspella dla Enchanta
Group: Libraries
-Requires: %{name} = %{version}
-Requires: aspell >= 0.50.0
+Requires: %{name} = %{version}-%{release}
+Requires: aspell >= 2:0.50.0
%description aspell
aspell provider module for Enchant.
Summary: ispell provider module for Enchant
Summary(pl): Modu³ obs³uguj±cy ispella dla Enchanta
Group: Libraries
-Requires: %{name} = %{version}
+Requires: %{name} = %{version}-%{release}
%description ispell
ispell provider module for Enchant.
Summary: myspell provider module for Enchant
Summary(pl): Modu³ obs³uguj±cy myspella dla Enchanta
Group: Libraries
-Requires: %{name} = %{version}
+Requires: %{name} = %{version}-%{release}
%description myspell
myspell provider module for Enchant.
Summary: uspell provider module for Enchant
Summary(pl): Modu³ obs³uguj±cy uspella dla Enchanta
Group: Libraries
-Requires: %{name} = %{version}
+Requires: %{name} = %{version}-%{release}
%description uspell
uspell provider module for Enchant.
%setup -q
%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
%configure \
- --with-ispell-dir=/usr/lib/ispell
+ --with-ispell-dir=/usr/lib/ispell \
+ --with-uspell-dir=/usr/share/uspell
# --with-myspell-dir=/some/where
-# --with-uspell-dir=/some/where
%{__make}
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/enchant/libenchant_myspell.so*
-#%files uspell
-#%defattr(644,root,root,755)
-#%attr(755,root,root) %{_libdir}/enchant/libenchant_uspell.so*
+%files uspell
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/enchant/libenchant_uspell.so*