base-specs/enchant.spec
author chrisk
Mon, 31 Aug 2009 16:23:04 +0000
changeset 16434 f21f22550fe9
parent 16429 fe72291e50fd
child 16753 7ac47663ace4
permissions -rw-r--r--
2009-08-31 Christian Kelly <[email protected]> * base-specs/*.spec, *.spec: Change owner field to be parsable with spectool.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     1
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     2
# spec file for package enchant
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     3
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     4
# Copyright (c) 2006 Sun Microsystems, Inc.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     5
# This file and all modifications and additions to the pristine
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     6
# package are under the same license as the package itself.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     7
#
16434
f21f22550fe9 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 16429
diff changeset
     8
%define owner wangke
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     9
# bugdb: bugzilla.abisource.com
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    10
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    11
16429
fe72291e50fd 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 16320
diff changeset
    12
%define OSR 5805:1.3.0
fe72291e50fd 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 16320
diff changeset
    13
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    14
Name:     	enchant
14540
e1b502edb547 2008-10-31 Jeff Cai <[email protected]>
qc161282
parents: 12769
diff changeset
    15
License:	LGPL v2.1
16039
b864495670f5 2009-07-16 Ke Wang <[email protected]>
wangke
parents: 15339
diff changeset
    16
Version: 	1.5.0
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    17
Release:	1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    18
Vendor:		Sun Microsystems, Inc.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    19
Distribution:	Java Desktop System
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    20
Copyright:	GPL
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    21
BuildRoot:	%{_tmppath}/%{name}-%{version}-build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    22
Docdir:         %{_datadir}/doc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    23
Autoreqprov:    on
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    24
URL:		http://www.abisource.com/projects/enchant/
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    25
Source:		http://www.abisource.com/downloads/%{name}/%{version}/%{name}-%{version}.tar.gz
14621
71f44b2f26d0 2008-11-19 Jeff Cai <[email protected]>
qc161282
parents: 14573
diff changeset
    26
# date:2008-11-19 owner:jefftsai type:branding
71f44b2f26d0 2008-11-19 Jeff Cai <[email protected]>
qc161282
parents: 14573
diff changeset
    27
Patch2:         enchant-02-build-request-dict.diff
14913
1a56238fdb87 2009-01-14 Takao Fujiwara <[email protected]>
fujiwara
parents: 14621
diff changeset
    28
# This patch is applied until zemberek-server is implemented.
1a56238fdb87 2009-01-14 Takao Fujiwara <[email protected]>
fujiwara
parents: 14621
diff changeset
    29
# date:2009-01-14 owner:fujiwara type:feature bugster:6793551
1a56238fdb87 2009-01-14 Takao Fujiwara <[email protected]>
fujiwara
parents: 14621
diff changeset
    30
Patch3:         enchant-03-zemberek-segv.diff
1a56238fdb87 2009-01-14 Takao Fujiwara <[email protected]>
fujiwara
parents: 14621
diff changeset
    31
# date:2009-01-14 owner:fujiwara type:feature
1a56238fdb87 2009-01-14 Takao Fujiwara <[email protected]>
fujiwara
parents: 14621
diff changeset
    32
Patch4:         enchant-04-ordering.diff
16318
011a2e090b03 2009-08-20 Ke Wang <[email protected]>
wangke
parents: 16039
diff changeset
    33
# date:2009-08-20 owner:wangke type:branding
011a2e090b03 2009-08-20 Ke Wang <[email protected]>
wangke
parents: 16039
diff changeset
    34
Patch5:		enchant-05-build-ispell.diff
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    35
Summary:	Generic spell checking library
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
Group:		Applications/Text
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    37
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    38
%description
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
Enchant is a generic spell checking library that presents an API/ABI to 
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    40
applications.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    41
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    42
%files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    43
%defattr(-, root, root)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    44
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    45
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    46
%setup  -q -n %{name}-%{version}
14621
71f44b2f26d0 2008-11-19 Jeff Cai <[email protected]>
qc161282
parents: 14573
diff changeset
    47
%patch2 -p1
14913
1a56238fdb87 2009-01-14 Takao Fujiwara <[email protected]>
fujiwara
parents: 14621
diff changeset
    48
%patch3 -p1
1a56238fdb87 2009-01-14 Takao Fujiwara <[email protected]>
fujiwara
parents: 14621
diff changeset
    49
%patch4 -p1
16318
011a2e090b03 2009-08-20 Ke Wang <[email protected]>
wangke
parents: 16039
diff changeset
    50
%patch5 -p1
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    51
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    52
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    53
%build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    54
%ifos linux
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    55
if [ -x /usr/bin/getconf ]; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    56
  CPUS=`getconf _NPROCESSORS_ONLN`
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    57
fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    58
%else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    59
  CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    60
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    61
if test "x$CPUS" = "x" -o $CPUS = 0; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    62
  CPUS=1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    63
fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    64
16039
b864495670f5 2009-07-16 Ke Wang <[email protected]>
wangke
parents: 15339
diff changeset
    65
libtoolize --force
14544
2e70754df969 2008-10-31 Jeff Cai <[email protected]>
qc161282
parents: 14540
diff changeset
    66
aclocal 
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    67
autoconf
9722
b6ef45555846 2007-04-10 Irene Huang <[email protected]>
sh162551
parents: 9397
diff changeset
    68
automake -a -c -f
16320
1bc718df6936 2009-08-20 Ke Wang <[email protected]>
wangke
parents: 16318
diff changeset
    69
export CFLAGS="%optflags"
1bc718df6936 2009-08-20 Ke Wang <[email protected]>
wangke
parents: 16318
diff changeset
    70
export CXXFLAGS="%cxx_optflags"
1bc718df6936 2009-08-20 Ke Wang <[email protected]>
wangke
parents: 16318
diff changeset
    71
export LDFLAGS="%{_ldflags}"
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    72
./configure \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    73
    --prefix=%{_prefix} \
12769
fa231116bc80 2008-07-08 Jeff Cai <[email protected]>
qc161282
parents: 11151
diff changeset
    74
    --libdir=%{_libdir} \
fa231116bc80 2008-07-08 Jeff Cai <[email protected]>
qc161282
parents: 11151
diff changeset
    75
    --bindir=%{_bindir} \
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    76
    --sysconfdir=%{_sysconfdir} \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    77
    --mandir=%{_mandir} \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    78
    --infodir=%{_datadir}/info \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    79
    --localstatedir=/var \
9799
ddf2e4e5291d 2007-04-28 Irene Huang <[email protected]>
sh162551
parents: 9739
diff changeset
    80
	--with-myspell-dir=/usr/share/spell/myspell \
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    81
	--disable-aspell \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    82
    --disable-static
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    83
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    84
make -j $CPUS
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    85
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    86
%install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    87
make install DESTDIR=$RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    88
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    89
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    90
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    91
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    92
%changelog
16039
b864495670f5 2009-07-16 Ke Wang <[email protected]>
wangke
parents: 15339
diff changeset
    93
* Thu Jul 16 2009 - [email protected]
b864495670f5 2009-07-16 Ke Wang <[email protected]>
wangke
parents: 15339
diff changeset
    94
- Bump to 1.5.0
b864495670f5 2009-07-16 Ke Wang <[email protected]>
wangke
parents: 15339
diff changeset
    95
- Removed upstreamed patch enchant-01-define_FILE.diff
b864495670f5 2009-07-16 Ke Wang <[email protected]>
wangke
parents: 15339
diff changeset
    96
- Updated patch enchant-02-build-request-dict.diff
b864495670f5 2009-07-16 Ke Wang <[email protected]>
wangke
parents: 15339
diff changeset
    97
- Updated patch enchant-03-zemberek-segv.diff
b864495670f5 2009-07-16 Ke Wang <[email protected]>
wangke
parents: 15339
diff changeset
    98
- Added "libtoolize --force" to recreate aclocal.m4 because of version mismatch
14913
1a56238fdb87 2009-01-14 Takao Fujiwara <[email protected]>
fujiwara
parents: 14621
diff changeset
    99
* Wed Jan 14 2009 - [email protected]
1a56238fdb87 2009-01-14 Takao Fujiwara <[email protected]>
fujiwara
parents: 14621
diff changeset
   100
- Add patch zemberek-segv.diff to avoid segv on tr_TR.UTF-8
1a56238fdb87 2009-01-14 Takao Fujiwara <[email protected]>
fujiwara
parents: 14621
diff changeset
   101
- Add patch ordering.diff so that we configure myspell by default.
14621
71f44b2f26d0 2008-11-19 Jeff Cai <[email protected]>
qc161282
parents: 14573
diff changeset
   102
* Wed Nov 19 2008 - [email protected]
71f44b2f26d0 2008-11-19 Jeff Cai <[email protected]>
qc161282
parents: 14573
diff changeset
   103
- Add patch -02-build-request-dic to solve the build issue
71f44b2f26d0 2008-11-19 Jeff Cai <[email protected]>
qc161282
parents: 14573
diff changeset
   104
  with SunStudio 12
14573
708419a4cefe 2008-11-10 Jeff Cai <[email protected]>
qc161282
parents: 14544
diff changeset
   105
* Mon Nov 10 2008 - [email protected]
708419a4cefe 2008-11-10 Jeff Cai <[email protected]>
qc161282
parents: 14544
diff changeset
   106
- Remove patch -02-aspell-conversion.diff  because 
708419a4cefe 2008-11-10 Jeff Cai <[email protected]>
qc161282
parents: 14544
diff changeset
   107
  it looks like not many users need to convert the local 
708419a4cefe 2008-11-10 Jeff Cai <[email protected]>
qc161282
parents: 14544
diff changeset
   108
  aspell dictionary to myspell format. We don't like to 
708419a4cefe 2008-11-10 Jeff Cai <[email protected]>
qc161282
parents: 14544
diff changeset
   109
  maintain a large Solaris only patch.
14540
e1b502edb547 2008-10-31 Jeff Cai <[email protected]>
qc161282
parents: 12769
diff changeset
   110
* Fri Oct 31 2008 - [email protected]
14544
2e70754df969 2008-10-31 Jeff Cai <[email protected]>
qc161282
parents: 14540
diff changeset
   111
- Bump to 1.4.2
2e70754df969 2008-10-31 Jeff Cai <[email protected]>
qc161282
parents: 14540
diff changeset
   112
- Remove upstream patch -02-uninstalled-pc.diff
2e70754df969 2008-10-31 Jeff Cai <[email protected]>
qc161282
parents: 14540
diff changeset
   113
- Remove upstream patch -03-personaldic.diff
14573
708419a4cefe 2008-11-10 Jeff Cai <[email protected]>
qc161282
parents: 14544
diff changeset
   114
- Remove unused patch -02-aspell-conversion.diff
14544
2e70754df969 2008-10-31 Jeff Cai <[email protected]>
qc161282
parents: 14540
diff changeset
   115
- Rework patch -01-define-FILE.diff
2e70754df969 2008-10-31 Jeff Cai <[email protected]>
qc161282
parents: 14540
diff changeset
   116
* Fri Oct 31 2008 - [email protected]
14540
e1b502edb547 2008-10-31 Jeff Cai <[email protected]>
qc161282
parents: 12769
diff changeset
   117
- Change the license tag.
12769
fa231116bc80 2008-07-08 Jeff Cai <[email protected]>
qc161282
parents: 11151
diff changeset
   118
* Mon Jul 07 2008 - [email protected]
fa231116bc80 2008-07-08 Jeff Cai <[email protected]>
qc161282
parents: 11151
diff changeset
   119
- Move 'rm' lines to SUNgnome-spell.spec
9799
ddf2e4e5291d 2007-04-28 Irene Huang <[email protected]>
sh162551
parents: 9739
diff changeset
   120
* Sat Apr 28 2007 - [email protected]
9800
4da61e20ee74 2007-04-28 Irene Huang <[email protected]>
sh162551
parents: 9799
diff changeset
   121
- split patch -03-personaldic.diff into two patches
4da61e20ee74 2007-04-28 Irene Huang <[email protected]>
sh162551
parents: 9799
diff changeset
   122
  -03-personaldic.diff and -04-apsell-conversion.diff, since 
4da61e20ee74 2007-04-28 Irene Huang <[email protected]>
sh162551
parents: 9799
diff changeset
   123
  -03 has been upsteamed to community and will be removed
4da61e20ee74 2007-04-28 Irene Huang <[email protected]>
sh162551
parents: 9799
diff changeset
   124
  when enchant is bumped to a new version. 
4da61e20ee74 2007-04-28 Irene Huang <[email protected]>
sh162551
parents: 9799
diff changeset
   125
4da61e20ee74 2007-04-28 Irene Huang <[email protected]>
sh162551
parents: 9799
diff changeset
   126
* Sat Apr 28 2007 - [email protected]
9799
ddf2e4e5291d 2007-04-28 Irene Huang <[email protected]>
sh162551
parents: 9739
diff changeset
   127
- change the dictionary path to /usr/share/spell/myspell
ddf2e4e5291d 2007-04-28 Irene Huang <[email protected]>
sh162551
parents: 9739
diff changeset
   128
  this is the place where the dictionaries should go according
ddf2e4e5291d 2007-04-28 Irene Huang <[email protected]>
sh162551
parents: 9739
diff changeset
   129
  to LASRC 2007/231, targeting build 65.
ddf2e4e5291d 2007-04-28 Irene Huang <[email protected]>
sh162551
parents: 9739
diff changeset
   130
9739
27df7369b7e3 2007-04-13 Irene Huang <[email protected]>
sh162551
parents: 9729
diff changeset
   131
* Fri Apr 13 2007 - [email protected]
27df7369b7e3 2007-04-13 Irene Huang <[email protected]>
sh162551
parents: 9729
diff changeset
   132
- put enchant++.h back to the package. 
27df7369b7e3 2007-04-13 Irene Huang <[email protected]>
sh162551
parents: 9729
diff changeset
   133
9722
b6ef45555846 2007-04-10 Irene Huang <[email protected]>
sh162551
parents: 9397
diff changeset
   134
* Tue Apr 10 2007 - [email protected]	
9729
d1c8489ce695 2007-04-12 Damien Carbery <[email protected]>
dcarbery
parents: 9722
diff changeset
   135
- Add patch enchant-02-personaldic.diff to enable personal dictionary support
d1c8489ce695 2007-04-12 Damien Carbery <[email protected]>
dcarbery
parents: 9722
diff changeset
   136
  of enchant myspell backend and conversion of aspell personal dict to myspell
d1c8489ce695 2007-04-12 Damien Carbery <[email protected]>
dcarbery
parents: 9722
diff changeset
   137
  format. Fixes bug 6529848 and 6529853.
9722
b6ef45555846 2007-04-10 Irene Huang <[email protected]>
sh162551
parents: 9397
diff changeset
   138
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   139
* Wed Feb 14 2007 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   140
- Make enchant use myspell instead of aspell.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   141
- Add patch enchant-02-uninstalled-pc.diff to enable building in one spec file
9729
d1c8489ce695 2007-04-12 Damien Carbery <[email protected]>
dcarbery
parents: 9722
diff changeset
   142
  for gnome-spell and enchant.
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   143
9729
d1c8489ce695 2007-04-12 Damien Carbery <[email protected]>
dcarbery
parents: 9722
diff changeset
   144
* Mon Dec 11 2006 - [email protected]
d1c8489ce695 2007-04-12 Damien Carbery <[email protected]>
dcarbery
parents: 9722
diff changeset
   145
- Remove unnecessary automake call; add autoconf and adjust aclocal calls.
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   146
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   147
* Fri Dec 08 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   148
- Initial spec.