author | dermotm |
Mon, 06 Jun 2005 13:09:35 +0000 | |
changeset 5484 | b4c330e76240 |
parent 5480 | 2d26e14bdb97 |
child 5506 | 38c94258e0d4 |
permissions | -rw-r--r-- |
78 | 1 |
# |
297 | 2 |
# spec file for package yelp (Version 2.2.3) |
78 | 3 |
# |
601 | 4 |
# Copyright (c) 2003 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 |
2659 | 12 |
Version: 2.6.1 |
5484 | 13 |
Release: 41 |
4867
e8cfe7e64783
*.spec (almost): update Vendor and Distribution tags
dermotm
parents:
4860
diff
changeset
|
14 |
Distribution: Java Desktop System, Release 3 |
575 | 15 |
Vendor: Sun Microsystems, Inc. |
1249 | 16 |
Summary: The GNOME 2.4 Help Browser |
2239 | 17 |
Source: http://ftp.gnome.org/pub/GNOME/sources/yelp/2.5/yelp-%{version}.tar.bz2 |
5480 | 18 |
Source1: yelp-l10n-po-1.16.tar.bz2 |
1455 | 19 |
Source2: gnome-help.1.gz |
20 |
Source3: yelp.1.gz |
|
4455 | 21 |
Source4: l10n-configure.sh |
2320 | 22 |
Patch1: yelp-01-empty-struct-build-fix.diff |
23 |
Patch2: yelp-02-g11n-potfiles.diff |
|
2820 | 24 |
Patch3: yelp-03-session-save.diff |
4590
d5830a59c468
#6182913, yelp categories fix, reviewed by [email protected]
mattk
parents:
4579
diff
changeset
|
25 |
Patch4: yelp-04-yelp-sections.diff |
4790 | 26 |
Patch5: yelp-05-l10n-online-help.diff |
5126
eda398b1cb72
#6228279 : Yelp crash, reviewed by Narayana Pattipatti
mattk
parents:
5082
diff
changeset
|
27 |
Patch6: yelp-06-yelp-pager.diff |
229 | 28 |
URL: www.gnome.org |
78 | 29 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
229 | 30 |
Autoreqprov: on |
31 |
||
1455 | 32 |
%define libxml2_version 2.6.0 |
1249 | 33 |
%define pango_version 1.2.5 |
34 |
%define gtk2_version 2.2.4 |
|
229 | 35 |
%define libgtkhtml_version 2.2.1 |
1249 | 36 |
%define gnome_vfs_version 2.4.0 |
37 |
%define libgnomeui_version 2.4.0.1 |
|
38 |
%define libbonobo_version 2.4.0 |
|
229 | 39 |
%define libglade_version 2.0.1 |
2320 | 40 |
%define libxslt_version 1.1.4 |
1249 | 41 |
%define gail_version 1.4.0 |
229 | 42 |
|
43 |
Requires: gtk2 >= %{gtk2_version} |
|
44 |
Requires: gnome-vfs >= %{gnome_vfs_version} |
|
45 |
Requires: libgtkhtml >= %{libgtkhtml_version} |
|
46 |
Requires: libgnomeui >= %{libgnomeui_version} |
|
47 |
Requires: libbonobo >= %{libbonobo_version} |
|
48 |
Requires: libxslt >= %{libxslt_version} |
|
49 |
Requires: libglade >= %{libglade_version} |
|
1455 | 50 |
Requires: libxml2 >= %{libxml2_version} |
229 | 51 |
BuildRequires: pango-devel >= %{pango_version} |
52 |
BuildRequires: gtk2-devel >= %{gtk2_version} |
|
53 |
BuildRequires: gnome-vfs-devel >= %{gnome_vfs_version} |
|
54 |
BuildRequires: libgtkhtml-devel >= %{libgtkhtml_version} |
|
55 |
BuildRequires: libgnomeui-devel >= %{libgnomeui_version} |
|
56 |
BuildRequires: libbonobo-devel >= %{libbonobo_version} |
|
57 |
BuildRequires: libglade-devel >= %{libglade_version} |
|
58 |
BuildRequires: libxslt-devel >= %{libxslt_version} |
|
59 |
BuildRequires: gail-devel >= %{gail_version} |
|
1455 | 60 |
BuildRequires: libxml2-devel >= %{libxml2_version} |
78 | 61 |
|
62 |
%description |
|
63 |
"Yelp" is the help browser for the GNOME 2.2 Desktop. It features man, info and docbook document sources. |
|
64 |
||
65 |
%prep |
|
229 | 66 |
%setup -q |
1737 | 67 |
%patch1 -p1 |
68 |
%patch2 -p1 |
|
2820 | 69 |
%patch3 -p1 |
4590
d5830a59c468
#6182913, yelp categories fix, reviewed by [email protected]
mattk
parents:
4579
diff
changeset
|
70 |
%patch4 -p1 |
4790 | 71 |
%patch5 -p1 |
5126
eda398b1cb72
#6228279 : Yelp crash, reviewed by Narayana Pattipatti
mattk
parents:
5082
diff
changeset
|
72 |
%patch6 -p1 |
1522 | 73 |
bzcat %SOURCE1 | tar xf - |
78 | 74 |
|
4455 | 75 |
bash -x %SOURCE4 |
76 |
||
78 | 77 |
%build |
3263 | 78 |
%ifos linux |
79 |
if [ -x /usr/bin/getconf ]; then |
|
80 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
81 |
fi |
|
82 |
%else |
|
3846 | 83 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
3263 | 84 |
%endif |
85 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
86 |
CPUS=1 |
|
87 |
fi |
|
88 |
||
901 | 89 |
libtoolize --force |
1737 | 90 |
aclocal $ACLOCAL_FLAGS -I %{_datadir}/aclocal/gnome2-macros |
901 | 91 |
automake -a -c -f |
92 |
autoconf |
|
93 |
||
78 | 94 |
./configure \ |
95 |
--prefix=%{_prefix} \ |
|
96 |
--sysconfdir=%{_sysconfdir} \ |
|
229 | 97 |
--libexecdir=%{_libexecdir} \ |
98 |
--localstatedir=/var/lib |
|
3263 | 99 |
make -j $CPUS |
78 | 100 |
|
101 |
%install |
|
102 |
make install DESTDIR=$RPM_BUILD_ROOT |
|
1522 | 103 |
install -d $RPM_BUILD_ROOT%{_mandir}/man1 |
104 |
install --mode=0644 %SOURCE2 $RPM_BUILD_ROOT%{_mandir}/man1 |
|
105 |
install --mode=0644 %SOURCE3 $RPM_BUILD_ROOT%{_mandir}/man1 |
|
1455 | 106 |
#Copy zh_HK from zh_TW |
107 |
#Fixes bug 4930405 |
|
1522 | 108 |
install -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES |
109 |
install --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/ |
|
1455 | 110 |
|
78 | 111 |
%clean |
112 |
rm -rf $RPM_BUILD_ROOT |
|
113 |
||
114 |
%files |
|
115 |
%defattr (-, root, root) |
|
116 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
|
117 |
%{_bindir}/* |
|
118 |
%{_datadir}/sgml/docbook/yelp |
|
119 |
%{_datadir}/yelp |
|
120 |
%{_datadir}/applications/yelp.desktop |
|
121 |
%{_libdir}/* |
|
1455 | 122 |
%{_mandir}/man1/* |
78 | 123 |
|
124 |
%changelog |
|
5137 | 125 |
* Fri Feb 25 2005 - [email protected] |
126 |
- #6233172, Add Actions section, change Development Section |
|
127 |
||
5126
eda398b1cb72
#6228279 : Yelp crash, reviewed by Narayana Pattipatti
mattk
parents:
5082
diff
changeset
|
128 |
* Thu Feb 17 2005 - [email protected] |
eda398b1cb72
#6228279 : Yelp crash, reviewed by Narayana Pattipatti
mattk
parents:
5082
diff
changeset
|
129 |
- #6228279, yelp crash viewing jdsoverview.xml |
eda398b1cb72
#6228279 : Yelp crash, reviewed by Narayana Pattipatti
mattk
parents:
5082
diff
changeset
|
130 |
|
4790 | 131 |
* Fri Dec 24 2004 - [email protected] |
132 |
- Bug fix for 6186542, added zh_HK entry in l10n.xml |
|
133 |
||
4590
d5830a59c468
#6182913, yelp categories fix, reviewed by [email protected]
mattk
parents:
4579
diff
changeset
|
134 |
* Mon Nov 15 2004 - [email protected] |
d5830a59c468
#6182913, yelp categories fix, reviewed by [email protected]
mattk
parents:
4579
diff
changeset
|
135 |
- #6182913, patch yelp-04-help-sections.diff |
d5830a59c468
#6182913, yelp categories fix, reviewed by [email protected]
mattk
parents:
4579
diff
changeset
|
136 |
|
3279
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
137 |
* 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
|
138 |
- 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
|
139 |
|
3263 | 140 |
* Wed Jul 07 2004 - [email protected] |
141 |
- added "-j $CPUS" to make to speed up builds |
|
142 |
||
2820 | 143 |
* Thu May 20 2004 - [email protected] |
144 |
- added yelp-03-session-save.diff. Yelp is session aware now! |
|
145 |
||
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2659
diff
changeset
|
146 |
* 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
|
147 |
- 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
|
148 |
|
2659 | 149 |
* Thu May 06 2004 - [email protected] |
150 |
- Bump to 2.6.1 |
|
151 |
||
2350 | 152 |
* Mon Mar 29 2004 - [email protected] |
153 |
- Updated l10n content to yelp-l10n-po-1.0.tar.bz2 |
|
154 |
||
2320 | 155 |
* Wed Mar 24 2004 - [email protected] |
156 |
- Bump to 2.6.0. Remove the sed build fixes, rename the |
|
157 |
empty struct diff, and update the potfiles patch. |
|
158 |
||
2265 | 159 |
* Mon Mar 22 2004 - [email protected] |
160 |
- fix non-portable sed commands (bugzilla #134534) |
|
161 |
||
2239 | 162 |
* Thu Mar 18 2004 - [email protected] |
163 |
- Bump to 2.5.91 |
|
164 |
||
2191 | 165 |
* Thu Mar 11 2004 - [email protected] |
166 |
- added yelp-03-g11n-potfiles.diff |
|
167 |
||
1937 | 168 |
* Tue Feb 24 2004 - [email protected] |
169 |
- Bump to 2.5.5 |
|
170 |
||
1737 | 171 |
* Tue Feb 17 2004 - [email protected] |
172 |
- two patches two fix a solaris build issues |
|
173 |
- add ACLOCAL_FLAGS to aclocal |
|
174 |
||
1602 | 175 |
* Fri Feb 06 2004 - [email protected] |
176 |
- Bump to 2.5.4, remove two patches, update l10n tarball |
|
177 |
||
1455 | 178 |
* Tue Dec 16 2003 - [email protected] |
179 |
- Bump to 2.5.1 |
|
180 |
||
1362 | 181 |
* Fri Oct 31 2003 - [email protected] |
182 |
- Removed the Sun Supported menu entry since we're |
|
183 |
removing the Extras menu. |
|
184 |
||
1249 | 185 |
* Mon Oct 13 2003 - [email protected] |
186 |
- New 2.4 Tarball |
|
187 |
||
1206
1722fc05ac6c
SUN -> Java Desktop System, change for quick start user guide
mattk
parents:
1195
diff
changeset
|
188 |
* Tue Oct 07 2003 - [email protected] |
1722fc05ac6c
SUN -> Java Desktop System, change for quick start user guide
mattk
parents:
1195
diff
changeset
|
189 |
- 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
|
190 |
|
1170 | 191 |
* Fri Sep 26 2003 - [email protected] |
192 |
- Modified Help Section for Java Desktop System |
|
193 |
||
1122 | 194 |
* Fri Aug 22 2003 - [email protected] |
195 |
- categorycode patch |
|
1170 | 196 |
|
1095 | 197 |
* Mon Aug 18 2003 - [email protected] |
198 |
- Help sections patch |
|
199 |
||
901 | 200 |
* Fri Aug 01 2003 - [email protected] |
201 |
- Add menu categorization. |
|
202 |
||
730 | 203 |
* Wed Jul 23 2003 - [email protected] |
204 |
- Add back window icon. |
|
901 | 205 |
|
523 | 206 |
* Thu Jul 10 2003 - [email protected] |
207 |
- Added .po tarball |
|
208 |
||
304 | 209 |
* Wed Jun 25 2003 - [email protected] |
210 |
- Add libexec/* to %files |
|
211 |
||
297 | 212 |
* Wed Jun 25 2003 - [email protected] |
213 |
- Update the version of Yelp |
|
214 |
||
78 | 215 |
* Wed May 14 2003 - [email protected] |
229 | 216 |
- Initial Sun release |