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