205 lines
5.4 KiB
RPMSpec
205 lines
5.4 KiB
RPMSpec
#
|
|
# spec file for package enchant (Version 1.4.2)
|
|
#
|
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
# This file and all modifications and additions to the pristine
|
|
# package are under the same license as the package itself.
|
|
#
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
|
|
Name: enchant
|
|
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
|
|
License: LGPL v2.1 or later
|
|
Group: Productivity/Text/Spell
|
|
AutoReqProv: on
|
|
Version: 1.4.2
|
|
Release: 16
|
|
Summary: Generic Spell Checking Library
|
|
Source: %{name}-%{version}.tar.bz2
|
|
Url: http://www.abisource.com/
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
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.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Dom Lachowicz <cinamod@hotmail.com>
|
|
|
|
%package -n libenchant1
|
|
License: LGPL v2.1 or later
|
|
Summary: Generic Spell Checking Library
|
|
Group: System/Libraries
|
|
Requires: %{name} >= %{version}
|
|
|
|
%description -n libenchant1
|
|
A library providing an efficient extensible abstraction for dealing
|
|
with different spell checking libraries.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Dom Lachowicz <cinamod@hotmail.com>
|
|
|
|
%package devel
|
|
License: LGPL v2.1 or later
|
|
Summary: Include Files and Libraries mandatory for Development
|
|
Group: Development/Libraries/C and C++
|
|
Requires: %{name} = %{version} glib2-devel
|
|
|
|
%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
|
|
autoreconf -f -i
|
|
%configure\
|
|
--disable-static
|
|
make %{?jobs:-j%jobs}
|
|
|
|
%install
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
rm $RPM_BUILD_ROOT%{_libdir}/*/*.*a
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%post -n libenchant1 -p /sbin/ldconfig
|
|
|
|
%postun -n libenchant1 -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
# AUTHORS == MAINTAINERS in 1.3.0, TODO is 1 byte, BUGS has nothing interesting
|
|
%doc AUTHORS COPYING.LIB ChangeLog NEWS README
|
|
%defattr (-, root, root)
|
|
%{_bindir}/*
|
|
%{_datadir}/enchant
|
|
%{_libdir}/enchant
|
|
%exclude %{_libdir}/enchant/libenchant_voikko.so
|
|
%exclude %{_libdir}/enchant/libenchant_zemberek.so
|
|
%doc %{_mandir}/man?/*.*
|
|
|
|
%files voikko
|
|
%defattr(-,root,root)
|
|
%{_libdir}/enchant/libenchant_voikko.so
|
|
|
|
%files zemberek
|
|
%defattr(-,root,root)
|
|
%{_libdir}/enchant/libenchant_zemberek.so
|
|
|
|
%files -n libenchant1
|
|
%defattr(-,root,root)
|
|
%{_libdir}/*.so.*
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_includedir}/*
|
|
%{_libdir}/*.so
|
|
%{_libdir}/*.*a
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%changelog
|
|
* Fri Jul 25 2008 sbrabec@suse.cz
|
|
- Build with voikko (Finnish, bnc#394355) and zemberek (Azeri,
|
|
Turkmen, Turkish, Tatar) backends.
|
|
* 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
|
|
- Updated to version 1.3.0:
|
|
* New personal wordlist implementation.
|
|
* Bug and compilation fixes.
|
|
- Split according to shared library packaging policy.
|
|
* Tue Feb 13 2007 sbrabec@suse.cz
|
|
- Do not build unusable static libraries (#238552#c17).
|
|
* Thu Jan 04 2007 sbrabec@suse.cz
|
|
- Spec file cleanup.
|
|
* Tue Apr 11 2006 jpr@suse.de
|
|
- Fix potential infinite loop (#164682)
|
|
* Wed Jan 25 2006 mls@suse.de
|
|
- converted neededforbuild to BuildRequires
|
|
* Mon Jan 16 2006 sbrabec@suse.cz
|
|
- Updated to version 1.2.0.
|
|
* Tue Nov 08 2005 dmueller@suse.de
|
|
- don't build as root
|
|
* Wed Aug 03 2005 sbrabec@suse.cz
|
|
- Updated to version 1.1.6.
|
|
- Removed unneeded static modules and .la files for modules.
|
|
* Wed Jun 01 2005 sbrabec@suse.cz
|
|
- Fixed devel requirements.
|
|
* Tue Jan 11 2005 sbrabec@suse.cz
|
|
- Updated to version 1.1.5.
|
|
* Wed May 05 2004 sbrabec@suse.cz
|
|
- Added -fno-strict-aliasing.
|
|
* Wed Oct 29 2003 sbrabec@suse.cz
|
|
- Updated to version 1.1.1.
|
|
* Thu Aug 21 2003 ro@suse.de
|
|
- fix build on x86_64
|
|
- run autoreconf for full libtool update
|
|
* Tue Aug 19 2003 sbrabec@suse.cz
|
|
- Initial SuSE version 0.2.0.
|