enchant.spec revision 15291
10139N/A#
10139N/A# spec file for package enchant
10139N/A#
12219N/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#
17185N/A# Owner: dcarbery
10139N/A# bugdb: bugzilla.abisource.com
17176N/A#
17176N/A
17176N/AName: enchant
10139N/ALicense: LGPL v2.1
10139N/AVersion: 1.3.0
15291N/ARelease: 1
10139N/AVendor: Sun Microsystems, Inc.
10615N/ADistribution: Java Desktop System
17866N/ACopyright: GPL
18325N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10139N/ADocdir: %{_datadir}/doc
10139N/AAutoreqprov: on
10139N/AURL: http://www.abisource.com/projects/enchant/
10139N/ASource: http://www.abisource.com/downloads/%{name}/%{version}/%{name}-%{version}.tar.gz
17866N/A# date:2006-12-08 bugzilla:10667 owner:dcarbery type:bug
10794N/APatch1: enchant-01-define_FILE.diff
10139N/A# date:2007-02-14 owner:jefftsai type:branding bugzilla:10843
10794N/APatch2: enchant-02-uninstalled-pc.diff
12773N/A# date:2007-04-10 owner:sh162551 type:feature bugzilla:10967
12773N/APatch3: enchant-03-personaldic.diff
12773N/A# date:2007-04-28 owner:sh162551 type:feature bugster:6529853
10794N/APatch4: enchant-04-aspell-conversion.diff
10139N/ASummary: Generic spell checking library
10640N/AGroup: Applications/Text
17989N/A
18099N/A%description
16105N/AEnchant is a generic spell checking library that presents an API/ABI to
18099N/Aapplications.
10861N/A
18099N/A%files
13379N/A%defattr(-, root, root)
18099N/A
15219N/A%prep
18099N/A%setup -q -n %{name}-%{version}
16472N/A%patch1 -p1
18099N/A%patch2 -p1
16472N/A%patch3 -p0
18099N/A%patch4 -p1
16690N/A
18099N/A
10139N/A%build
10139N/A%ifos linux
10139N/Aif [ -x /usr/bin/getconf ]; then
10139N/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
10139N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
10139N/A CPUS=1
10139N/Afi
10139N/A
10139N/Aaclocal -I ac-helpers $ACLOCAL_FLAGS
10139N/Aautoconf
10139N/Aautomake -a -c -f
10139N/A./configure \
10139N/A --prefix=%{_prefix} \
10139N/A --libdir=%{_libdir} \
10139N/A --bindir=%{_bindir} \
10139N/A --sysconfdir=%{_sysconfdir} \
10139N/A --mandir=%{_mandir} \
10139N/A --infodir=%{_datadir}/info \
10139N/A --localstatedir=/var \
10139N/A --with-myspell-dir=/usr/share/spell/myspell \
10139N/A --disable-aspell \
10139N/A --disable-static
10139N/A
10139N/Amake -j $CPUS
17891N/A
17891N/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
17891N/A- Change the license tag.
17891N/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
10139N/A- Initial spec.
10139N/A