author | dermotm |
Mon, 24 Jul 2006 12:30:39 +0000 | |
branch | gnome-2-10 |
changeset 19949 | 94f49bf19351 |
parent 19719 | d184ca39d269 |
permissions | -rw-r--r-- |
2386 | 1 |
# |
19693 | 2 |
# spec file for package gnome-spell |
3 |
# |
|
4 |
# Copyright (c) 2005 Sun Microsystems, Inc. |
|
2386 | 5 |
# This file and all modifications and additions to the pristine |
6 |
# package are under the same license as the package itself. |
|
7 |
# |
|
8 |
||
19643 | 9 |
%define t_suffix -build38-linux-cb |
2932
d9e62503fce0
use GMT when defining the date string for the nightly tarballs
laca
parents:
2930
diff
changeset
|
10 |
%{?nightly:%define t_suffix -%(TZ=GMT date +%Y%m%d)} |
2386 | 11 |
|
12 |
Name: gnome-spell |
|
13 |
Version: 1.0.4 |
|
19643 | 14 |
Release: 388 |
2386 | 15 |
Vendor: Sun Microsystems, Inc. |
19693 | 16 |
Distribution: Java Desktop System |
2386 | 17 |
Copyright: GPL |
18 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
19 |
Docdir: %{_datadir}/doc |
|
20 |
Autoreqprov: on |
|
21 |
URL: http://www.sun.com/software/javadesktopsystem/ |
|
22 |
Source: %{name}-%{version}%{t_suffix}.tar.bz2 |
|
19719 | 23 |
Source1: mkinstalldirs |
2386 | 24 |
Summary: GNOME spell checking component |
25 |
Group: Applications/Text |
|
26 |
||
4143 | 27 |
%define aspell_version 0.50.3 |
4363 | 28 |
%define libgnomeui_version 2.6.1 |
2386 | 29 |
Requires: aspell >= %{aspell_version} |
3628 | 30 |
BuildRequires: aspell-devel >= %{aspell_version} |
4363 | 31 |
Requires: libgnomeui >= %libgnomeui_version |
32 |
BuildRequires: libgnomeui-devel >= %libgnomeui_version |
|
2386 | 33 |
|
34 |
%description |
|
35 |
Gnome Spell is GNOME/Bonobo component for spell checking. It |
|
36 |
contains the GNOME::Spell::Dictionary object, which provides a spell |
|
37 |
checking dictionary (see Spell.idl for exact API definition). It is |
|
38 |
based on pspell. |
|
39 |
||
40 |
%files |
|
41 |
%defattr(-, root, root) |
|
42 |
%doc AUTHORS ChangeLog COPYING NEWS README |
|
43 |
%dir %{_libdir}/gnome-spell |
|
44 |
%{_libdir}/gnome-spell/*.so |
|
45 |
%{_datadir}/control-center-2.0/icons/* |
|
46 |
%{_datadir}/gnome-spell-1.0.4 |
|
47 |
%{_datadir}/idl/* |
|
48 |
%{_libdir}/bonobo/servers/* |
|
49 |
%{_prefix}/*/locale/*/LC_MESSAGES/* |
|
50 |
||
51 |
%prep |
|
52 |
%setup -q -n %{name}-%{version} |
|
19719 | 53 |
cp %SOURCE1 . |
2386 | 54 |
|
4963 | 55 |
|
2386 | 56 |
%build |
3263 | 57 |
%ifos linux |
58 |
if [ -x /usr/bin/getconf ]; then |
|
59 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
60 |
fi |
|
61 |
%else |
|
3846 | 62 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
3263 | 63 |
%endif |
64 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
65 |
CPUS=1 |
|
66 |
fi |
|
67 |
||
2930 | 68 |
%ifos linux |
2933 | 69 |
export LDFLAGS="-lstdc++" |
2930 | 70 |
%endif |
19693 | 71 |
|
72 |
aclocal $ACLOCAL_FLAGS |
|
73 |
libtoolize --force |
|
74 |
glib-gettextize --force --copy |
|
75 |
intltoolize --force --automake |
|
76 |
autoheader |
|
77 |
automake -a -f -c --gnu |
|
78 |
autoconf |
|
79 |
./configure \ |
|
80 |
--prefix=%{_prefix} \ |
|
81 |
--sysconfdir=%{_sysconfdir} \ |
|
82 |
--mandir=%{_mandir} \ |
|
83 |
--infodir=%{_datadir}/info \ |
|
84 |
--localstatedir=/var \ |
|
85 |
--disable-static |
|
86 |
||
87 |
make -j $CPUS |
|
2386 | 88 |
|
89 |
%install |
|
19693 | 90 |
make install DESTDIR=$RPM_BUILD_ROOT |
3628 | 91 |
#clean up unpackaged files |
92 |
rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.a |
|
93 |
rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la |
|
2386 | 94 |
|
95 |
%clean |
|
19693 | 96 |
rm -rf $RPM_BUILD_ROOT |
2386 | 97 |
|
98 |
%changelog |
|
19693 | 99 |
* Fri Aug 05 2005 - [email protected] |
100 |
- simplify spec file |
|
101 |
||
19643 | 102 |
* Mon Jun 20 2005 - [email protected] |
103 |
- Bump source tarball to build 38 (linux) |
|
104 |
||
105 |
* Mon Jun 06 2005 - [email protected] |
|
106 |
- Bump source tarball to build 37 (linux) |
|
107 |
||
108 |
* Mon May 23 2005 - [email protected] |
|
109 |
- Bump source tarball to build 36 (linux) |
|
110 |
||
111 |
* Mon May 09 2005 - [email protected] |
|
112 |
- Bump source tarball to build 35 (linux) |
|
113 |
||
5368 | 114 |
* Mon Apr 25 2005 - [email protected] |
115 |
- Bump source tarball to build 34 (linux) |
|
116 |
||
5331 | 117 |
* Mon Apr 11 2005 - [email protected] |
118 |
- Bump source tarball to build 33 (linux) |
|
119 |
||
5279 | 120 |
* Mon Mar 28 2005 - [email protected] |
121 |
- Bump source tarball to build 32 (linux) |
|
122 |
||
5235 | 123 |
* Mon Mar 14 2005 - [email protected] |
124 |
- Bump source tarball to build 31 (linux) |
|
125 |
||
5150 | 126 |
* Mon Feb 28 2005 - [email protected] |
127 |
- Bump source tarball to build 30 (linux) |
|
128 |
||
5080 | 129 |
* Mon Feb 14 2005 - [email protected] |
130 |
- Bump source tarball to build 29 (linux) |
|
131 |
||
4978 | 132 |
* Mon Jan 31 2005 - [email protected] |
133 |
- Bump source tarball to build 28 (linux) |
|
134 |
||
4963 | 135 |
* Fri Jan 28 2005 - [email protected] |
136 |
- Fix the wrong description by script failure. |
|
137 |
||
4857 | 138 |
* Mon Jan 17 2005 - [email protected] |
139 |
- Bump source tarball to build 27 (linux) |
|
140 |
||
4799 | 141 |
* Tue Jan 04 2005 - [email protected] |
142 |
- Bump source tarball to build 26 (linux) |
|
143 |
||
4742 | 144 |
* Mon Dec 13 2004 - [email protected] |
145 |
- Bump source tarball to build 25 (linux) |
|
146 |
||
4688 | 147 |
* Mon Nov 29 2004 - [email protected] |
148 |
- Bump source tarball to build 24 |
|
149 |
||
4577 | 150 |
* Mon Nov 15 2004 - [email protected] |
151 |
- Bump source tarball to build 23. |
|
152 |
||
4407 | 153 |
* Mon Nov 01 2004 - [email protected] |
154 |
- bump src tarball to build22 |
|
155 |
||
4363 | 156 |
* Wed Oct 27 2004 - [email protected] |
157 |
- add libgnomeui dependency |
|
158 |
||
4324 | 159 |
* Tue Oct 26 2004 - [email protected] |
160 |
- disable building static libs |
|
161 |
||
4274 | 162 |
* Mon Oct 18 2004 - [email protected] |
163 |
- bump src tarball to build21 |
|
164 |
||
4219 | 165 |
* Mon Oct 11 2004 - [email protected] |
166 |
- bump src tarball to build20b |
|
167 |
||
4143 | 168 |
* Mon Oct 04 2004 - [email protected] |
169 |
- change aspell dep. version to 0.50.3 |
|
170 |
||
4002 | 171 |
* Mon Sep 20 2004 - [email protected] |
172 |
- bump src tarball to build19 |
|
173 |
||
3856 | 174 |
* Mon Sep 06 2004 - [email protected] |
175 |
- bump src tarball to build18 |
|
176 |
||
3676 | 177 |
* Mon Aug 23 2004 - [email protected] |
178 |
- bump src tarball to build17 |
|
179 |
||
3517 | 180 |
* Mon Aug 09 2004 - [email protected] |
181 |
- bump src tarball to build16 |
|
182 |
||
3423 | 183 |
* Mon Jul 26 2004 - [email protected] |
184 |
- bump src tarball to build15 |
|
185 |
||
3628 | 186 |
* Tue Jul 13 2004 - [email protected] |
187 |
- ported to sles 9, add build requirement on |
|
188 |
aspell-devel. Remove unpackaged files. |
|
189 |
||
3683 | 190 |
* Thu Jul 08 2004 - [email protected] |
191 |
- Updated l10n content to gnome-spell-l10n-po-1.2.tar.bz2 |
|
192 |
||
3263 | 193 |
* Wed Jul 07 2004 - [email protected] |
194 |
- added "-j $CPUS" to make to speed up builds |
|
195 |
||
3215 | 196 |
* Fri Jun 25 2004 - [email protected] |
197 |
- bump src tarball to build13 |
|
3103 | 198 |
* Thu Jun 10 2004 - [email protected] |
199 |
- bump src tarball to build12 |
|
2957 | 200 |
* Sun May 30 2004 - [email protected] |
201 |
- bump src tarball to build11 |
|
2930 | 202 |
* Fri May 28 2004 - [email protected] |
2933 | 203 |
- add -lstdc++ to LDFLAGS on Linux |
2908 | 204 |
* Thu May 27 2004 - [email protected] |
205 |
- add mkinstalldirs to the source tree |
|
2763 | 206 |
* Fri May 14 2004 - [email protected] |
207 |
- bump src tarball to build10 |
|
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
208 |
* Wed May 12 2004 - [email protected] |
2740 | 209 |
- replace tar jxf with the more solaris friendly |
210 |
bzcat piped through tar |
|
211 |
* Wed May 12 2004 - [email protected] |
|
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
212 |
- Adding gnome-spell-l10n-po-1.1.tar.bz2 l10n content |
2602 | 213 |
* Fri Apr 30 2004 - [email protected] |
214 |
- bump src tarball to build09 |