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