9397
|
1 |
#
|
|
2 |
# spec file for package gucharmap
|
|
3 |
#
|
11455
|
4 |
# Copyright (c) 2008 Sun Microsystems, Inc.
|
9397
|
5 |
# This file and all modifications and additions to the pristine
|
|
6 |
# package are under the same license as the package itself.
|
|
7 |
#
|
|
8 |
# Owner: dkenny
|
|
9 |
#
|
|
10 |
%include l10n.inc
|
|
11 |
Name: gucharmap
|
|
12 |
License: GPL
|
|
13 |
Group: System/GUI/GNOME
|
12678
|
14 |
Version: 2.23.4
|
9397
|
15 |
Release: 2
|
|
16 |
Distribution: Java Desktop System
|
|
17 |
Vendor: Sun Microsystems, Inc.
|
|
18 |
Summary: GNOME Unicode Character Map
|
12678
|
19 |
Source: http://ftp.gnome.org/pub/GNOME/sources/gucharmap/2.23/%{name}-%{version}.tar.bz2
|
9400
|
20 |
Source1: %{name}-po-sun-%{po_sun_version}.tar.bz2
|
9397
|
21 |
# date:2006-06-06 owner:gman type:branding
|
|
22 |
Patch1: gucharmap-01-menu-entry.diff
|
|
23 |
URL: http://www.gnome.org
|
|
24 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
25 |
Docdir: %{_defaultdocdir}/%{name}
|
|
26 |
Autoreqprov: on
|
|
27 |
Prereq: /sbin/ldconfig
|
|
28 |
|
|
29 |
%define glib2_version 2.4.0
|
|
30 |
%define pango_version 1.4.0
|
|
31 |
%define gtk2_version 2.4.0
|
|
32 |
%define popt_version 1.7
|
|
33 |
%define libgnomeui_version 2.6.0
|
|
34 |
%define scrollkeeper_version 0.3.14
|
|
35 |
|
|
36 |
BuildRequires: glib2-devel >= %{glib2_version}
|
|
37 |
BuildRequires: pango-devel >= %{pango_version}
|
|
38 |
BuildRequires: gtk2-devel >= %{gtk2_version}
|
|
39 |
BuildRequires: libgnomeui-devel >= %{libgnomeui_version}
|
|
40 |
BuildRequires: popt-devel >= %{popt_version}
|
|
41 |
BuildRequires: scrollkeeper >= %{scrollkeeper_version}
|
|
42 |
Requires: libgnomeui >= %{libgnomeui_version}
|
|
43 |
|
|
44 |
%description
|
|
45 |
This package contains a unicode character map for the GNOME Desktop.
|
|
46 |
|
|
47 |
%prep
|
|
48 |
%setup -q
|
|
49 |
%if %build_l10n
|
9400
|
50 |
bzcat %SOURCE1 | tar xf -
|
9397
|
51 |
cd po-sun; make; cd ..
|
|
52 |
%endif
|
|
53 |
%patch1 -p1
|
|
54 |
|
|
55 |
%build
|
|
56 |
%ifos linux
|
|
57 |
if [ -x /usr/bin/getconf ]; then
|
|
58 |
CPUS=`getconf _NPROCESSORS_ONLN`
|
|
59 |
fi
|
|
60 |
%else
|
|
61 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
|
|
62 |
%endif
|
|
63 |
if test "x$CPUS" = "x" -o $CPUS = 0; then
|
|
64 |
CPUS=1
|
|
65 |
fi
|
|
66 |
|
12681
|
67 |
aclocal $ACLOCAL_FLAGS -I m4
|
|
68 |
automake --add-missing
|
11841
|
69 |
autoconf
|
|
70 |
|
9397
|
71 |
CFLAGS="$RPM_OPT_FLAGS" \
|
|
72 |
./configure \
|
|
73 |
--prefix=%{_prefix} \
|
|
74 |
--sysconfdir=%{_sysconfdir} \
|
|
75 |
--localstatedir=/var/lib \
|
|
76 |
--disable-scrollkeeper
|
|
77 |
make -j $CPUS
|
|
78 |
|
|
79 |
%install
|
|
80 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
|
|
81 |
make -i install DESTDIR=$RPM_BUILD_ROOT
|
|
82 |
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
|
|
83 |
#Copy zh_HK from zh_TW
|
|
84 |
#Fixes bug 4930405
|
|
85 |
install -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES
|
|
86 |
install --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/
|
|
87 |
|
|
88 |
|
|
89 |
#Clean up unpackaged files
|
|
90 |
rm $RPM_BUILD_ROOT%{_libdir}/*.la
|
|
91 |
|
|
92 |
%clean
|
|
93 |
rm -rf $RPM_BUILD_ROOT
|
|
94 |
|
|
95 |
%post
|
|
96 |
/sbin/ldconfig
|
|
97 |
|
|
98 |
%postun
|
|
99 |
/sbin/ldconfig
|
|
100 |
|
|
101 |
%files
|
|
102 |
%defattr (-, root, root)
|
|
103 |
%{_bindir}/*
|
|
104 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo
|
|
105 |
%{_datadir}/applications
|
|
106 |
%{_datadir}/icons
|
|
107 |
%{_libdir}/*.so.*
|
|
108 |
%{_libdir}/*.so
|
|
109 |
%{_mandir}/man1/*
|
|
110 |
%{_includedir}/gucharmap/*
|
|
111 |
%{_libdir}/pkgconfig/*.pc
|
|
112 |
%{_datadir}/omf/*
|
|
113 |
%{_datadir}/gnome/help/*
|
|
114 |
|
|
115 |
%changelog
|
12678
|
116 |
* Tue Jun 17 2008 - [email protected]
|
12681
|
117 |
- Bump to 2.23.4. Call aclocal/automake to get patched intltool.m4.
|
12678
|
118 |
|
11841
|
119 |
* Tue Mar 11 2008 - [email protected]
|
|
120 |
- Call aclocal to get patched intltool.m4.
|
|
121 |
|
11829
|
122 |
* Mon Mar 10 2008 - [email protected]
|
|
123 |
- Bump to 2.22.0.
|
|
124 |
|
11565
|
125 |
* Wed Jan 30 2008 - [email protected]
|
|
126 |
- Bump to 2.21.90.
|
|
127 |
|
11455
|
128 |
* Tue Jan 15 2008 - [email protected]
|
|
129 |
- Bump to 2.21.5.
|
|
130 |
|
11330
|
131 |
* Tue Dec 18 2007 - [email protected]
|
|
132 |
- Bump to 2.21.4.
|
|
133 |
|
11280
|
134 |
* Tue Dec 04 2007 - [email protected]
|
|
135 |
- Bump to 2.21.3.
|
|
136 |
|
10520
|
137 |
* Wed Sep 19 2007 - [email protected]
|
|
138 |
- Bump to 1.10.1.
|
|
139 |
|
9543
|
140 |
* Tue Mar 13 2007 - [email protected]
|
|
141 |
- Bump to 1.10.0.
|
|
142 |
|
9397
|
143 |
* Wed Feb 28 2007 - [email protected]
|
|
144 |
- Remove patch 02-gnome-doc-utils-ver since g-d-u is upgrade to 0.9.x.
|
|
145 |
|
|
146 |
* Fri Feb 16 2007 - [email protected]
|
|
147 |
- Add patch, 02-gnome-doc-utils-ver, to allow building with gnome-doc-utils
|
|
148 |
0.8.0. gnome-doc-utils 0.9.0 doesn't build on Solaris - waiting for docbook
|
|
149 |
updates.
|
|
150 |
|
|
151 |
* Thu Feb 15 2007 - [email protected]
|
|
152 |
- Bump to 1.9.0.
|
|
153 |
|
|
154 |
* Tue Feb 13 2007 - [email protected]
|
|
155 |
- Add l10n tarball.
|
|
156 |
|
|
157 |
* Tue Sep 05 2006 - [email protected]
|
|
158 |
- Bump to 1.8.0.
|
|
159 |
|
|
160 |
* Wed Jul 26 2006 - [email protected]
|
|
161 |
- Bump to 1.7.0.
|
|
162 |
|
|
163 |
* Fri Jun 01 2006 - [email protected]
|
|
164 |
- Add menu entry for gucharmap.
|
|
165 |
|
|
166 |
* Mon Mar 13 2006 - [email protected]
|
|
167 |
- Bump to 1.6.0.
|
|
168 |
|
|
169 |
* Sun Feb 26 2006 - [email protected]
|
|
170 |
- Bump to 1.5.3.
|
|
171 |
|
|
172 |
* Tue Feb 14 2006 - [email protected]
|
|
173 |
- Bump to 1.5.2.
|
|
174 |
|
|
175 |
* Sun Jan 29 2006 - [email protected]
|
|
176 |
- Bump to 1.5.1
|
|
177 |
|
|
178 |
* Tue Jan 03 2006 - [email protected]
|
|
179 |
- Bump to 1.5.0.
|
|
180 |
|
|
181 |
* Tue Nov 29 2005 - laca.com
|
|
182 |
- remove javahelp stuff
|
|
183 |
|
|
184 |
* Tue Sep 27 2005 - [email protected]
|
|
185 |
- Bump to 1.4.4
|
|
186 |
|
|
187 |
* Wed May 18 2005 - [email protected]
|
|
188 |
- Bump to 1.4.3
|
|
189 |
|
|
190 |
* Fri Jan 14 2005 - [email protected]
|
|
191 |
- Updated l10n help tarball for cinnabar-linux
|
|
192 |
|
|
193 |
* Fri Nov 12 2004 - [email protected]
|
|
194 |
- Updated l10n help tarball and patch
|
|
195 |
|
|
196 |
* Thu Oct 28 2004 - [email protected]
|
|
197 |
- Updated l10n help tarball and added pt_BR
|
|
198 |
|
|
199 |
* Wed Aug 25 2004 - [email protected]
|
|
200 |
- Added l10n help contents with patch
|
|
201 |
|
|
202 |
* Thu Aug 05 2004 - [email protected]
|
|
203 |
- Integrated 0.3 docs tarball from [email protected]
|
|
204 |
|
|
205 |
* Thu Jul 08 2004 - [email protected]
|
|
206 |
- Updated l10n content to gucharmap-l10n-po-1.2.tar.bz2
|
|
207 |
|
|
208 |
* Wed Jul 07 2004 - [email protected]
|
|
209 |
- port to rpm4
|
|
210 |
|
|
211 |
* Wed Jul 07 2004 - [email protected]
|
|
212 |
- added "-j $CPUS" to make to speed up builds
|
|
213 |
|
|
214 |
* Fri Jun 11 2004 - [email protected]
|
|
215 |
- Integrated 0.2 docs tarball from [email protected]
|
|
216 |
|
|
217 |
* Wed May 12 2004 - [email protected]
|
|
218 |
- Updated l10n content to gucharmap-l10n-po-1.1.tar.bz2
|
|
219 |
|
|
220 |
* Sun Apr 18 2004 - [email protected]
|
|
221 |
- enable javahelp conversion on Solaris
|
|
222 |
|
|
223 |
* Thu Apr 15 2004 - [email protected]
|
|
224 |
- Bump to 1.4.1
|
|
225 |
|
|
226 |
* Thu Apr 01 2004 - [email protected]
|
|
227 |
- Javahelp conversion
|
|
228 |
|
|
229 |
* Mon Mar 29 2004 - [email protected]
|
|
230 |
- Updated l10n content to gucharmap-l10n-po-1.0.tar.bz2
|
|
231 |
|
|
232 |
* Tue Mar 16 2004 - [email protected]
|
|
233 |
- Bump to 1.3.2
|
|
234 |
|
|
235 |
* Tue Mar 16 2004 - [email protected]
|
|
236 |
- Remove online help and .desktop patches since
|
|
237 |
they're upstream.
|
|
238 |
|
|
239 |
* Mon Feb 23 2004 - [email protected]
|
|
240 |
- Bump to 1.3.0
|
|
241 |
- Re-apply patch 01-menu-name-description.diff
|
|
242 |
- Remove 02-potfiles.diff
|
|
243 |
- Port patches :
|
|
244 |
04-add_help.diff
|
|
245 |
05-help_make.diff
|
|
246 |
06-l10n-online-help.diff
|
|
247 |
|
|
248 |
From QS and into one patch
|
|
249 |
02-add-l10n-help.diff
|
|
250 |
* Wed Dec 17 2003 - [email protected]
|
|
251 |
- Bump to 1.2.0
|
|
252 |
|
|
253 |
* Fri Oct 31 2003 - [email protected]
|
|
254 |
- Remove the Sun Supported keyword since we're
|
|
255 |
removing Extras menu.
|
|
256 |
|
|
257 |
* Fri Oct 13 2003 - [email protected]
|
|
258 |
- Update to 1.0.0
|
|
259 |
|
|
260 |
* Thu Aug 14 2003 - <[email protected]>
|
|
261 |
- remove *.a, *.la
|
|
262 |
|
|
263 |
* Fri Aug 08 2003 - [email protected]
|
|
264 |
- Add and remove some mnemonics
|
|
265 |
|
|
266 |
* Fri Jul 25 2003 - [email protected]
|
|
267 |
- Add libgnomeui to Requires
|
|
268 |
|
|
269 |
* Thu Jul 10 2003 - [email protected]
|
|
270 |
- Add a patch to add a menu description and
|
|
271 |
remove the 'Unicode' part of the menu name.
|
|
272 |
|
|
273 |
* Tue Jul 01 2003 - [email protected]
|
|
274 |
- Initial Sun release
|