2007-01-10 17:39:32 +01:00
|
|
|
#
|
2008-05-17 02:14:42 +02:00
|
|
|
# spec file for package enchant (Version 1.4.2)
|
2007-01-10 17:39:32 +01:00
|
|
|
#
|
2009-03-17 17:02:30 +01:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-10 17:39:32 +01:00
|
|
|
#
|
2009-03-17 17:02:30 +01:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-01-10 17:39:32 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-05-17 02:14:42 +02:00
|
|
|
|
2007-01-10 17:39:32 +01:00
|
|
|
Name: enchant
|
2008-08-02 02:59:25 +02:00
|
|
|
BuildRequires: aspell-devel dbus-1-glib-devel gcc-c++ glib2-devel hunspell-devel libvoikko-devel
|
|
|
|
# FIXME: Delete before submit. Will be fixed after malaga checkin.
|
|
|
|
BuildRequires: libmalaga-devel
|
2008-05-17 02:14:42 +02:00
|
|
|
License: LGPL v2.1 or later
|
2007-01-10 17:39:32 +01:00
|
|
|
Group: Productivity/Text/Spell
|
2007-10-19 04:29:34 +02:00
|
|
|
AutoReqProv: on
|
2008-05-17 02:14:42 +02:00
|
|
|
Version: 1.4.2
|
2009-03-17 17:02:30 +01:00
|
|
|
Release: 46
|
2008-08-02 02:59:25 +02:00
|
|
|
Summary: Generic Spell Checking Library
|
2007-01-10 17:39:32 +01:00
|
|
|
Source: %{name}-%{version}.tar.bz2
|
2007-10-19 04:29:34 +02:00
|
|
|
Url: http://www.abisource.com/
|
2007-01-10 17:39:32 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
2008-08-02 02:59:25 +02:00
|
|
|
A library providing an efficient extensible abstraction for dealing
|
|
|
|
with different spell checking libraries.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Dom Lachowicz <cinamod@hotmail.com>
|
|
|
|
|
|
|
|
%package voikko
|
|
|
|
License: LGPL v2.1 or later
|
|
|
|
Summary: Generic Spell Checking Library - Voikko Plugin
|
|
|
|
Group: Productivity/Text/Spell
|
|
|
|
Provides: locale(%{name}:fi)
|
|
|
|
|
|
|
|
%description voikko
|
|
|
|
Voikko plugin (Finnish) for enchant, a library providing an efficient
|
|
|
|
extensible abstraction for dealing with different spell checking
|
|
|
|
libraries.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Dom Lachowicz <cinamod@hotmail.com>
|
|
|
|
|
|
|
|
%package zemberek
|
|
|
|
License: LGPL v2.1 or later
|
|
|
|
Summary: Generic Spell Checking Library - Zemberek Plugin
|
|
|
|
Group: Productivity/Text/Spell
|
|
|
|
Provides: locale(%{name}:az)
|
|
|
|
Provides: locale(%{name}:tk)
|
|
|
|
Provides: locale(%{name}:tr)
|
|
|
|
Provides: locale(%{name}:tt)
|
|
|
|
# Only zemberek-server over D-Bus is supported. Server must be installed locally:
|
|
|
|
Requires: zemberek-server
|
|
|
|
|
|
|
|
%description zemberek
|
|
|
|
Zemberek plugin (Azeri, Turkmen, Turkish, Tatar) for enchant, a library
|
|
|
|
providing an efficient extensible abstraction for dealing with
|
|
|
|
different spell checking libraries.
|
2007-01-10 17:39:32 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
2007-10-19 04:29:34 +02:00
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Dom Lachowicz <cinamod@hotmail.com>
|
|
|
|
|
|
|
|
%package -n libenchant1
|
2008-05-17 02:14:42 +02:00
|
|
|
License: LGPL v2.1 or later
|
2008-08-02 02:59:25 +02:00
|
|
|
Summary: Generic Spell Checking Library
|
2007-10-19 04:29:34 +02:00
|
|
|
Group: System/Libraries
|
2009-03-17 17:02:30 +01:00
|
|
|
Requires: %{name} = %{version}
|
2007-10-19 04:29:34 +02:00
|
|
|
|
|
|
|
%description -n libenchant1
|
2008-08-02 02:59:25 +02:00
|
|
|
A library providing an efficient extensible abstraction for dealing
|
|
|
|
with different spell checking libraries.
|
2007-10-19 04:29:34 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
2007-01-10 17:39:32 +01:00
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Dom Lachowicz <cinamod@hotmail.com>
|
|
|
|
|
|
|
|
%package devel
|
2008-05-17 02:14:42 +02:00
|
|
|
License: LGPL v2.1 or later
|
|
|
|
Summary: Include Files and Libraries mandatory for Development
|
2007-10-19 04:29:34 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
2009-03-17 17:02:30 +01:00
|
|
|
Requires: %{name} = %{version} glib2-devel libstdc++-devel
|
2007-01-10 17:39:32 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains all necessary include files and libraries needed
|
|
|
|
to develop applications that require these.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Dom Lachowicz <cinamod@hotmail.com>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2009-03-17 17:02:30 +01:00
|
|
|
autoreconf -fiv
|
|
|
|
%configure --with-pic \
|
2007-02-15 18:23:56 +01:00
|
|
|
--disable-static
|
2007-01-10 17:39:32 +01:00
|
|
|
make %{?jobs:-j%jobs}
|
|
|
|
|
|
|
|
%install
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
2009-03-17 17:02:30 +01:00
|
|
|
find %{buildroot} -type f -name "*.la" -exec %{__rm} -fv {} +
|
2007-01-10 17:39:32 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2008-05-17 02:14:42 +02:00
|
|
|
%post -n libenchant1 -p /sbin/ldconfig
|
2007-01-10 17:39:32 +01:00
|
|
|
|
2008-05-17 02:14:42 +02:00
|
|
|
%postun -n libenchant1 -p /sbin/ldconfig
|
2007-01-10 17:39:32 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2008-05-17 02:14:42 +02:00
|
|
|
# AUTHORS == MAINTAINERS in 1.3.0, TODO is 1 byte, BUGS has nothing interesting
|
|
|
|
%doc AUTHORS COPYING.LIB ChangeLog NEWS README
|
2007-01-10 17:39:32 +01:00
|
|
|
%defattr (-, root, root)
|
|
|
|
%{_bindir}/*
|
|
|
|
%{_datadir}/enchant
|
|
|
|
%{_libdir}/enchant
|
2008-08-02 02:59:25 +02:00
|
|
|
%exclude %{_libdir}/enchant/libenchant_voikko.so
|
|
|
|
%exclude %{_libdir}/enchant/libenchant_zemberek.so
|
2007-01-10 17:39:32 +01:00
|
|
|
%doc %{_mandir}/man?/*.*
|
2007-10-19 04:29:34 +02:00
|
|
|
|
2008-08-02 02:59:25 +02:00
|
|
|
%files voikko
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/enchant/libenchant_voikko.so
|
|
|
|
|
|
|
|
%files zemberek
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/enchant/libenchant_zemberek.so
|
|
|
|
|
2007-10-19 04:29:34 +02:00
|
|
|
%files -n libenchant1
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/*.so.*
|
2007-01-10 17:39:32 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/*
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
2008-05-17 02:14:42 +02:00
|
|
|
|
2007-10-19 04:29:34 +02:00
|
|
|
%changelog
|
2009-03-17 17:02:30 +01:00
|
|
|
* Fri Mar 13 2009 crrodriguez@suse.de
|
|
|
|
- remove all "la" files
|
2008-08-02 02:59:25 +02:00
|
|
|
* Fri Jul 25 2008 sbrabec@suse.cz
|
|
|
|
- Build with voikko (Finnish, bnc#394355) and zemberek (Azeri,
|
|
|
|
Turkmen, Turkish, Tatar) backends.
|
2008-05-17 02:14:42 +02:00
|
|
|
* Mon May 12 2008 sbrabec@suse.cz
|
|
|
|
- Updated to version 1.4.2:
|
|
|
|
* Improved modularity, support for new modules (not yet in
|
|
|
|
openSUSE build: Voikko, Zemberek).
|
|
|
|
* System hunspell support improved (bnc#383308).
|
|
|
|
* Dictionary search improvements (morphing, affixes, suffixes,
|
|
|
|
compound words, phonetic translation table).
|
|
|
|
* binreloc support (off in openSUSE)
|
|
|
|
* Thu Oct 18 2007 sbrabec@suse.cz
|
2007-10-19 04:29:34 +02:00
|
|
|
- Updated to version 1.3.0:
|
|
|
|
* New personal wordlist implementation.
|
|
|
|
* Bug and compilation fixes.
|
|
|
|
- Split according to shared library packaging policy.
|
2008-05-17 02:14:42 +02:00
|
|
|
* Tue Feb 13 2007 sbrabec@suse.cz
|
2007-02-15 18:23:56 +01:00
|
|
|
- Do not build unusable static libraries (#238552#c17).
|
2008-05-17 02:14:42 +02:00
|
|
|
* Thu Jan 04 2007 sbrabec@suse.cz
|
2007-01-10 17:39:32 +01:00
|
|
|
- Spec file cleanup.
|
2008-05-17 02:14:42 +02:00
|
|
|
* Tue Apr 11 2006 jpr@suse.de
|
2007-01-10 17:39:32 +01:00
|
|
|
- Fix potential infinite loop (#164682)
|
2008-05-17 02:14:42 +02:00
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2007-01-10 17:39:32 +01:00
|
|
|
- converted neededforbuild to BuildRequires
|
2008-05-17 02:14:42 +02:00
|
|
|
* Mon Jan 16 2006 sbrabec@suse.cz
|
2007-01-10 17:39:32 +01:00
|
|
|
- Updated to version 1.2.0.
|
2008-05-17 02:14:42 +02:00
|
|
|
* Tue Nov 08 2005 dmueller@suse.de
|
2007-01-10 17:39:32 +01:00
|
|
|
- don't build as root
|
2008-05-17 02:14:42 +02:00
|
|
|
* Wed Aug 03 2005 sbrabec@suse.cz
|
2007-01-10 17:39:32 +01:00
|
|
|
- Updated to version 1.1.6.
|
|
|
|
- Removed unneeded static modules and .la files for modules.
|
2008-05-17 02:14:42 +02:00
|
|
|
* Wed Jun 01 2005 sbrabec@suse.cz
|
2007-01-10 17:39:32 +01:00
|
|
|
- Fixed devel requirements.
|
2008-05-17 02:14:42 +02:00
|
|
|
* Tue Jan 11 2005 sbrabec@suse.cz
|
2007-01-10 17:39:32 +01:00
|
|
|
- Updated to version 1.1.5.
|
2008-05-17 02:14:42 +02:00
|
|
|
* Wed May 05 2004 sbrabec@suse.cz
|
2007-01-10 17:39:32 +01:00
|
|
|
- Added -fno-strict-aliasing.
|
2008-05-17 02:14:42 +02:00
|
|
|
* Wed Oct 29 2003 sbrabec@suse.cz
|
2007-01-10 17:39:32 +01:00
|
|
|
- Updated to version 1.1.1.
|
2008-05-17 02:14:42 +02:00
|
|
|
* Thu Aug 21 2003 ro@suse.de
|
2007-01-10 17:39:32 +01:00
|
|
|
- fix build on x86_64
|
|
|
|
- run autoreconf for full libtool update
|
2008-05-17 02:14:42 +02:00
|
|
|
* Tue Aug 19 2003 sbrabec@suse.cz
|
2007-01-10 17:39:32 +01:00
|
|
|
- Initial SuSE version 0.2.0.
|