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