9af5a0c
Summary: An Enchanting Spell Checking Library
9af5a0c
Name: enchant
e6a91bd
Version: 1.3.0
e6a91bd
Release: 1%{?dist}
9af5a0c
Epoch: 1
9af5a0c
Group: System Environment/Libraries
9af5a0c
License: LGPL
e8882af
Source: http://www.abisource.com/downloads/enchant/%{version}/enchant-%{version}.tar.gz
9af5a0c
URL: http://www.abisource.com/
9af5a0c
BuildRequires: glib2-devel >= 2.0.0
9af5a0c
BuildRequires: aspell-devel
a6d8df4
BuildRequires: hspell-devel
9af5a0c
BuildRoot: %{_tmppath}/%{name}-%{version}-root
9af5a0c
9af5a0c
%description
9af5a0c
A library that wraps other spell checking backends.
9af5a0c
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
9af5a0c
%configure --disable-ispell
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
9af5a0c
%{_libdir}/enchant/lib*.so*
9af5a0c
%{_mandir}/man1/enchant.1.gz
a6d8df4
%{_datadir}/enchant
9af5a0c
9af5a0c
%files devel
9af5a0c
%defattr(-,root,root)
9af5a0c
%{_libdir}/*.a
9af5a0c
%{_libdir}/*.so
9af5a0c
%{_libdir}/enchant/*.a
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
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