enchant.spec revision 15372
19997N/A#
19997N/A# spec file for package enchant
19997N/A#
19997N/A# Copyright (c) 2006 Sun Microsystems, Inc.
19997N/A# This file and all modifications and additions to the pristine
19997N/A# package are under the same license as the package itself.
19997N/A#
19997N/A# Owner: dcarbery
19997N/A# bugdb: bugzilla.abisource.com
19997N/A#
19997N/A
19997N/AName: enchant
19997N/ALicense: LGPL v2.1
19997N/AVersion: 1.4.2
19997N/ARelease: 1
19997N/AVendor: Sun Microsystems, Inc.
19997N/ADistribution: Java Desktop System
19997N/ACopyright: GPL
19997N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
20102N/ADocdir: %{_datadir}/doc
19997N/AAutoreqprov: on
19997N/AURL: http://www.abisource.com/projects/enchant/
19997N/ASource: http://www.abisource.com/downloads/%{name}/%{version}/%{name}-%{version}.tar.gz
19997N/A# date:2006-12-08 bugzilla:10667 owner:dcarbery type:bug
19997N/APatch1: enchant-01-define_FILE.diff
19997N/A# date:2008-11-19 owner:jefftsai type:branding
19997N/APatch2: enchant-02-build-request-dict.diff
19997N/ASummary: Generic spell checking library
19997N/AGroup: Applications/Text
19997N/A
19997N/A%description
19997N/AEnchant is a generic spell checking library that presents an API/ABI to
19997N/Aapplications.
19997N/A
19997N/A%files
19997N/A%defattr(-, root, root)
19997N/A
19997N/A%prep
19997N/A%setup -q -n %{name}-%{version}
19997N/A%patch1 -p1
19997N/A%patch2 -p1
19997N/A
19997N/A
19997N/A%build
19997N/A%ifos linux
19997N/Aif [ -x /usr/bin/getconf ]; then
19997N/A CPUS=`getconf _NPROCESSORS_ONLN`
19997N/Afi
19997N/A%else
19997N/A CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
19997N/A%endif
19997N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
19997N/A CPUS=1
19997N/Afi
19997N/A
19997N/Aaclocal
19997N/Aautoconf
19997N/Aautomake -a -c -f
19997N/A./configure \
19997N/A --prefix=%{_prefix} \
19997N/A --libdir=%{_libdir} \
19997N/A --bindir=%{_bindir} \
19997N/A --sysconfdir=%{_sysconfdir} \
19997N/A --mandir=%{_mandir} \
19997N/A --infodir=%{_datadir}/info \
19997N/A --localstatedir=/var \
19997N/A --with-myspell-dir=/usr/share/spell/myspell \
19997N/A --disable-aspell \
19997N/A --disable-static
19997N/A
19997N/Amake -j $CPUS
19997N/A
19997N/A%install
19997N/Amake install DESTDIR=$RPM_BUILD_ROOT
19997N/A
19997N/A%clean
19997N/Arm -rf $RPM_BUILD_ROOT
19997N/A
19997N/A%changelog
19997N/A* Wed Nov 19 2008 - jeff.cai@sun.com
19997N/A- Add patch -02-build-request-dic to solve the build issue
19997N/A with SunStudio 12
19997N/A* Mon Nov 10 2008 - jeff.cai@sun.com
19997N/A- Remove patch -02-aspell-conversion.diff because
19997N/A it looks like not many users need to convert the local
19997N/A aspell dictionary to myspell format. We don't like to
19997N/A maintain a large Solaris only patch.
19997N/A* Fri Oct 31 2008 - jeff.cai@sun.com
19997N/A- Bump to 1.4.2
19997N/A- Remove upstream patch -02-uninstalled-pc.diff
19997N/A- Remove upstream patch -03-personaldic.diff
19997N/A- Remove unused patch -02-aspell-conversion.diff
19997N/A- Rework patch -01-define-FILE.diff
19997N/A* Fri Oct 31 2008 - jeff.cai@sun.com
19997N/A- Change the license tag.
19997N/A* Mon Jul 07 2008 - jeff.cai@sun.com
19997N/A- Move 'rm' lines to SUNgnome-spell.spec
19997N/A* Sat Apr 28 2007 - irene.huang@sun.com
19997N/A- split patch -03-personaldic.diff into two patches
19997N/A -03-personaldic.diff and -04-apsell-conversion.diff, since
19997N/A -03 has been upsteamed to community and will be removed
19997N/A when enchant is bumped to a new version.
19997N/A
19997N/A* Sat Apr 28 2007 - irene.huang@sun.com
19997N/A- change the dictionary path to /usr/share/spell/myspell
19997N/A this is the place where the dictionaries should go according
19997N/A to LASRC 2007/231, targeting build 65.
19997N/A
19997N/A* Fri Apr 13 2007 - irene.huang@sun.com
19997N/A- put enchant++.h back to the package.
19997N/A
19997N/A* Tue Apr 10 2007 - irene.huang@sun.com
19997N/A- Add patch enchant-02-personaldic.diff to enable personal dictionary support
19997N/A of enchant myspell backend and conversion of aspell personal dict to myspell
19997N/A format. Fixes bug 6529848 and 6529853.
19997N/A
19997N/A* Wed Feb 14 2007 - jeff.cai@sun.com
19997N/A- Make enchant use myspell instead of aspell.
19997N/A- Add patch enchant-02-uninstalled-pc.diff to enable building in one spec file
19997N/A for gnome-spell and enchant.
19997N/A
19997N/A* Mon Dec 11 2006 - damien.carbery@sun.com
19997N/A- Remove unnecessary automake call; add autoconf and adjust aclocal calls.
19997N/A
19997N/A* Fri Dec 08 2006 - damien.carbery@sun.com
19997N/A- Initial spec.
19997N/A