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