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