# # 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 gcc-c++ glib2-devel hunspell-devel License: LGPL v2.1 or later Group: Productivity/Text/Spell AutoReqProv: on Version: 1.4.2 Release: 1 Summary: An Enchanting Spell Checking Library Source: %{name}-%{version}.tar.bz2 Url: http://www.abisource.com/ BuildRoot: %{_tmppath}/%{name}-%{version}-build %description A library that wraps around other spell checking back-ends. Authors: -------- Dom Lachowicz %package -n libenchant1 License: LGPL v2.1 or later Summary: An Enchanting Spell Checking Library Group: System/Libraries Requires: %{name} >= %{version} %description -n libenchant1 A library that wraps around other spell checking back-ends. Authors: -------- Dom Lachowicz %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 %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 %doc %{_mandir}/man?/*.* %files -n libenchant1 %defattr(-,root,root) %{_libdir}/*.so.* %files devel %defattr(-,root,root) %{_includedir}/* %{_libdir}/*.so %{_libdir}/*.*a %{_libdir}/pkgconfig/*.pc %changelog * 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.