author | dermotm |
Mon, 24 Jul 2006 12:30:39 +0000 | |
branch | gnome-2-10 |
changeset 19949 | 94f49bf19351 |
parent 19693 | ecfa915b40d9 |
permissions | -rw-r--r-- |
19693 | 1 |
# |
2 |
# spec file for package libgtkhtml |
|
3 |
# |
|
4 |
# Copyright (c) 2005 Sun Microsystems, Inc. |
|
5 |
# This file and all modifications and additions to the pristine |
|
6 |
# package are under the same license as the package itself. |
|
7 |
# |
|
63 | 8 |
Name: libgtkhtml |
211 | 9 |
License: LGPL |
10 |
Group: System/Libraries/GNOME |
|
19318 | 11 |
Version: 2.6.3 |
12 |
Release: 1 |
|
19693 | 13 |
Distribution: Java Desktop System |
575 | 14 |
Vendor: Sun Microsystems, Inc. |
211 | 15 |
Summary: Library for HTML support in GNOME |
19318 | 16 |
Source: http://ftp.gnome.org/pub/GNOME/sources/libgtkhtml/2.6/libgtkhtml-%{version}.tar.bz2 |
17 |
Patch1: libgtkhtml-01-keynav-crash.diff |
|
211 | 18 |
URL: http://www.gnome.org |
63 | 19 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
20 |
Docdir: %{_docdir}/libgtkhtml |
|
21 |
Autoreqprov: on |
|
22 |
||
1260 | 23 |
%define gtk2_version 2.2.4 |
156 | 24 |
%define libxml2_version 2.4.23 |
4340 | 25 |
%define gail_version 1.8.0 |
156 | 26 |
|
27 |
Requires: gtk2 >= %{gtk2_version} |
|
28 |
Requires: libxml2 >= %{libxml2_version} |
|
29 |
Requires: gail >= %{gail_version} |
|
30 |
BuildRequires: gtk2-devel >= %{gtk2_version} |
|
31 |
BuildRequires: libxml2-devel >= %{libxml2_version} |
|
32 |
BuildRequires: gail-devel >= %{gail_version} |
|
33 |
||
63 | 34 |
%description |
211 | 35 |
libgtkhtml is a library to provide extensions for GTK+ to handle HTML format. |
63 | 36 |
|
156 | 37 |
%package devel |
211 | 38 |
Summary: Development Library for HTML support in GNOME |
156 | 39 |
Group: Development/Libraries/GNOME |
40 |
Requires: %{name} = %{version} |
|
41 |
Requires: gtk2-devel >= %{gtk2_version} |
|
42 |
Requires: libxml2-devel >= %{libxml2_version} |
|
43 |
Requires: gail-devel >= %{gail_version} |
|
44 |
||
45 |
%description devel |
|
211 | 46 |
libgtkhtml is a library to provide extensions for GTK+ to handle HTML format. |
156 | 47 |
|
63 | 48 |
%prep |
49 |
%setup -q |
|
3405 | 50 |
%patch1 -p1 |
4455 | 51 |
|
63 | 52 |
%build |
3263 | 53 |
%ifos linux |
54 |
if [ -x /usr/bin/getconf ]; then |
|
55 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
56 |
fi |
|
57 |
%else |
|
3846 | 58 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
3263 | 59 |
%endif |
60 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
61 |
CPUS=1 |
|
62 |
fi |
|
63 |
||
19435 | 64 |
libtoolize --copy --force |
65 |
aclocal -I %{_datadir}/aclocal |
|
66 |
automake -a -c -f |
|
19433
f4c1e6617f94
run autoconf so that the patch actually does something
laca
parents:
19432
diff
changeset
|
67 |
autoconf |
211 | 68 |
CFLAGS="$RPM_OPT_FLAGS" \ |
69 |
./configure --prefix=%{_prefix} \ |
|
70 |
--sysconfdir=%{_sysconfdir} |
|
3263 | 71 |
make -j $CPUS |
63 | 72 |
|
73 |
%install |
|
211 | 74 |
make DESTDIR=$RPM_BUILD_ROOT install |
3628 | 75 |
rm $RPM_BUILD_ROOT/%{_libdir}/libgtkhtml-2.a |
76 |
rm $RPM_BUILD_ROOT/%{_libdir}/libgtkhtml-2.la |
|
63 | 77 |
|
78 |
%clean |
|
79 |
rm -rf $RPM_BUILD_ROOT |
|
80 |
||
211 | 81 |
%post |
82 |
/sbin/ldconfig |
|
156 | 83 |
|
211 | 84 |
%postun |
85 |
/sbin/ldconfig |
|
156 | 86 |
|
63 | 87 |
%files |
88 |
%defattr(-, root, root) |
|
156 | 89 |
%{_libdir}/*.so.* |
63 | 90 |
|
91 |
%files devel |
|
92 |
%defattr(-, root, root) |
|
156 | 93 |
%{_libdir}/*.so |
63 | 94 |
%{_libdir}/pkgconfig/*.pc |
95 |
%{_includedir}/gtkhtml-2.0 |
|
96 |
||
156 | 97 |
%changelog |
19432 | 98 |
* Wed Jun 15 2005 - [email protected] |
99 |
- Add patch pkgconfig.diff to add glib-2.0 to the list of dependent modules |
|
19435 | 100 |
- autotoolize |
19432 | 101 |
|
19318 | 102 |
* Wed May 18 2005 - [email protected] |
103 |
- Bump to 2.6.3 |
|
104 |
||
5268 | 105 |
* Wed Mar 23 2005 - [email protected] |
106 |
- Add patch libgtkhtml-07-keynav-crash.diff fixes the issue of yelp |
|
107 |
crashing with keynav/mouse highlighting. Fixes #6229854. |
|
108 |
||
4739 | 109 |
* Fri Dec 13 2004 - [email protected] |
110 |
- Add patch libgtkhtml-06-toggle-cursor.diff for bugzilla #160705. |
|
111 |
||
4646 | 112 |
* Thu Nov 25 2004 - [email protected] |
113 |
- Add patch libgtkhtml-05-link-focus.diff for bug #6190671. |
|
114 |
||
4459 | 115 |
* Fri Nov 05 2004 - [email protected] |
116 |
- Add patch -04-hand-symbol.diff : #5032857 |
|
117 |
||
118 |
* Thu Nov 04 2004 - [email protected] |
|
4434 | 119 |
- Add patch libgtkhtml-03-fix-move.diff for bug #6190222. |
120 |
||
4340 | 121 |
* Wed Oct 27 2004 - [email protected] |
122 |
- Add patch libgtkhtml-02-fix-crash.diff for bug #6185204. |
|
123 |
||
3405 | 124 |
* Fri Jul 23 2004 - [email protected] |
125 |
- Add patch libgtkhtml-01-fix-speech.diff for bugzilla #143502 |
|
126 |
||
3628 | 127 |
* Mon Jul 12 2004 - [email protected] |
128 |
- ported to rpm4 |
|
129 |
||
3263 | 130 |
* Wed Jul 07 2004 - [email protected] |
131 |
- added "-j $CPUS" to make to speed up builds |
|
132 |
||
3050 | 133 |
* Tue Jun 08 2004 - <[email protected]> |
134 |
- Upgrade tarball to 2.6.2 |
|
135 |
||
2658 | 136 |
* Thu May 06 2004 - <[email protected]> |
137 |
- Upgrade tarball to 2.6.1 |
|
138 |
||
2392 | 139 |
* Mon Apr 05 2004 - <[email protected]> |
140 |
- Upgrade tarball to 2.6.0 |
|
141 |
||
2240 | 142 |
* Thu Mar 18 2004 - <[email protected]> |
143 |
- Upgrade tarball to 2.5.6 |
|
144 |
||
1937 | 145 |
* Tue Feb 24 2004 - <[email protected]> |
146 |
- Upgrade tarball to 2.5.5 |
|
147 |
||
1580 | 148 |
* Thu Feb 05 2004 - <[email protected]> |
149 |
- Upgrade tarball to 2.5.3 |
|
150 |
||
1452 | 151 |
* Tue Dec 16 2003 - <[email protected]> |
152 |
- Upgrade tarball to 2.5.1 |
|
153 |
||
1260 | 154 |
* Tue Oct 14 2003 - <[email protected]> |
155 |
- Upgrade tarball to 2.4.1 for QS |
|
156 |
||
1058 | 157 |
* Thu Aug 14 2003 - <[email protected]> |
158 |
- remove *.a, *.la |
|
159 |
||
63 | 160 |
* Tue May 13 2003 - [email protected] |
156 | 161 |
- Initial Sun release |