author | dcarbery |
Fri, 24 Nov 2006 16:37:59 +0000 | |
branch | 217update |
changeset 19096 | d542fc2c823e |
parent 19078 | a6e7d195f684 |
child 8644 | 03a152fd5cf6 |
permissions | -rw-r--r-- |
78 | 1 |
# |
5518 | 2 |
# spec file for package yelp |
78 | 3 |
# |
5518 | 4 |
# Copyright (c) 2005 Sun Microsystems, Inc. |
78 | 5 |
# This file and all modifications and additions to the pristine |
6 |
# package are under the same license as the package itself. |
|
7 |
# |
|
8564 | 8 |
# Owner: mattman |
9 |
# |
|
5719
2e95a68e5ca1
* GConf.spec at-spi.spec atk.spec bug-buddy.spec eel.spec eog.spec
dc144907
parents:
5609
diff
changeset
|
10 |
Name: yelp |
78 | 11 |
License: GPL |
229 | 12 |
Group: System/GUI/GNOME |
8246 | 13 |
Version: 2.16.1 |
5518 | 14 |
Release: 1 |
15 |
Distribution: Java Desktop System |
|
575 | 16 |
Vendor: Sun Microsystems, Inc. |
5548
ddbd17ae3838
* *.spec: Bump to latest available versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
17 |
Summary: The GNOME Help Browser |
8060 | 18 |
Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.16/%{name}-%{version}.tar.bz2 |
5518 | 19 |
Source1: gnome-help.1.gz |
20 |
Source2: yelp.1.gz |
|
8158
6e06af433751
#6471853 / #318996 - Check for NULL frag_id before strcmp()
mattk
parents:
8060
diff
changeset
|
21 |
Patch1: yelp-01-null-frag-id.diff |
229 | 22 |
URL: www.gnome.org |
78 | 23 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
229 | 24 |
Autoreqprov: on |
25 |
||
5518 | 26 |
%define gconf_version 2.6.0 |
27 |
%define libxml2_version 2.6.5 |
|
28 |
%define gtk2_version 2.5.3 |
|
29 |
%define libgtkhtml_version 2.6.0 |
|
30 |
%define gnome_vfs_version 2.6.0 |
|
31 |
%define libgnomeui_version 2.6.0 |
|
32 |
%define libbonobo_version 2.6.0 |
|
33 |
%define libglade_version 2.5.1 |
|
34 |
%define libxslt_version 1.1.14 |
|
35 |
%define gail_version 1.8.4 |
|
36 |
%define pango_version 1.8.1 |
|
37 |
%define gnome_doc_utils_version 0.1.1 |
|
38 |
%define mozilla_version 1.7 |
|
39 |
%define mozilla_nspr_version 4.5.0 |
|
229 | 40 |
|
41 |
Requires: gtk2 >= %{gtk2_version} |
|
42 |
Requires: gnome-vfs >= %{gnome_vfs_version} |
|
43 |
Requires: libgtkhtml >= %{libgtkhtml_version} |
|
44 |
Requires: libgnomeui >= %{libgnomeui_version} |
|
45 |
Requires: libbonobo >= %{libbonobo_version} |
|
46 |
Requires: libxslt >= %{libxslt_version} |
|
47 |
Requires: libglade >= %{libglade_version} |
|
1455 | 48 |
Requires: libxml2 >= %{libxml2_version} |
5518 | 49 |
Requires: mozilla >= %{mozilla_version} |
50 |
Requires: mozilla-nspr >= %{mozilla_nspr_version} |
|
51 |
||
229 | 52 |
BuildRequires: pango-devel >= %{pango_version} |
53 |
BuildRequires: gtk2-devel >= %{gtk2_version} |
|
54 |
BuildRequires: gnome-vfs-devel >= %{gnome_vfs_version} |
|
55 |
BuildRequires: libgtkhtml-devel >= %{libgtkhtml_version} |
|
56 |
BuildRequires: libgnomeui-devel >= %{libgnomeui_version} |
|
57 |
BuildRequires: libbonobo-devel >= %{libbonobo_version} |
|
58 |
BuildRequires: libglade-devel >= %{libglade_version} |
|
59 |
BuildRequires: libxslt-devel >= %{libxslt_version} |
|
60 |
BuildRequires: gail-devel >= %{gail_version} |
|
1455 | 61 |
BuildRequires: libxml2-devel >= %{libxml2_version} |
5518 | 62 |
BuildRequires: GConf >= %{gconf_version} |
63 |
BuildRequires: gnome-doc-utils >= %{gnome_doc_utils_version} |
|
64 |
BuildRequires: mozilla >= %{mozilla_version} |
|
65 |
BuildRequires: mozilla-nspr-devel >= %{mozilla_nspr_version} |
|
78 | 66 |
|
67 |
%description |
|
68 |
"Yelp" is the help browser for the GNOME 2.2 Desktop. It features man, info and docbook document sources. |
|
69 |
||
70 |
%prep |
|
229 | 71 |
%setup -q |
4455 | 72 |
|
8158
6e06af433751
#6471853 / #318996 - Check for NULL frag_id before strcmp()
mattk
parents:
8060
diff
changeset
|
73 |
%patch1 -p1 |
6e06af433751
#6471853 / #318996 - Check for NULL frag_id before strcmp()
mattk
parents:
8060
diff
changeset
|
74 |
|
78 | 75 |
%build |
3263 | 76 |
%ifos linux |
77 |
if [ -x /usr/bin/getconf ]; then |
|
78 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
79 |
fi |
|
80 |
%else |
|
3846 | 81 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
3263 | 82 |
%endif |
83 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
84 |
CPUS=1 |
|
85 |
fi |
|
86 |
||
901 | 87 |
libtoolize --force |
5609 | 88 |
glib-gettextize -f |
5565
b1beceba7539
* vino.spec: Remove PATH setting as it is not used (info was wrong and
dc144907
parents:
5548
diff
changeset
|
89 |
intltoolize --force --copy |
5518 | 90 |
aclocal $ACLOCAL_FLAGS |
5565
b1beceba7539
* vino.spec: Remove PATH setting as it is not used (info was wrong and
dc144907
parents:
5548
diff
changeset
|
91 |
autoheader |
901 | 92 |
automake -a -c -f |
93 |
autoconf |
|
94 |
||
6546 | 95 |
%ifos solaris |
96 |
NO_RTTI=--enable-cpp-rtti |
|
97 |
%endif |
|
98 |
||
78 | 99 |
./configure \ |
100 |
--prefix=%{_prefix} \ |
|
19078
a6e7d195f684
Merged trunk changes r9788:9797 into 217update branch
dcarbery
parents:
8564
diff
changeset
|
101 |
--datadir=%{_datadir} \ |
78 | 102 |
--sysconfdir=%{_sysconfdir} \ |
229 | 103 |
--libexecdir=%{_libexecdir} \ |
6546 | 104 |
--localstatedir=/var/lib $NO_RTTI |
3263 | 105 |
make -j $CPUS |
78 | 106 |
|
107 |
%install |
|
108 |
make install DESTDIR=$RPM_BUILD_ROOT |
|
1522 | 109 |
install -d $RPM_BUILD_ROOT%{_mandir}/man1 |
5518 | 110 |
install --mode=0644 %SOURCE1 $RPM_BUILD_ROOT%{_mandir}/man1 |
1522 | 111 |
install --mode=0644 %SOURCE2 $RPM_BUILD_ROOT%{_mandir}/man1 |
1455 | 112 |
#Copy zh_HK from zh_TW |
113 |
#Fixes bug 4930405 |
|
1522 | 114 |
install -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES |
115 |
install --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/ |
|
1455 | 116 |
|
78 | 117 |
%clean |
118 |
rm -rf $RPM_BUILD_ROOT |
|
119 |
||
120 |
%files |
|
121 |
%defattr (-, root, root) |
|
122 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
|
123 |
%{_bindir}/* |
|
5518 | 124 |
%{_datadir}/icons |
78 | 125 |
%{_datadir}/yelp |
126 |
%{_datadir}/applications/yelp.desktop |
|
127 |
%{_libdir}/* |
|
1455 | 128 |
%{_mandir}/man1/* |
5518 | 129 |
%{_sysconfdir}/gconf/schemas/yelp.schemas |
78 | 130 |
|
131 |
%changelog |
|
8246 | 132 |
* Tue Oct 03 2006 - [email protected] |
133 |
- Bump to 2.16.1. |
|
134 |
||
8060 | 135 |
* Mon Sep 04 2006 - [email protected] |
8158
6e06af433751
#6471853 / #318996 - Check for NULL frag_id before strcmp()
mattk
parents:
8060
diff
changeset
|
136 |
- Bug Bugster:6471853 / Bugzilla:318996 - Null frag_id crash, add local patch |
6e06af433751
#6471853 / #318996 - Check for NULL frag_id before strcmp()
mattk
parents:
8060
diff
changeset
|
137 |
|
6e06af433751
#6471853 / #318996 - Check for NULL frag_id before strcmp()
mattk
parents:
8060
diff
changeset
|
138 |
* Mon Sep 04 2006 - [email protected] |
8060 | 139 |
- Bump to 2.16.0. |
140 |
||
7875 | 141 |
* Tue Aug 08 2006 - [email protected] |
142 |
- Bump to 2.15.91. |
|
143 |
||
7743 | 144 |
* Mon Jul 24 2006 - [email protected] |
145 |
- Bump to 2.15.5. |
|
146 |
||
7031 | 147 |
* Fri Apr 10 2006 - [email protected] |
148 |
- Bump to 2.14.1. |
|
149 |
||
6913 | 150 |
* Mon Mar 13 2006 - [email protected] |
151 |
- Bump to 2.14.0. |
|
152 |
||
6855 | 153 |
* Mon Feb 27 2006 - [email protected] |
154 |
- Bump to 2.13.6. |
|
155 |
||
6737 | 156 |
* Mon Feb 13 2006 - [email protected] |
157 |
- Bump to 2.13.5. |
|
158 |
||
6708 | 159 |
* Tue Jan 31 2006 - [email protected] |
160 |
- Bump to 2.13.4. |
|
6709 | 161 |
- Remove upstream patch, 01-build-xlibs. |
6708 | 162 |
|
6611 | 163 |
* Mon Jan 19 2005 - [email protected] |
6612 | 164 |
- Add yelp-01-build-xlibs.diff so we can link |
165 |
against -lX11 |
|
166 |
||
167 |
* Mon Jan 19 2005 - [email protected] |
|
6611 | 168 |
- Bump to 2.13.3 |
169 |
||
6431 | 170 |
* Tue Dec 20 2005 - [email protected] |
171 |
- Bump to 2.13.2 |
|
172 |
||
6297
325024482887
* eel.spec eog.spec evolution.spec evolution-data-server.spec
dc144907
parents:
5976
diff
changeset
|
173 |
* Tue Nov 29 2005 - [email protected] |
325024482887
* eel.spec eog.spec evolution.spec evolution-data-server.spec
dc144907
parents:
5976
diff
changeset
|
174 |
- Bump to 2.12.2. |
325024482887
* eel.spec eog.spec evolution.spec evolution-data-server.spec
dc144907
parents:
5976
diff
changeset
|
175 |
|
5895 | 176 |
* Sat Sep 17 2005 - [email protected] |
177 |
- Bump to 2.12.0 |
|
178 |
||
5719
2e95a68e5ca1
* GConf.spec at-spi.spec atk.spec bug-buddy.spec eel.spec eog.spec
dc144907
parents:
5609
diff
changeset
|
179 |
* Mon Sep 05 2005 - [email protected] |
2e95a68e5ca1
* GConf.spec at-spi.spec atk.spec bug-buddy.spec eel.spec eog.spec
dc144907
parents:
5609
diff
changeset
|
180 |
- Bump to 2.11.92. |
2e95a68e5ca1
* GConf.spec at-spi.spec atk.spec bug-buddy.spec eel.spec eog.spec
dc144907
parents:
5609
diff
changeset
|
181 |
|
5548
ddbd17ae3838
* *.spec: Bump to latest available versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
182 |
* Tue Aug 16 2005 - [email protected] |
ddbd17ae3838
* *.spec: Bump to latest available versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
183 |
- Bump to 2.11.1. |
ddbd17ae3838
* *.spec: Bump to latest available versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
184 |
|
5518 | 185 |
* Tue Jun 21 2005 - [email protected] |
186 |
- Add requires for mozilla |
|
187 |
||
188 |
* Wed Jun 08 2005 - [email protected] |
|
189 |
- port to 2.10 |
|
190 |
- Remove patch yelp-01-empty-struct-build-fix.diff |
|
191 |
- Remove patch yelp-03-session-save.diff |
|
192 |
- Rename patch yelp-04-yelp-sections.diff to yelp-01-yelp-sections.diff |
|
193 |
- Remove patch yelp-06-yelp-pager.diff |
|
194 |
||
5137 | 195 |
* Fri Feb 25 2005 - [email protected] |
196 |
- #6233172, Add Actions section, change Development Section |
|
197 |
||
5126
eda398b1cb72
#6228279 : Yelp crash, reviewed by Narayana Pattipatti
mattk
parents:
5082
diff
changeset
|
198 |
* Thu Feb 17 2005 - [email protected] |
eda398b1cb72
#6228279 : Yelp crash, reviewed by Narayana Pattipatti
mattk
parents:
5082
diff
changeset
|
199 |
- #6228279, yelp crash viewing jdsoverview.xml |
eda398b1cb72
#6228279 : Yelp crash, reviewed by Narayana Pattipatti
mattk
parents:
5082
diff
changeset
|
200 |
|
4790 | 201 |
* Fri Dec 24 2004 - [email protected] |
202 |
- Bug fix for 6186542, added zh_HK entry in l10n.xml |
|
203 |
||
4590
d5830a59c468
#6182913, yelp categories fix, reviewed by [email protected]
mattk
parents:
4579
diff
changeset
|
204 |
* Mon Nov 15 2004 - [email protected] |
d5830a59c468
#6182913, yelp categories fix, reviewed by [email protected]
mattk
parents:
4579
diff
changeset
|
205 |
- #6182913, patch yelp-04-help-sections.diff |
d5830a59c468
#6182913, yelp categories fix, reviewed by [email protected]
mattk
parents:
4579
diff
changeset
|
206 |
|
3279
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
207 |
* 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
|
208 |
- Updated l10n content to yelp-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
|
209 |
|
3263 | 210 |
* Wed Jul 07 2004 - [email protected] |
211 |
- added "-j $CPUS" to make to speed up builds |
|
212 |
||
2820 | 213 |
* Thu May 20 2004 - [email protected] |
214 |
- added yelp-03-session-save.diff. Yelp is session aware now! |
|
215 |
||
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2659
diff
changeset
|
216 |
* Wed May 12 2004 - [email protected] |
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2659
diff
changeset
|
217 |
- Updated l10n content to yelp-l10n-po-1.1.tar.bz2 |
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2659
diff
changeset
|
218 |
|
2659 | 219 |
* Thu May 06 2004 - [email protected] |
220 |
- Bump to 2.6.1 |
|
221 |
||
2350 | 222 |
* Mon Mar 29 2004 - [email protected] |
223 |
- Updated l10n content to yelp-l10n-po-1.0.tar.bz2 |
|
224 |
||
2320 | 225 |
* Wed Mar 24 2004 - [email protected] |
226 |
- Bump to 2.6.0. Remove the sed build fixes, rename the |
|
227 |
empty struct diff, and update the potfiles patch. |
|
228 |
||
2265 | 229 |
* Mon Mar 22 2004 - [email protected] |
230 |
- fix non-portable sed commands (bugzilla #134534) |
|
231 |
||
2239 | 232 |
* Thu Mar 18 2004 - [email protected] |
233 |
- Bump to 2.5.91 |
|
234 |
||
2191 | 235 |
* Thu Mar 11 2004 - [email protected] |
236 |
- added yelp-03-g11n-potfiles.diff |
|
237 |
||
1937 | 238 |
* Tue Feb 24 2004 - [email protected] |
239 |
- Bump to 2.5.5 |
|
240 |
||
1737 | 241 |
* Tue Feb 17 2004 - [email protected] |
242 |
- two patches two fix a solaris build issues |
|
243 |
- add ACLOCAL_FLAGS to aclocal |
|
244 |
||
1602 | 245 |
* Fri Feb 06 2004 - [email protected] |
246 |
- Bump to 2.5.4, remove two patches, update l10n tarball |
|
247 |
||
1455 | 248 |
* Tue Dec 16 2003 - [email protected] |
249 |
- Bump to 2.5.1 |
|
250 |
||
1362 | 251 |
* Fri Oct 31 2003 - [email protected] |
252 |
- Removed the Sun Supported menu entry since we're |
|
253 |
removing the Extras menu. |
|
254 |
||
1249 | 255 |
* Mon Oct 13 2003 - [email protected] |
256 |
- New 2.4 Tarball |
|
257 |
||
1206
1722fc05ac6c
SUN -> Java Desktop System, change for quick start user guide
mattk
parents:
1195
diff
changeset
|
258 |
* Tue Oct 07 2003 - [email protected] |
1722fc05ac6c
SUN -> Java Desktop System, change for quick start user guide
mattk
parents:
1195
diff
changeset
|
259 |
- Second Change For Help Section for Java Desktop System |
1722fc05ac6c
SUN -> Java Desktop System, change for quick start user guide
mattk
parents:
1195
diff
changeset
|
260 |
|
1170 | 261 |
* Fri Sep 26 2003 - [email protected] |
262 |
- Modified Help Section for Java Desktop System |
|
263 |
||
1122 | 264 |
* Fri Aug 22 2003 - [email protected] |
265 |
- categorycode patch |
|
1170 | 266 |
|
1095 | 267 |
* Mon Aug 18 2003 - [email protected] |
268 |
- Help sections patch |
|
269 |
||
901 | 270 |
* Fri Aug 01 2003 - [email protected] |
271 |
- Add menu categorization. |
|
272 |
||
730 | 273 |
* Wed Jul 23 2003 - [email protected] |
274 |
- Add back window icon. |
|
901 | 275 |
|
523 | 276 |
* Thu Jul 10 2003 - [email protected] |
277 |
- Added .po tarball |
|
278 |
||
304 | 279 |
* Wed Jun 25 2003 - [email protected] |
280 |
- Add libexec/* to %files |
|
281 |
||
297 | 282 |
* Wed Jun 25 2003 - [email protected] |
283 |
- Update the version of Yelp |
|
284 |
||
78 | 285 |
* Wed May 14 2003 - [email protected] |
229 | 286 |
- Initial Sun release |