author | dermotm |
Mon, 23 May 2005 09:28:28 +0000 | |
changeset 5458 | 4c7bf791deca |
parent 5452 | 19218a29c2bc |
child 5460 | 54346da409d4 |
permissions | -rw-r--r-- |
2386 | 1 |
# |
2 |
# License (c) 2003 Sun Microsystems Inc. |
|
3 |
# This file and all modifications and additions to the pristine |
|
4 |
# package are under the same license as the package itself. |
|
5 |
# |
|
6 |
||
5458 | 7 |
%define t_suffix -build36-linux-cb |
2932
d9e62503fce0
use GMT when defining the date string for the nightly tarballs
laca
parents:
2798
diff
changeset
|
8 |
%{?nightly:%define t_suffix -%(TZ=GMT date +%Y%m%d)} |
2386 | 9 |
|
10 |
Name: gtkhtml |
|
11 |
Version: 3.0.9 |
|
5458 | 12 |
Release: 380 |
2386 | 13 |
Vendor: Sun Microsystems, Inc. |
14 |
Distribution: Java Desktop System, Release 3 |
|
15 |
Copyright: LGPL |
|
16 |
BuildRoot: %{_tmppath}/%{name}-%{version}-root |
|
17 |
Docdir: %{_datadir}/doc |
|
18 |
Autoreqprov: on |
|
19 |
URL: http://www.sun.com/software/javadesktopsystem/ |
|
20 |
Source: %{name}-%{version}%{t_suffix}.tar.bz2 |
|
5452 | 21 |
Source1: gtkhtml-l10n-po-1.15.tar.bz2 |
4455 | 22 |
Source2: l10n-configure.sh |
2386 | 23 |
Patch: gtkhtml-01-enable-deprecated.diff |
3952
6b0ffbd118a0
Added gtkhtml-02-g11n-potfiles.diff. Updated gtkhtml.spec.
yk150259
parents:
3858
diff
changeset
|
24 |
Patch1: gtkhtml-02-g11n-potfiles.diff |
2386 | 25 |
#Patch0: gtkhtml_patch0.diff |
26 |
||
27 |
%define libgnomeprint_devel_version 2.2.1.1 |
|
28 |
%define libgnomeprintui_devel_version 2.2.1.1 |
|
29 |
%define libsoup_devel_version 1.99 |
|
30 |
%define libbonoboui_devel_version 2.0.1 |
|
31 |
%define bonobo_activation_devel_version 1.0.3 |
|
32 |
%define GConf_devel_version 1.2.1 |
|
33 |
%define gail_devel_version 0.17 |
|
34 |
%define libgal_devel_version 1.99.8 |
|
35 |
BuildRequires: intltool |
|
36 |
BuildRequires: libgal-devel >= %{libgal_devel_version} |
|
37 |
BuildRequires: libgnomeprint-devel >= %{libgnomeprint_devel_version} |
|
38 |
BuildRequires: libgnomeprintui-devel >= %{libgnomeprintui_devel_version} |
|
39 |
BuildRequires: libsoup-devel >= %{libsoup_devel_version} |
|
40 |
BuildRequires: libbonoboui-devel >= %{libbonoboui_devel_version} |
|
41 |
BuildRequires: bonobo-activation-devel >= %{bonobo_activation_devel_version} |
|
42 |
BuildRequires: GConf-devel >= %{GConf_devel_version} |
|
43 |
BuildRequires: gail-devel >= %{gail_devel_version} |
|
44 |
Summary: GtkHTML is a HTML rendering/editing library. |
|
45 |
Group: System Environment/Libraries |
|
46 |
||
47 |
%description |
|
48 |
GtkHTML is a HTML rendering/editing library. GtkHTML is |
|
49 |
not designed to be the ultimate HTML browser/editor: instead, it is |
|
50 |
designed to be easily embedded into applications that require |
|
51 |
lightweight HTML functionality. |
|
52 |
||
53 |
GtkHTML was originally based on KDE's KHTMLW widget, but is now |
|
54 |
developed independently of it. The most important difference between |
|
55 |
KHTMLW and GtkHTML, besides being GTK-based, is that GtkHTML is also |
|
56 |
an editor. Thanks to the Bonobo editor component that comes with the |
|
57 |
library, it's extremely simple to add HTML editing to an existing |
|
58 |
application. |
|
59 |
||
60 |
%files |
|
61 |
%defattr(-, root, root) |
|
62 |
%{_libdir}/lib*.so.* |
|
63 |
%{_libdir}/gtkhtml |
|
64 |
%{_datadir}/gtkhtml-3.0 |
|
65 |
%{_prefix}/*/locale/*/LC_MESSAGES/*.mo |
|
66 |
%{_libdir}/bonobo/servers/* |
|
67 |
||
68 |
%post |
|
69 |
ldconfig |
|
70 |
||
71 |
%postun |
|
72 |
ldconfig |
|
73 |
||
74 |
%package -n gtkhtml-devel |
|
75 |
Summary: Development libraries, header files and utilities for GtkHTML |
|
76 |
Group: Development/Libraries |
|
77 |
Requires: gtkhtml = %{version}-%{release} |
|
78 |
Requires: libgnomeprint-devel |
|
79 |
Requires: libgnomeprintui-devel |
|
80 |
Requires: bonobo-activation-devel |
|
81 |
Requires: libbonoboui-devel |
|
82 |
Requires: GConf-devel |
|
83 |
Requires: libgal-devel >= %{libgal_devel_version} |
|
84 |
||
85 |
%description -n gtkhtml-devel |
|
86 |
GtkHTML is a HTML rendering/editing library. GtkHTML is |
|
87 |
not designed to be the ultimate HTML browser/editor: instead, it is |
|
88 |
designed to be easily embedded into applications that require |
|
89 |
lightweight HTML functionality. |
|
90 |
||
91 |
This package contains the files necessary to develop applications with GtkHTML. |
|
92 |
||
93 |
%files -n gtkhtml-devel |
|
94 |
%defattr(-, root, root) |
|
95 |
%{_libdir}/lib*.a |
|
96 |
%{_libdir}/lib*.so |
|
97 |
%{_libdir}/pkgconfig/*.pc |
|
98 |
%{_includedir}/* |
|
99 |
||
100 |
# $RPM_COMMAND is an environment variable used by the SUN build |
|
101 |
# system to control the build process with finer granularity than RPM |
|
102 |
# normally allows. This specfile will function as expected by RPM if |
|
103 |
# $RPM_COMMAND is unset. If you are not the SUN build system, |
|
104 |
# feel free to ignore it. |
|
105 |
||
106 |
%prep |
|
107 |
case "${RPM_COMMAND:-all}" in |
|
108 |
dist) |
|
109 |
%setup -q -D -n %{name}-%{version} |
|
2740 | 110 |
/usr/bin/bzcat -dc %SOURCE1|tar xf - |
2386 | 111 |
;; |
112 |
all) |
|
113 |
%setup -q -n %{name}-%{version} |
|
2740 | 114 |
/usr/bin/bzcat -dc %SOURCE1|tar xf - |
2386 | 115 |
;; |
116 |
esac |
|
117 |
case "${RPM_COMMAND:-all}" in |
|
118 |
dist|all) |
|
119 |
%patch -p1 |
|
3952
6b0ffbd118a0
Added gtkhtml-02-g11n-potfiles.diff. Updated gtkhtml.spec.
yk150259
parents:
3858
diff
changeset
|
120 |
%patch1 -p1 |
2386 | 121 |
;; |
122 |
esac |
|
123 |
||
4467 | 124 |
bash -x %SOURCE2 |
125 |
||
2386 | 126 |
%build |
3263 | 127 |
%ifos linux |
128 |
if [ -x /usr/bin/getconf ]; then |
|
129 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
130 |
fi |
|
131 |
%else |
|
3846 | 132 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
3263 | 133 |
%endif |
134 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
135 |
CPUS=1 |
|
136 |
fi |
|
137 |
||
2386 | 138 |
MAKE=${MAKE:-make} |
139 |
RPM_COMMAND=${RPM_COMMAND:-all} |
|
140 |
DESTDIR=${DESTDIR:-"$RPM_BUILD_ROOT"} |
|
141 |
ARCH=%{_target_platform} |
|
142 |
export MAKE RPM_COMMAND DESTDIR ARCH |
|
143 |
case "$RPM_COMMAND" in |
|
144 |
prepare|all) |
|
145 |
aclocal $ACLOCAL_FLAGS -I %{_datadir}/aclocal/gnome2-macros |
|
146 |
libtoolize --force |
|
147 |
glib-gettextize --force --copy |
|
148 |
intltoolize --force --automake |
|
149 |
autoheader |
|
150 |
automake -a -f -c --gnu |
|
151 |
autoconf |
|
152 |
./configure --prefix=%{_prefix} --sysconfdir=%{_sysconfdir} --mandir=%{_mandir} --infodir=%{_datadir}/info --localstatedir=/var |
|
153 |
;; |
|
154 |
esac |
|
155 |
case "$RPM_COMMAND" in |
|
156 |
clean|all) |
|
157 |
if [ "/" != "$DESTDIR" ]; then |
|
158 |
rm -rf "$DESTDIR" |
|
159 |
fi |
|
160 |
;; |
|
161 |
esac |
|
162 |
case "$RPM_COMMAND" in |
|
163 |
build|all) |
|
3263 | 164 |
${MAKE} -j $CPUS |
2386 | 165 |
;; |
166 |
esac |
|
167 |
||
168 |
%install |
|
169 |
MAKE=${MAKE:-make} |
|
170 |
DESTDIR=${DESTDIR:-"$RPM_BUILD_ROOT"} |
|
171 |
# export DESTDIR |
|
172 |
case "${RPM_COMMAND:-all}" in |
|
173 |
install|all) |
|
174 |
${MAKE} DESTDIR=${DESTDIR} install ; rm -rf ${DESTDIR}%{_libdir}/*.la |
|
175 |
;; |
|
176 |
esac |
|
177 |
||
178 |
%clean |
|
179 |
DESTDIR=${DESTDIR:-"$RPM_BUILD_ROOT"} |
|
180 |
export DESTDIR |
|
181 |
case "${RPM_COMMAND:-all}" in |
|
182 |
clean|all) |
|
183 |
if [ "/" != "$DESTDIR" ]; then |
|
184 |
rm -rf "$DESTDIR" |
|
185 |
fi |
|
186 |
;; |
|
187 |
esac |
|
188 |
||
189 |
||
190 |
%changelog |
|
5458 | 191 |
* Mon May 23 2005 - [email protected] |
192 |
- Bump source tarball to build 36 (linux) |
|
193 |
||
5415 | 194 |
* Mon May 09 2005 - [email protected] |
195 |
- Bump source tarball to build 35 (linux) |
|
196 |
||
5368 | 197 |
* Mon Apr 25 2005 - [email protected] |
198 |
- Bump source tarball to build 34 (linux) |
|
199 |
||
5331 | 200 |
* Mon Apr 11 2005 - [email protected] |
201 |
- Bump source tarball to build 33 (linux) |
|
202 |
||
5279 | 203 |
* Mon Mar 28 2005 - [email protected] |
204 |
- Bump source tarball to build 32 (linux) |
|
205 |
||
5235 | 206 |
* Mon Mar 14 2005 - [email protected] |
207 |
- Bump source tarball to build 31 (linux) |
|
208 |
||
5150 | 209 |
* Mon Feb 28 2005 - [email protected] |
210 |
- Bump source tarball to build 30 (linux) |
|
211 |
||
5080 | 212 |
* Mon Feb 14 2005 - [email protected] |
213 |
- Bump source tarball to build 29 (linux) |
|
214 |
||
4978 | 215 |
* Mon Jan 31 2005 - [email protected] |
216 |
- Bump source tarball to build 28 (linux) |
|
217 |
||
4857 | 218 |
* Mon Jan 17 2005 - [email protected] |
219 |
- Bump source tarball to build 27 (linux) |
|
220 |
||
4799 | 221 |
* Tue Jan 04 2005 - [email protected] |
222 |
- Bump source tarball to build 26 (linux) |
|
223 |
||
4742 | 224 |
* Mon Dec 13 2004 - [email protected] |
225 |
- Bump source tarball to build 25 (linux) |
|
226 |
||
4688 | 227 |
* Mon Nov 29 2004 - [email protected] |
228 |
- Bump source tarball to build 24 |
|
229 |
||
4577 | 230 |
* Mon Nov 15 2004 - [email protected] |
231 |
- Bump source tarball to build 23. |
|
232 |
||
4407 | 233 |
* Mon Nov 01 2004 - [email protected] |
234 |
- bump src tarball to build22 |
|
235 |
||
4274 | 236 |
* Mon Oct 18 2004 - [email protected] |
237 |
- bump src tarball to build21 |
|
238 |
||
4219 | 239 |
* Mon Oct 11 2004 - [email protected] |
240 |
- bump src tarball to build20b |
|
241 |
||
4002 | 242 |
* Mon Sep 20 2004 - [email protected] |
243 |
- bump src tarball to build19 |
|
244 |
||
3952
6b0ffbd118a0
Added gtkhtml-02-g11n-potfiles.diff. Updated gtkhtml.spec.
yk150259
parents:
3858
diff
changeset
|
245 |
* Wed Sep 15 2004 - [email protected] |
6b0ffbd118a0
Added gtkhtml-02-g11n-potfiles.diff. Updated gtkhtml.spec.
yk150259
parents:
3858
diff
changeset
|
246 |
- Added gtkhtml-02-g11n-potfiles.diff |
6b0ffbd118a0
Added gtkhtml-02-g11n-potfiles.diff. Updated gtkhtml.spec.
yk150259
parents:
3858
diff
changeset
|
247 |
|
3856 | 248 |
* Mon Sep 06 2004 - [email protected] |
249 |
- bump src tarball to build18 |
|
250 |
||
3676 | 251 |
* Mon Aug 23 2004 - [email protected] |
252 |
- bump src tarball to build17 |
|
253 |
||
3517 | 254 |
* Mon Aug 09 2004 - [email protected] |
255 |
- bump src tarball to build16 |
|
256 |
||
3423 | 257 |
* Mon Jul 26 2004 - [email protected] |
258 |
- bump src tarball to build15 |
|
259 |
||
3279
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
260 |
* Thu Jul 08 2004 - [email protected] |
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
261 |
- Updated l10n content to gtkhtml-l10n-po-1.2.tar.bz2 |
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
262 |
|
3263 | 263 |
* Wed Jul 07 2004 - [email protected] |
264 |
- added "-j $CPUS" to make to speed up builds |
|
265 |
||
3215 | 266 |
* Fri Jun 25 2004 - [email protected] |
267 |
- bump src tarball to build13 |
|
3103 | 268 |
* Thu Jun 10 2004 - [email protected] |
269 |
- bump src tarball to build12 |
|
2957 | 270 |
* Sun May 30 2004 - [email protected] |
271 |
- bump src tarball to build11 |
|
2763 | 272 |
* Fri May 14 2004 - [email protected] |
273 |
- bump src tarball to build10 |
|
2740 | 274 |
* Wed May 12 2004 - [email protected] |
275 |
- replace tar jxf with the more solaris friendly |
|
276 |
bzcat piped through tar |
|
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
277 |
* Wed May 12 2004 - [email protected] |
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
278 |
- Adding gtkhtml-l10n-po-1.1.tar.bz2 l10n content |
2602 | 279 |
* Fri Apr 30 2004 - [email protected] |
280 |
- bump src tarball to build09 |