author | dermotm |
Mon, 24 Jul 2006 12:30:39 +0000 | |
branch | gnome-2-10 |
changeset 19949 | 94f49bf19351 |
parent 19883 | e55bf06836ae |
permissions | -rw-r--r-- |
78 | 1 |
# |
19693 | 2 |
# spec file for package yelp |
78 | 3 |
# |
19693 | 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 |
# |
|
8 |
||
9 |
Name: yelp |
|
10 |
License: GPL |
|
229 | 11 |
Group: System/GUI/GNOME |
19381 | 12 |
Version: 2.10.0 |
13 |
Release: 1 |
|
19693 | 14 |
Distribution: Java Desktop System |
575 | 15 |
Vendor: Sun Microsystems, Inc. |
1249 | 16 |
Summary: The GNOME 2.4 Help Browser |
19883 | 17 |
Source: http://ftp.gnome.org/pub/GNOME/sources/yelp/2.10/yelp-%{version}.tar.bz2 |
19719 | 18 |
Source1: gnome-help.1.gz |
19 |
Source2: yelp.1.gz |
|
19381 | 20 |
Patch1: yelp-01-yelp-sections.diff |
19562
b407c2c9fcf9
Remove compiler flags and rename stderr reserved word
mattk
parents:
19500
diff
changeset
|
21 |
Patch2: yelp-02-solaris-compile.diff |
229 | 22 |
URL: www.gnome.org |
78 | 23 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
229 | 24 |
Autoreqprov: on |
25 |
||
19381 | 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 |
|
19469 | 38 |
%define mozilla_version 1.7 |
19470 | 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} |
19467 | 49 |
Requires: mozilla >= %{mozilla_version} |
19470 | 50 |
Requires: mozilla-nspr >= %{mozilla_nspr_version} |
19381 | 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} |
19381 | 62 |
BuildRequires: GConf >= %{gconf_version} |
63 |
BuildRequires: gnome-doc-utils >= %{gnome_doc_utils_version} |
|
19467 | 64 |
BuildRequires: mozilla >= %{mozilla_version} |
19470 | 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 |
1737 | 72 |
%patch1 -p1 |
19381 | 73 |
|
19562
b407c2c9fcf9
Remove compiler flags and rename stderr reserved word
mattk
parents:
19500
diff
changeset
|
74 |
%ifos solaris |
b407c2c9fcf9
Remove compiler flags and rename stderr reserved word
mattk
parents:
19500
diff
changeset
|
75 |
%patch2 -p1 |
b407c2c9fcf9
Remove compiler flags and rename stderr reserved word
mattk
parents:
19500
diff
changeset
|
76 |
%endif |
b407c2c9fcf9
Remove compiler flags and rename stderr reserved word
mattk
parents:
19500
diff
changeset
|
77 |
|
78 | 78 |
%build |
3263 | 79 |
%ifos linux |
80 |
if [ -x /usr/bin/getconf ]; then |
|
81 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
82 |
fi |
|
83 |
%else |
|
3846 | 84 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
3263 | 85 |
%endif |
86 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
87 |
CPUS=1 |
|
88 |
fi |
|
89 |
||
901 | 90 |
libtoolize --force |
19243 | 91 |
aclocal $ACLOCAL_FLAGS |
901 | 92 |
automake -a -c -f |
93 |
autoconf |
|
94 |
||
78 | 95 |
./configure \ |
96 |
--prefix=%{_prefix} \ |
|
97 |
--sysconfdir=%{_sysconfdir} \ |
|
229 | 98 |
--libexecdir=%{_libexecdir} \ |
99 |
--localstatedir=/var/lib |
|
3263 | 100 |
make -j $CPUS |
78 | 101 |
|
102 |
%install |
|
103 |
make install DESTDIR=$RPM_BUILD_ROOT |
|
1522 | 104 |
install -d $RPM_BUILD_ROOT%{_mandir}/man1 |
19719 | 105 |
install --mode=0644 %SOURCE1 $RPM_BUILD_ROOT%{_mandir}/man1 |
1522 | 106 |
install --mode=0644 %SOURCE2 $RPM_BUILD_ROOT%{_mandir}/man1 |
1455 | 107 |
#Copy zh_HK from zh_TW |
108 |
#Fixes bug 4930405 |
|
1522 | 109 |
install -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES |
110 |
install --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/ |
|
1455 | 111 |
|
78 | 112 |
%clean |
113 |
rm -rf $RPM_BUILD_ROOT |
|
114 |
||
115 |
%files |
|
116 |
%defattr (-, root, root) |
|
117 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
|
118 |
%{_bindir}/* |
|
19381 | 119 |
%{_datadir}/icons |
78 | 120 |
%{_datadir}/yelp |
121 |
%{_datadir}/applications/yelp.desktop |
|
122 |
%{_libdir}/* |
|
1455 | 123 |
%{_mandir}/man1/* |
19381 | 124 |
%{_sysconfdir}/gconf/schemas/yelp.schemas |
78 | 125 |
|
126 |
%changelog |
|
19467 | 127 |
* Tue Jun 21 2005 - [email protected] |
128 |
- Add requires for mozilla |
|
129 |
||
19381 | 130 |
* Wed Jun 08 2005 - [email protected] |
131 |
- port to 2.10 |
|
132 |
- Remove patch yelp-01-empty-struct-build-fix.diff |
|
133 |
- Remove patch yelp-03-session-save.diff |
|
134 |
- Rename patch yelp-04-yelp-sections.diff to yelp-01-yelp-sections.diff |
|
135 |
- Remove patch yelp-06-yelp-pager.diff |
|
136 |
||
5137 | 137 |
* Fri Feb 25 2005 - [email protected] |
138 |
- #6233172, Add Actions section, change Development Section |
|
139 |
||
5126
eda398b1cb72
#6228279 : Yelp crash, reviewed by Narayana Pattipatti
mattk
parents:
5082
diff
changeset
|
140 |
* Thu Feb 17 2005 - [email protected] |
eda398b1cb72
#6228279 : Yelp crash, reviewed by Narayana Pattipatti
mattk
parents:
5082
diff
changeset
|
141 |
- #6228279, yelp crash viewing jdsoverview.xml |
eda398b1cb72
#6228279 : Yelp crash, reviewed by Narayana Pattipatti
mattk
parents:
5082
diff
changeset
|
142 |
|
4790 | 143 |
* Fri Dec 24 2004 - [email protected] |
144 |
- Bug fix for 6186542, added zh_HK entry in l10n.xml |
|
145 |
||
4590
d5830a59c468
#6182913, yelp categories fix, reviewed by [email protected]
mattk
parents:
4579
diff
changeset
|
146 |
* Mon Nov 15 2004 - [email protected] |
d5830a59c468
#6182913, yelp categories fix, reviewed by [email protected]
mattk
parents:
4579
diff
changeset
|
147 |
- #6182913, patch yelp-04-help-sections.diff |
d5830a59c468
#6182913, yelp categories fix, reviewed by [email protected]
mattk
parents:
4579
diff
changeset
|
148 |
|
3279
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
149 |
* 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
|
150 |
- 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
|
151 |
|
3263 | 152 |
* Wed Jul 07 2004 - [email protected] |
153 |
- added "-j $CPUS" to make to speed up builds |
|
154 |
||
2820 | 155 |
* Thu May 20 2004 - [email protected] |
156 |
- added yelp-03-session-save.diff. Yelp is session aware now! |
|
157 |
||
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2659
diff
changeset
|
158 |
* 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
|
159 |
- 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
|
160 |
|
2659 | 161 |
* Thu May 06 2004 - [email protected] |
162 |
- Bump to 2.6.1 |
|
163 |
||
2350 | 164 |
* Mon Mar 29 2004 - [email protected] |
165 |
- Updated l10n content to yelp-l10n-po-1.0.tar.bz2 |
|
166 |
||
2320 | 167 |
* Wed Mar 24 2004 - [email protected] |
168 |
- Bump to 2.6.0. Remove the sed build fixes, rename the |
|
169 |
empty struct diff, and update the potfiles patch. |
|
170 |
||
2265 | 171 |
* Mon Mar 22 2004 - [email protected] |
172 |
- fix non-portable sed commands (bugzilla #134534) |
|
173 |
||
2239 | 174 |
* Thu Mar 18 2004 - [email protected] |
175 |
- Bump to 2.5.91 |
|
176 |
||
2191 | 177 |
* Thu Mar 11 2004 - [email protected] |
178 |
- added yelp-03-g11n-potfiles.diff |
|
179 |
||
1937 | 180 |
* Tue Feb 24 2004 - [email protected] |
181 |
- Bump to 2.5.5 |
|
182 |
||
1737 | 183 |
* Tue Feb 17 2004 - [email protected] |
184 |
- two patches two fix a solaris build issues |
|
185 |
- add ACLOCAL_FLAGS to aclocal |
|
186 |
||
1602 | 187 |
* Fri Feb 06 2004 - [email protected] |
188 |
- Bump to 2.5.4, remove two patches, update l10n tarball |
|
189 |
||
1455 | 190 |
* Tue Dec 16 2003 - [email protected] |
191 |
- Bump to 2.5.1 |
|
192 |
||
1362 | 193 |
* Fri Oct 31 2003 - [email protected] |
194 |
- Removed the Sun Supported menu entry since we're |
|
195 |
removing the Extras menu. |
|
196 |
||
1249 | 197 |
* Mon Oct 13 2003 - [email protected] |
198 |
- New 2.4 Tarball |
|
199 |
||
1206
1722fc05ac6c
SUN -> Java Desktop System, change for quick start user guide
mattk
parents:
1195
diff
changeset
|
200 |
* Tue Oct 07 2003 - [email protected] |
1722fc05ac6c
SUN -> Java Desktop System, change for quick start user guide
mattk
parents:
1195
diff
changeset
|
201 |
- 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
|
202 |
|
1170 | 203 |
* Fri Sep 26 2003 - [email protected] |
204 |
- Modified Help Section for Java Desktop System |
|
205 |
||
1122 | 206 |
* Fri Aug 22 2003 - [email protected] |
207 |
- categorycode patch |
|
1170 | 208 |
|
1095 | 209 |
* Mon Aug 18 2003 - [email protected] |
210 |
- Help sections patch |
|
211 |
||
901 | 212 |
* Fri Aug 01 2003 - [email protected] |
213 |
- Add menu categorization. |
|
214 |
||
730 | 215 |
* Wed Jul 23 2003 - [email protected] |
216 |
- Add back window icon. |
|
901 | 217 |
|
523 | 218 |
* Thu Jul 10 2003 - [email protected] |
219 |
- Added .po tarball |
|
220 |
||
304 | 221 |
* Wed Jun 25 2003 - [email protected] |
222 |
- Add libexec/* to %files |
|
223 |
||
297 | 224 |
* Wed Jun 25 2003 - [email protected] |
225 |
- Update the version of Yelp |
|
226 |
||
78 | 227 |
* Wed May 14 2003 - [email protected] |
229 | 228 |
- Initial Sun release |