|
|
f390ea6 |
%if %{?el5}0
|
|
|
f390ea6 |
%define with_libvoikko %{?_with_libvoikko: 1} %{?!_with_libvoikko: 0}
|
|
|
f390ea6 |
%define with_hunspell %{?_with_hunspell: 1} %{?!_with_hunspell: 0}
|
|
|
f390ea6 |
%else
|
|
|
f390ea6 |
%define with_libvoikko %{?_without_libvoikko: 0} %{?!_without_libvoikko: 1}
|
|
|
f390ea6 |
%define with_hunspell %{?_without_hunspell: 0} %{?!_without_hunspell: 1}
|
|
|
f390ea6 |
%endif
|
|
|
f390ea6 |
|
|
|
9af5a0c |
Summary: An Enchanting Spell Checking Library
|
|
|
9af5a0c |
Name: enchant
|
|
|
f390ea6 |
Version: 1.4.2
|
|
|
f390ea6 |
Release: 4%{?dist}.1
|
|
|
9af5a0c |
Epoch: 1
|
|
|
9af5a0c |
Group: System Environment/Libraries
|
|
|
f390ea6 |
License: LGPLv2+
|
|
|
e8882af |
Source: http://www.abisource.com/downloads/enchant/%{version}/enchant-%{version}.tar.gz
|
|
|
9af5a0c |
URL: http://www.abisource.com/
|
|
|
f390ea6 |
BuildRequires: glib2-devel >= 2.6.0
|
|
|
9af5a0c |
BuildRequires: aspell-devel
|
|
|
f390ea6 |
# BuildRequires: hspell-devel
|
|
|
f390ea6 |
%if %{with_hunspell}
|
|
|
f390ea6 |
BuildRequires: hunspell-devel
|
|
|
f390ea6 |
%endif
|
|
|
f390ea6 |
%if %{with_libvoikko}
|
|
|
f390ea6 |
BuildRequires: libvoikko-devel
|
|
|
f390ea6 |
%endif
|
|
|
f390ea6 |
BuildRequires: automake, libtool
|
|
|
9af5a0c |
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
9af5a0c |
|
|
|
9af5a0c |
%description
|
|
|
9af5a0c |
A library that wraps other spell checking backends.
|
|
|
9af5a0c |
|
|
|
f390ea6 |
%package aspell
|
|
|
f390ea6 |
Summary: Integration with aspell for libenchant
|
|
|
f390ea6 |
Group: System Environment/Libraries
|
|
|
f390ea6 |
Requires: enchant = %{epoch}:%{version}-%{release}
|
|
|
f390ea6 |
|
|
|
f390ea6 |
%description aspell
|
|
|
f390ea6 |
Libraries necessary to integrate applications using libenchant with aspell.
|
|
|
f390ea6 |
|
|
|
f390ea6 |
%if %{with_libvoikko}
|
|
|
f390ea6 |
%package voikko
|
|
|
f390ea6 |
Summary: Integration with voikko for libenchant
|
|
|
f390ea6 |
Group: System Environment/Libraries
|
|
|
f390ea6 |
Requires: enchant = %{epoch}:%{version}-%{release}
|
|
|
f390ea6 |
|
|
|
f390ea6 |
%description voikko
|
|
|
f390ea6 |
Libraries necessary to integrate applications using libenchant with voikko.
|
|
|
f390ea6 |
%endif
|
|
|
f390ea6 |
|
|
|
f390ea6 |
|
|
|
9af5a0c |
%package devel
|
|
|
9af5a0c |
Summary: Support files necessary to compile applications with libenchant.
|
|
|
9af5a0c |
Group: Development/Libraries
|
|
|
eda1aed |
Requires: enchant = %{epoch}:%{version}-%{release}
|
|
|
dac663c |
Requires: glib2-devel
|
|
|
9af5a0c |
|
|
|
9af5a0c |
%description devel
|
|
|
9af5a0c |
Libraries, headers, and support files necessary to compile applications using libenchant.
|
|
|
9af5a0c |
|
|
|
9af5a0c |
%prep
|
|
|
9af5a0c |
%setup -q
|
|
|
9af5a0c |
|
|
|
9af5a0c |
%build
|
|
|
f390ea6 |
%configure --disable-ispell --with-myspell-dir=/usr/share/myspell --disable-hspell --disable-static \
|
|
|
f390ea6 |
--disable-zemberek \
|
|
|
f390ea6 |
%if ! %{with_hunspell}
|
|
|
f390ea6 |
--disable-hunspell \
|
|
|
f390ea6 |
%endif
|
|
|
f390ea6 |
%if ! %{with_libvoikko}
|
|
|
f390ea6 |
--disable-libvoikko \
|
|
|
f390ea6 |
%endif
|
|
|
f390ea6 |
--
|
|
|
eda1aed |
make %{?_smp_mflags}
|
|
|
9af5a0c |
|
|
|
9af5a0c |
%install
|
|
|
9af5a0c |
rm -rf $RPM_BUILD_ROOT
|
|
|
eda1aed |
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
9af5a0c |
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
|
|
|
9af5a0c |
rm -f $RPM_BUILD_ROOT/%{_libdir}/enchant/*.la
|
|
|
9af5a0c |
|
|
|
9af5a0c |
%files
|
|
|
9af5a0c |
%defattr(-,root,root)
|
|
|
9af5a0c |
%doc AUTHORS COPYING.LIB README
|
|
|
9af5a0c |
%{_bindir}/*
|
|
|
9af5a0c |
%{_libdir}/lib*.so.*
|
|
|
dac663c |
%dir %{_libdir}/enchant
|
|
|
f390ea6 |
# %{_libdir}/enchant/lib*hspell.so*
|
|
|
f390ea6 |
%{_libdir}/enchant/lib*myspell.so*
|
|
|
9af5a0c |
%{_mandir}/man1/enchant.1.gz
|
|
|
a6d8df4 |
%{_datadir}/enchant
|
|
|
9af5a0c |
|
|
|
f390ea6 |
%files aspell
|
|
|
f390ea6 |
%{_libdir}/enchant/lib*aspell.so*
|
|
|
f390ea6 |
|
|
|
f390ea6 |
%if %{with_libvoikko}
|
|
|
f390ea6 |
%files voikko
|
|
|
f390ea6 |
%defattr(-,root,root)
|
|
|
f390ea6 |
%{_libdir}/enchant/lib*_voikko.so*
|
|
|
f390ea6 |
%endif
|
|
|
f390ea6 |
|
|
|
9af5a0c |
%files devel
|
|
|
9af5a0c |
%defattr(-,root,root)
|
|
|
9af5a0c |
%{_libdir}/*.so
|
|
|
9af5a0c |
%{_libdir}/pkgconfig/enchant.pc
|
|
|
9af5a0c |
%{_includedir}/enchant
|
|
|
9af5a0c |
|
|
|
dac663c |
%post -p /sbin/ldconfig
|
|
|
9af5a0c |
|
|
|
dac663c |
%postun -p /sbin/ldconfig
|
|
|
9af5a0c |
|
|
|
9af5a0c |
%clean
|
|
|
9af5a0c |
rm -r $RPM_BUILD_ROOT
|
|
|
9af5a0c |
|
|
|
9af5a0c |
%changelog
|
|
|
f390ea6 |
* Fri Oct 3 2008 Lubomir Rintel <lkundrak@v3.sk> 1:1.4.2-4.1
|
|
|
f390ea6 |
- Make libvoikko and hunspell support optional and disabled for el5
|
|
|
f390ea6 |
|
|
|
f390ea6 |
* Sat Jul 26 2008 Michael Schwendt <mschwendt@fedoraproject.org> 1:1.4.2-4
|
|
|
f390ea6 |
- Rebuild for ABI-incompatible hunspell-1.2.4.2-2.fc10
|
|
|
f390ea6 |
|
|
|
f390ea6 |
* Thu Jul 10 2008 Marc Maurer <uwog@abisource.com> 1:1.4.2-3
|
|
|
f390ea6 |
- Fix 426712: don't build static libs (patch from Michael Schwendt)
|
|
|
f390ea6 |
|
|
|
f390ea6 |
* Wed May 21 2008 Marc Maurer <uwog@abisource.com> 1:1.4.2-2
|
|
|
f390ea6 |
- Rebuild
|
|
|
f390ea6 |
|
|
|
f390ea6 |
* Wed May 21 2008 Marc Maurer <uwog@abisource.com> 1:1.4.2-1
|
|
|
f390ea6 |
- New upstream release
|
|
|
f390ea6 |
- Add voikko support in an enchant-voikko package
|
|
|
f390ea6 |
- Bump glib-devel BR to 2.6.0
|
|
|
f390ea6 |
|
|
|
f390ea6 |
* Fri Feb 08 2008 Caolan McNamara <caolanm@redhat.com> 1:1.3.0-4.fc9
|
|
|
f390ea6 |
- minor cockup
|
|
|
f390ea6 |
|
|
|
f390ea6 |
* Sat Jan 26 2008 Caolan McNamara <caolanm@redhat.com> 1:1.3.0-3.fc9
|
|
|
f390ea6 |
- Resolves: rhbz#426402 use system hunspell not internal one and
|
|
|
f390ea6 |
split out aspell backend.
|
|
|
f390ea6 |
- See: rhbz#430354 hspell backend disabled until pic issue fixed
|
|
|
f390ea6 |
|
|
|
f390ea6 |
* Wed Dec 19 2007 Caolan McNamara <caolanm@redhat.com> 1:1.3.0-2.fc9
|
|
|
f390ea6 |
- tell enchant where the myspell dictionaries are
|
|
|
f390ea6 |
|
|
|
e6a91bd |
* Thu Oct 12 2006 Marc Maurer <uwog@abisource.com> 1:1.3.0-1.fc6
|
|
|
e6a91bd |
- Update to 1.3.0
|
|
|
e6a91bd |
|
|
|
979b78c |
* Mon Sep 11 2006 Marc Maurer <uwog@abisource.com> 1:1.2.5-3.fc6
|
|
|
979b78c |
- Rebuild for FC6
|
|
|
979b78c |
|
|
|
417e0f8 |
* Mon Apr 10 2006 Marc Maurer <uwog@abisource.com> 1:1.2.5-2.fc6
|
|
|
417e0f8 |
- Rebuild
|
|
|
417e0f8 |
|
|
|
a6d8df4 |
* Mon Apr 10 2006 Marc Maurer <uwog@abisource.com> 1:1.2.5-1.fc6
|
|
|
a6d8df4 |
- Package the data dir as well (bug 188516)
|
|
|
a6d8df4 |
- New upstream version
|
|
|
a6d8df4 |
- Add hspell requirement/support
|
|
|
a6d8df4 |
|
|
|
86f5682 |
* Tue Feb 14 2006 Marc Maurer <uwog@abisource.com> 1:1.2.2-2.fc5
|
|
|
86f5682 |
- Rebuild for Fedora Extras 5
|
|
|
86f5682 |
|
|
|
91e7907 |
* Sun Feb 05 2006 Marc Maurer <uwog@abisource.com> 1:1.2.2-1.fc5
|
|
|
91e7907 |
- Update to 1.2.2
|
|
|
91e7907 |
|
|
|
928b2d1 |
* Mon Jan 30 2006 Marc Maurer <uwog@abisource.com> 1:1.2.1-1.fc5
|
|
|
928b2d1 |
- Update to 1.2.1
|
|
|
928b2d1 |
- Drop glib Require
|
|
|
928b2d1 |
|
|
|
9a1332e |
* Sat Oct 22 2005 Marc Maurer <uwog@abisource.com> 1:1.2.0-1.fc5
|
|
|
9a1332e |
- Update to 1.2.0
|
|
|
9a1332e |
|
|
|
9a1332e |
* Wed Oct 5 2005 Marc Maurer <uwog@abisource.com> 1:1.1.6-4.fc5
|
|
|
c437ff8 |
- Add dist flag to the release number
|
|
|
c437ff8 |
|
|
|
eda1aed |
* Mon Apr 4 2005 Michael Schwendt <mschwendt[AT]users.sf.net> 1:1.1.6-3
|
|
|
eda1aed |
- make in %%build
|
|
|
eda1aed |
- disable bad buildroot rpaths in libs, don't use %%makeinstall
|
|
|
eda1aed |
- require %%{epoch} of main package in -devel package (Fridrich Strba)
|
|
|
eda1aed |
|
|
|
dac663c |
* Thu Mar 31 2005 Michael Schwendt <mschwendt[AT]users.sf.net> 1:1.1.6-2
|
|
|
dac663c |
- add dep glib2-devel for pkgconfig in -devel package
|
|
|
dac663c |
- include %%{_libdir}/enchant dir in main package
|
|
|
dac663c |
- make -devel package require exact VR of main package
|
|
|
dac663c |
- use -p /sbin/ldconfig in scriptlets
|
|
|
dac663c |
|
|
|
e8882af |
* Mon Mar 28 2005 Marc Maurer <uwog@abisource.com> 1:1.1.6-1
|
|
|
e8882af |
- update to 1.1.6
|
|
|
e8882af |
- drop the manpage patch (RH#145010#)
|
|
|
e8882af |
- fix version numbers in the spec changelog
|
|
|
e8882af |
|
|
|
e8882af |
* Wed Mar 2 2005 Caolan McNamara <caolanm@redhat.com> 1:1.1.5-3
|
|
|
9af5a0c |
- rebuild with gcc4
|
|
|
9af5a0c |
|
|
|
e8882af |
* Fri Jan 14 2005 Caolan McNamara <caolanm@redhat.com> 1:1.1.5-2
|
|
|
9af5a0c |
- RH#145010# misformatted manpage
|
|
|
9af5a0c |
|
|
|
e8882af |
* Mon Dec 20 2004 Caolan McNamara <caolanm@redhat.com> 1:1.1.5-1
|
|
|
9af5a0c |
- initial fedora import
|
|
|
9af5a0c |
|
|
|
9af5a0c |
* Sun Aug 24 2003 Rui Miguel Seabra <rms@1407.org>
|
|
|
9af5a0c |
- update spec to current stat of affairs
|
|
|
9af5a0c |
- building from source rpm is now aware of --with and --without flags:
|
|
|
9af5a0c |
- --without aspell --without ispell --without myspell --with uspell
|
|
|
9af5a0c |
|
|
|
9af5a0c |
* Wed Jul 16 2003 Rui Miguel Seabra <rms@1407.org>
|
|
|
9af5a0c |
- take advantage of environment rpm macros
|
|
|
9af5a0c |
|
|
|
9af5a0c |
* Sun Jul 13 2003 Dom Lachowicz <cinamod@hotmail.com>
|
|
|
9af5a0c |
- Initial version
|