1 | Summary: A Unicode/ISO10646 character map and font viewer. |
---|
2 | Summary(ja): Unicode/ISO10646 文字コード表およびフォントビューワ |
---|
3 | Name: gucharmap |
---|
4 | Version: 2.32.0 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | License: GPL |
---|
7 | Group: Applications/System |
---|
8 | URL: http://gucharmap.sourceforge.net/ |
---|
9 | |
---|
10 | Source: http://ftp.gnome.org/pub/gnome/sources/gucharmap/2.32/%{name}-%{version}.tar.bz2 |
---|
11 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
12 | |
---|
13 | BuildRequires: glib2-devel >= 2.26.0 |
---|
14 | BuildRequires: gtk2-devel >= 2.22.0 |
---|
15 | BuildRequires: GConf2-devel |
---|
16 | BuildRequires: gnome-doc-utils >= 0.9.0 |
---|
17 | #BuildRequires: libgnomeui-devel >= 2.2.0, libgnome-devel >= 2.2.0 |
---|
18 | ### Needed to know if we should link gnome-character-map |
---|
19 | BuildRequires: gnome-utils |
---|
20 | BuildRequires: docbook-dtds |
---|
21 | |
---|
22 | Requires(post,postun): scrollkeeper |
---|
23 | Requires(post,pre,preun): GConf2 |
---|
24 | |
---|
25 | Vendor: Project Vine |
---|
26 | Distribution: Vine Linux |
---|
27 | |
---|
28 | %description |
---|
29 | gucharmap is a Unicode/ISO10646 character map and font viewer. |
---|
30 | |
---|
31 | %description -l ja |
---|
32 | gucharmap は Unicode/ISO10646 文字コード表およびフォントビューワです。 |
---|
33 | |
---|
34 | %package devel |
---|
35 | Summary: Header files, libraries and development documentation for %{name}. |
---|
36 | Summary(ja): %{name} のヘッダファイル、ライブラリおよび開発用ドキュメント |
---|
37 | Group: Development/Libraries |
---|
38 | Requires: %{name} = %{version}-%{release} |
---|
39 | Requires: gtk2-devel |
---|
40 | Requires: glib2-devel |
---|
41 | Requires: GConf2-devel |
---|
42 | |
---|
43 | %description devel |
---|
44 | This package contains the header files, static libraries and development |
---|
45 | documentation for %{name}. If you like to develop programs using %{name}, |
---|
46 | you will need to install %{name}-devel. |
---|
47 | |
---|
48 | %description devel -l ja |
---|
49 | このパッケージには %{name} のヘッダファイル、ライブラリおよび開発用 |
---|
50 | ドキュメントが含まれています。%{name} を使ったプログラムを開発する場合、 |
---|
51 | %{name}-devel をインストールする必要があります。 |
---|
52 | |
---|
53 | %prep |
---|
54 | %setup -q |
---|
55 | |
---|
56 | %build |
---|
57 | %configure \ |
---|
58 | --disable-static \ |
---|
59 | --disable-schemas-install \ |
---|
60 | --disable-scrollkeeper |
---|
61 | make %{?_smp_mflags} |
---|
62 | |
---|
63 | %install |
---|
64 | [ -n "%{buildroot}" -a "%{buildroot}" != / ] && rm -rf %{buildroot} |
---|
65 | %makeinstall |
---|
66 | %find_lang %{name} |
---|
67 | |
---|
68 | ### Remove gnome-character-map link from buildroot if it is in gnome-utils |
---|
69 | # this process is not appropriate, |
---|
70 | # because gnome-character-map will be removed if gucharmap is installed |
---|
71 | #[ -e %{_bindir}/gnome-character-map ] && rm -f %{buildroot}%{_bindir}/gnome-character-map |
---|
72 | |
---|
73 | # remove unneeded files |
---|
74 | rm -rf %{buildroot}%{_localstatedir}/scrollkeeper |
---|
75 | rm -f %{buildroot}%{_libdir}/*.{a,la} |
---|
76 | rm -f %{buildroot}%{_datadir}/icons/hicolor/icon-theme.cache |
---|
77 | |
---|
78 | %clean |
---|
79 | [ -n "%{buildroot}" -a "%{buildroot}" != / ] && rm -rf %{buildroot} |
---|
80 | |
---|
81 | %post |
---|
82 | /sbin/ldconfig |
---|
83 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
84 | gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/gucharmap.schemas > /dev/null |
---|
85 | scrollkeeper-update -q || : |
---|
86 | |
---|
87 | touch --no-create %{_datadir}/icons/hicolor |
---|
88 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
89 | /usr/bin/gtk-update-icon-cache -q %{_datadir}/icons/hicolor; |
---|
90 | fi |
---|
91 | |
---|
92 | %pre |
---|
93 | if [ "$1" -gt 1 ]; then |
---|
94 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
95 | gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/gucharmap.schemas > /dev/null |
---|
96 | fi |
---|
97 | |
---|
98 | %preun |
---|
99 | if [ "$1" -eq 0 ]; then |
---|
100 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
101 | gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/gucharmap.schemas > /dev/null |
---|
102 | fi |
---|
103 | |
---|
104 | %postun |
---|
105 | /sbin/ldconfig |
---|
106 | scrollkeeper-update -q || : |
---|
107 | |
---|
108 | touch --no-create %{_datadir}/icons/hicolor |
---|
109 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
110 | /usr/bin/gtk-update-icon-cache -q %{_datadir}/icons/hicolor; |
---|
111 | fi |
---|
112 | |
---|
113 | %files -f %{name}.lang |
---|
114 | %defattr(-, root, root, 0755) |
---|
115 | %doc ChangeLog COPYING* README TODO |
---|
116 | %{_sysconfdir}/gconf/schemas/gucharmap.schemas |
---|
117 | %{_bindir}/* |
---|
118 | %{_libdir}/*.so.* |
---|
119 | %{_datadir}/applications/* |
---|
120 | #{_datadir}/icons/hicolor/48x48/apps/* |
---|
121 | %{_datadir}/omf/gucharmap |
---|
122 | %doc %{_datadir}/gnome/help/gucharmap |
---|
123 | |
---|
124 | %files devel |
---|
125 | %defattr(-, root, root, 0755) |
---|
126 | %{_libdir}/*.so |
---|
127 | %{_libdir}/pkgconfig/*.pc |
---|
128 | %{_includedir}/gucharmap-2.0 |
---|
129 | |
---|
130 | %changelog |
---|
131 | * Mon Oct 04 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-1 |
---|
132 | - new upstream release |
---|
133 | |
---|
134 | * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-2 |
---|
135 | - rebuild with rpm-4.8.1 for pkg-config file |
---|
136 | |
---|
137 | * Tue Jun 29 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-1 |
---|
138 | - new upstream release |
---|
139 | - add BuildRequires: docbook-dtds |
---|
140 | |
---|
141 | * Sat May 22 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-1 |
---|
142 | - new upstream release |
---|
143 | |
---|
144 | * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1 |
---|
145 | - new upstream release |
---|
146 | |
---|
147 | * Sun Mar 14 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.2-1 |
---|
148 | - new upstream release |
---|
149 | |
---|
150 | * Sun Nov 1 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.1-1 |
---|
151 | - new upstream release |
---|
152 | |
---|
153 | * Sat Jul 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.3.1-1 |
---|
154 | - new upstream release |
---|
155 | |
---|
156 | * Thu May 28 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.2-1 |
---|
157 | - new upstream release |
---|
158 | |
---|
159 | * Sat Apr 25 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.1-1 |
---|
160 | - new upstream release |
---|
161 | - remove static library |
---|
162 | |
---|
163 | * Wed Oct 28 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.1-1 |
---|
164 | - new upstream release |
---|
165 | |
---|
166 | * Mon Oct 13 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.24.0-1vl5 |
---|
167 | - new upstream release |
---|
168 | - spec in UTF-8 |
---|
169 | |
---|
170 | * Thu Apr 10 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.1-1vl5 |
---|
171 | - new upstream release |
---|
172 | - added %%pre, %%preun section |
---|
173 | |
---|
174 | * Mon Jan 14 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.10.2-0vl1 |
---|
175 | - new upstream release |
---|
176 | |
---|
177 | * Sun Jan 7 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.4.4-0vl2 |
---|
178 | - add Vendor/Distribution tag |
---|
179 | - add BuildRequires: gnome-doc-utils, libgnomeui-devel, libgnome-devel |
---|
180 | - add Requires: {gtk2,glib2,libgnomeui,libgnome}-devel to -devel package |
---|
181 | - not run gtk-query-immodules-2.0 at %%post and %%postun |
---|
182 | - use %%{buildroot} consistently |
---|
183 | |
---|
184 | * Sat Oct 8 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.4-0vl1 |
---|
185 | - new upstream release |
---|
186 | - added --disable-scrollkeeper option |
---|
187 | |
---|
188 | * Thu Mar 31 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.3-0vl1 |
---|
189 | - new upstream release |
---|
190 | |
---|
191 | * Fri Nov 12 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.2-0vl1 |
---|
192 | - new upstream release |
---|
193 | - added Japanese summay and description |
---|
194 | |
---|
195 | * Sun Jan 11 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.0-0vl1 |
---|
196 | - build for Vine Linux |
---|
197 | - based on Dag Apt Repository, http://dag.wieers.com/apt/ |
---|
198 | |
---|
199 | * Sat Nov 22 2003 Dag Wieers <dag@wieers.com> - 1.2.0-0 |
---|
200 | - Updated to release 1.2.0. |
---|
201 | |
---|
202 | * Tue Sep 09 2003 Dag Wieers <dag@wieers.com> - 1.0.0-0 |
---|
203 | - Updated to release 1.0.0. |
---|
204 | |
---|
205 | * Fri Aug 22 2003 Dag Wieers <dag@wieers.com> - 0.9.0-0 |
---|
206 | - Updated to release 0.9.0. |
---|
207 | |
---|
208 | * Wed Jun 11 2003 Dag Wieers <dag@wieers.com> - 0.8.0-0 |
---|
209 | - Updated to release 0.8.0. |
---|
210 | |
---|
211 | * Wed Jun 04 2003 Dag Wieers <dag@wieers.com> - 0.6.1.20030604-0 |
---|
212 | - Updated to release 0.6.1.20030604. |
---|
213 | |
---|
214 | * Mon May 19 2003 Dag Wieers <dag@wieers.com> - 0.6.1-0 |
---|
215 | - Updated to release 0.6.1. |
---|
216 | |
---|
217 | * Fri May 02 2003 Dag Wieers <dag@wieers.com> - 0.6.0-0 |
---|
218 | - Updated to release 0.6.0. |
---|
219 | |
---|
220 | * Tue Mar 25 2003 Dag Wieers <dag@wieers.com> - 0.4.0-1 |
---|
221 | - Added extra documents. |
---|
222 | |
---|
223 | * Tue Mar 18 2003 Dag Wieers <dag@wieers.com> - 0.4.0-0 |
---|
224 | - Initial package. (using DAR) |
---|