author | dermotm |
Mon, 03 May 2004 01:08:22 +0000 | |
changeset 2619 | a032fc86f08a |
parent 2494 | 6b1189c3cc84 |
child 2659 | ddcd09febf5f |
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 |
2320 | 12 |
Version: 2.6.0 |
2619 | 13 |
Release: 9 |
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 |
2350 | 18 |
Source1: yelp-l10n-po-1.0.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 |
|
229 | 23 |
URL: www.gnome.org |
78 | 24 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
229 | 25 |
Autoreqprov: on |
26 |
||
1455 | 27 |
%define libxml2_version 2.6.0 |
1249 | 28 |
%define pango_version 1.2.5 |
29 |
%define gtk2_version 2.2.4 |
|
229 | 30 |
%define libgtkhtml_version 2.2.1 |
1249 | 31 |
%define gnome_vfs_version 2.4.0 |
32 |
%define libgnomeui_version 2.4.0.1 |
|
33 |
%define libbonobo_version 2.4.0 |
|
229 | 34 |
%define libglade_version 2.0.1 |
2320 | 35 |
%define libxslt_version 1.1.4 |
1249 | 36 |
%define gail_version 1.4.0 |
229 | 37 |
|
38 |
Requires: scrollkeeper |
|
39 |
Requires: gtk2 >= %{gtk2_version} |
|
40 |
Requires: gnome-vfs >= %{gnome_vfs_version} |
|
41 |
Requires: libgtkhtml >= %{libgtkhtml_version} |
|
42 |
Requires: libgnomeui >= %{libgnomeui_version} |
|
43 |
Requires: libbonobo >= %{libbonobo_version} |
|
44 |
Requires: libxslt >= %{libxslt_version} |
|
45 |
Requires: libglade >= %{libglade_version} |
|
1455 | 46 |
Requires: libxml2 >= %{libxml2_version} |
229 | 47 |
BuildRequires: pango-devel >= %{pango_version} |
48 |
BuildRequires: gtk2-devel >= %{gtk2_version} |
|
49 |
BuildRequires: gnome-vfs-devel >= %{gnome_vfs_version} |
|
50 |
BuildRequires: libgtkhtml-devel >= %{libgtkhtml_version} |
|
51 |
BuildRequires: libgnomeui-devel >= %{libgnomeui_version} |
|
52 |
BuildRequires: libbonobo-devel >= %{libbonobo_version} |
|
53 |
BuildRequires: libglade-devel >= %{libglade_version} |
|
54 |
BuildRequires: libxslt-devel >= %{libxslt_version} |
|
55 |
BuildRequires: gail-devel >= %{gail_version} |
|
1455 | 56 |
BuildRequires: libxml2-devel >= %{libxml2_version} |
78 | 57 |
|
58 |
%description |
|
59 |
"Yelp" is the help browser for the GNOME 2.2 Desktop. It features man, info and docbook document sources. |
|
60 |
||
61 |
%prep |
|
229 | 62 |
%setup -q |
1737 | 63 |
%patch1 -p1 |
64 |
%patch2 -p1 |
|
1522 | 65 |
bzcat %SOURCE1 | tar xf - |
78 | 66 |
|
67 |
%build |
|
901 | 68 |
libtoolize --force |
1737 | 69 |
aclocal $ACLOCAL_FLAGS -I %{_datadir}/aclocal/gnome2-macros |
901 | 70 |
automake -a -c -f |
71 |
autoconf |
|
72 |
||
78 | 73 |
./configure \ |
74 |
--prefix=%{_prefix} \ |
|
75 |
--sysconfdir=%{_sysconfdir} \ |
|
229 | 76 |
--libexecdir=%{_libexecdir} \ |
77 |
--localstatedir=/var/lib |
|
78 |
make |
|
78 | 79 |
|
80 |
%install |
|
81 |
make install DESTDIR=$RPM_BUILD_ROOT |
|
1522 | 82 |
install -d $RPM_BUILD_ROOT%{_mandir}/man1 |
83 |
install --mode=0644 %SOURCE2 $RPM_BUILD_ROOT%{_mandir}/man1 |
|
84 |
install --mode=0644 %SOURCE3 $RPM_BUILD_ROOT%{_mandir}/man1 |
|
1455 | 85 |
#Copy zh_HK from zh_TW |
86 |
#Fixes bug 4930405 |
|
1522 | 87 |
install -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES |
88 |
install --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/ |
|
1455 | 89 |
|
78 | 90 |
%clean |
91 |
rm -rf $RPM_BUILD_ROOT |
|
92 |
||
93 |
%files |
|
94 |
%defattr (-, root, root) |
|
95 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
|
96 |
%{_bindir}/* |
|
97 |
%{_datadir}/sgml/docbook/yelp |
|
98 |
%{_datadir}/yelp |
|
99 |
%{_datadir}/applications/yelp.desktop |
|
100 |
%{_libdir}/* |
|
1455 | 101 |
%{_mandir}/man1/* |
78 | 102 |
|
103 |
%changelog |
|
2350 | 104 |
* Mon Mar 29 2004 - [email protected] |
105 |
- Updated l10n content to yelp-l10n-po-1.0.tar.bz2 |
|
106 |
||
2320 | 107 |
* Wed Mar 24 2004 - [email protected] |
108 |
- Bump to 2.6.0. Remove the sed build fixes, rename the |
|
109 |
empty struct diff, and update the potfiles patch. |
|
110 |
||
2265 | 111 |
* Mon Mar 22 2004 - [email protected] |
112 |
- fix non-portable sed commands (bugzilla #134534) |
|
113 |
||
2239 | 114 |
* Thu Mar 18 2004 - [email protected] |
115 |
- Bump to 2.5.91 |
|
116 |
||
2191 | 117 |
* Thu Mar 11 2004 - [email protected] |
118 |
- added yelp-03-g11n-potfiles.diff |
|
119 |
||
1937 | 120 |
* Tue Feb 24 2004 - [email protected] |
121 |
- Bump to 2.5.5 |
|
122 |
||
1737 | 123 |
* Tue Feb 17 2004 - [email protected] |
124 |
- two patches two fix a solaris build issues |
|
125 |
- add ACLOCAL_FLAGS to aclocal |
|
126 |
||
1602 | 127 |
* Fri Feb 06 2004 - [email protected] |
128 |
- Bump to 2.5.4, remove two patches, update l10n tarball |
|
129 |
||
1455 | 130 |
* Tue Dec 16 2003 - [email protected] |
131 |
- Bump to 2.5.1 |
|
132 |
||
1362 | 133 |
* Fri Oct 31 2003 - [email protected] |
134 |
- Removed the Sun Supported menu entry since we're |
|
135 |
removing the Extras menu. |
|
136 |
||
1249 | 137 |
* Mon Oct 13 2003 - [email protected] |
138 |
- New 2.4 Tarball |
|
139 |
||
1206
1722fc05ac6c
SUN -> Java Desktop System, change for quick start user guide
mattk
parents:
1195
diff
changeset
|
140 |
* Tue Oct 07 2003 - [email protected] |
1722fc05ac6c
SUN -> Java Desktop System, change for quick start user guide
mattk
parents:
1195
diff
changeset
|
141 |
- 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
|
142 |
|
1170 | 143 |
* Fri Sep 26 2003 - [email protected] |
144 |
- Modified Help Section for Java Desktop System |
|
145 |
||
1122 | 146 |
* Fri Aug 22 2003 - [email protected] |
147 |
- categorycode patch |
|
1170 | 148 |
|
1095 | 149 |
* Mon Aug 18 2003 - [email protected] |
150 |
- Help sections patch |
|
151 |
||
901 | 152 |
* Fri Aug 01 2003 - [email protected] |
153 |
- Add menu categorization. |
|
154 |
||
730 | 155 |
* Wed Jul 23 2003 - [email protected] |
156 |
- Add back window icon. |
|
901 | 157 |
|
523 | 158 |
* Thu Jul 10 2003 - [email protected] |
159 |
- Added .po tarball |
|
160 |
||
304 | 161 |
* Wed Jun 25 2003 - [email protected] |
162 |
- Add libexec/* to %files |
|
163 |
||
297 | 164 |
* Wed Jun 25 2003 - [email protected] |
165 |
- Update the version of Yelp |
|
166 |
||
78 | 167 |
* Wed May 14 2003 - [email protected] |
229 | 168 |
- Initial Sun release |