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