[521] | 1 | Summary: A Unicode/ISO10646 character map and font viewer. |
---|
| 2 | Summary(ja): Unicode/ISO10646 文字コード表およびフォントビューワ |
---|
| 3 | Name: gucharmap |
---|
[4812] | 4 | Version: 3.1.92 |
---|
[2041] | 5 | Release: 1%{?_dist_release} |
---|
[521] | 6 | License: GPL |
---|
| 7 | Group: Applications/System |
---|
| 8 | URL: http://gucharmap.sourceforge.net/ |
---|
| 9 | |
---|
[4812] | 10 | Source: http://ftp.gnome.org/pub/gnome/sources/gucharmap/3.1/%{name}-%{version}.tar.xz |
---|
[521] | 11 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 12 | |
---|
[4616] | 13 | BuildRequires: glib2-devel >= 2.28.0 |
---|
| 14 | BuildRequires: gtk3-devel >= 3.0.0 |
---|
[521] | 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 |
---|
[1260] | 20 | BuildRequires: docbook-dtds |
---|
[521] | 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} |
---|
[4616] | 39 | Requires: gtk3-devel |
---|
[521] | 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 \ |
---|
[4616] | 58 | --with-gtk=3.0 \ |
---|
[521] | 59 | --disable-static \ |
---|
| 60 | --disable-schemas-install \ |
---|
| 61 | --disable-scrollkeeper |
---|
| 62 | make %{?_smp_mflags} |
---|
| 63 | |
---|
| 64 | %install |
---|
| 65 | [ -n "%{buildroot}" -a "%{buildroot}" != / ] && rm -rf %{buildroot} |
---|
| 66 | %makeinstall |
---|
| 67 | %find_lang %{name} |
---|
| 68 | |
---|
| 69 | ### Remove gnome-character-map link from buildroot if it is in gnome-utils |
---|
| 70 | # this process is not appropriate, |
---|
| 71 | # because gnome-character-map will be removed if gucharmap is installed |
---|
| 72 | #[ -e %{_bindir}/gnome-character-map ] && rm -f %{buildroot}%{_bindir}/gnome-character-map |
---|
| 73 | |
---|
| 74 | # remove unneeded files |
---|
| 75 | rm -rf %{buildroot}%{_localstatedir}/scrollkeeper |
---|
| 76 | rm -f %{buildroot}%{_libdir}/*.{a,la} |
---|
| 77 | rm -f %{buildroot}%{_datadir}/icons/hicolor/icon-theme.cache |
---|
| 78 | |
---|
| 79 | %clean |
---|
| 80 | [ -n "%{buildroot}" -a "%{buildroot}" != / ] && rm -rf %{buildroot} |
---|
| 81 | |
---|
| 82 | %post |
---|
| 83 | /sbin/ldconfig |
---|
| 84 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
| 85 | gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/gucharmap.schemas > /dev/null |
---|
| 86 | scrollkeeper-update -q || : |
---|
| 87 | |
---|
| 88 | touch --no-create %{_datadir}/icons/hicolor |
---|
| 89 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
| 90 | /usr/bin/gtk-update-icon-cache -q %{_datadir}/icons/hicolor; |
---|
| 91 | fi |
---|
| 92 | |
---|
| 93 | %pre |
---|
| 94 | if [ "$1" -gt 1 ]; then |
---|
| 95 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
| 96 | gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/gucharmap.schemas > /dev/null |
---|
| 97 | fi |
---|
| 98 | |
---|
| 99 | %preun |
---|
| 100 | if [ "$1" -eq 0 ]; then |
---|
| 101 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
| 102 | gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/gucharmap.schemas > /dev/null |
---|
| 103 | fi |
---|
| 104 | |
---|
| 105 | %postun |
---|
| 106 | /sbin/ldconfig |
---|
| 107 | scrollkeeper-update -q || : |
---|
| 108 | |
---|
| 109 | touch --no-create %{_datadir}/icons/hicolor |
---|
| 110 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
| 111 | /usr/bin/gtk-update-icon-cache -q %{_datadir}/icons/hicolor; |
---|
| 112 | fi |
---|
| 113 | |
---|
| 114 | %files -f %{name}.lang |
---|
| 115 | %defattr(-, root, root, 0755) |
---|
| 116 | %doc ChangeLog COPYING* README TODO |
---|
| 117 | %{_sysconfdir}/gconf/schemas/gucharmap.schemas |
---|
| 118 | %{_bindir}/* |
---|
| 119 | %{_libdir}/*.so.* |
---|
| 120 | %{_datadir}/applications/* |
---|
| 121 | #{_datadir}/icons/hicolor/48x48/apps/* |
---|
| 122 | %{_datadir}/omf/gucharmap |
---|
| 123 | %doc %{_datadir}/gnome/help/gucharmap |
---|
| 124 | |
---|
| 125 | %files devel |
---|
| 126 | %defattr(-, root, root, 0755) |
---|
| 127 | %{_libdir}/*.so |
---|
| 128 | %{_libdir}/pkgconfig/*.pc |
---|
[4616] | 129 | %{_includedir}/gucharmap-2.90 |
---|
[521] | 130 | |
---|
| 131 | %changelog |
---|
[4812] | 132 | * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.92-1 |
---|
| 133 | - new upstream release |
---|
| 134 | |
---|
[4616] | 135 | * Mon Aug 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.1-1 |
---|
| 136 | - new upstream release |
---|
| 137 | - change BuildRequires: gtk3-devel instead of gtk2-devel |
---|
| 138 | |
---|
[2219] | 139 | * Sat Nov 20 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.1-1 |
---|
| 140 | - new upstream release |
---|
| 141 | |
---|
[2041] | 142 | * Mon Oct 04 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-1 |
---|
| 143 | - new upstream release |
---|
| 144 | |
---|
[1917] | 145 | * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-2 |
---|
| 146 | - rebuild with rpm-4.8.1 for pkg-config file |
---|
| 147 | |
---|
[1260] | 148 | * Tue Jun 29 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-1 |
---|
| 149 | - new upstream release |
---|
| 150 | - add BuildRequires: docbook-dtds |
---|
| 151 | |
---|
[1058] | 152 | * Sat May 22 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-1 |
---|
[805] | 153 | - new upstream release |
---|
| 154 | |
---|
[1058] | 155 | * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1 |
---|
| 156 | - new upstream release |
---|
| 157 | |
---|
[623] | 158 | * Sun Mar 14 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.2-1 |
---|
| 159 | - new upstream release |
---|
| 160 | |
---|
[521] | 161 | * Sun Nov 1 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.1-1 |
---|
| 162 | - new upstream release |
---|
| 163 | |
---|
| 164 | * Sat Jul 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.3.1-1 |
---|
| 165 | - new upstream release |
---|
| 166 | |
---|
| 167 | * Thu May 28 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.2-1 |
---|
| 168 | - new upstream release |
---|
| 169 | |
---|
| 170 | * Sat Apr 25 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.1-1 |
---|
| 171 | - new upstream release |
---|
| 172 | - remove static library |
---|
| 173 | |
---|
| 174 | * Wed Oct 28 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.1-1 |
---|
| 175 | - new upstream release |
---|
| 176 | |
---|
| 177 | * Mon Oct 13 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.24.0-1vl5 |
---|
| 178 | - new upstream release |
---|
| 179 | - spec in UTF-8 |
---|
| 180 | |
---|
| 181 | * Thu Apr 10 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.1-1vl5 |
---|
| 182 | - new upstream release |
---|
| 183 | - added %%pre, %%preun section |
---|
| 184 | |
---|
| 185 | * Mon Jan 14 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.10.2-0vl1 |
---|
| 186 | - new upstream release |
---|
| 187 | |
---|
| 188 | * Sun Jan 7 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.4.4-0vl2 |
---|
| 189 | - add Vendor/Distribution tag |
---|
| 190 | - add BuildRequires: gnome-doc-utils, libgnomeui-devel, libgnome-devel |
---|
| 191 | - add Requires: {gtk2,glib2,libgnomeui,libgnome}-devel to -devel package |
---|
| 192 | - not run gtk-query-immodules-2.0 at %%post and %%postun |
---|
| 193 | - use %%{buildroot} consistently |
---|
| 194 | |
---|
| 195 | * Sat Oct 8 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.4-0vl1 |
---|
| 196 | - new upstream release |
---|
| 197 | - added --disable-scrollkeeper option |
---|
| 198 | |
---|
| 199 | * Thu Mar 31 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.3-0vl1 |
---|
| 200 | - new upstream release |
---|
| 201 | |
---|
| 202 | * Fri Nov 12 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.2-0vl1 |
---|
| 203 | - new upstream release |
---|
| 204 | - added Japanese summay and description |
---|
| 205 | |
---|
| 206 | * Sun Jan 11 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.0-0vl1 |
---|
| 207 | - build for Vine Linux |
---|
| 208 | - based on Dag Apt Repository, http://dag.wieers.com/apt/ |
---|
| 209 | |
---|
| 210 | * Sat Nov 22 2003 Dag Wieers <dag@wieers.com> - 1.2.0-0 |
---|
| 211 | - Updated to release 1.2.0. |
---|
| 212 | |
---|
| 213 | * Tue Sep 09 2003 Dag Wieers <dag@wieers.com> - 1.0.0-0 |
---|
| 214 | - Updated to release 1.0.0. |
---|
| 215 | |
---|
| 216 | * Fri Aug 22 2003 Dag Wieers <dag@wieers.com> - 0.9.0-0 |
---|
| 217 | - Updated to release 0.9.0. |
---|
| 218 | |
---|
| 219 | * Wed Jun 11 2003 Dag Wieers <dag@wieers.com> - 0.8.0-0 |
---|
| 220 | - Updated to release 0.8.0. |
---|
| 221 | |
---|
| 222 | * Wed Jun 04 2003 Dag Wieers <dag@wieers.com> - 0.6.1.20030604-0 |
---|
| 223 | - Updated to release 0.6.1.20030604. |
---|
| 224 | |
---|
| 225 | * Mon May 19 2003 Dag Wieers <dag@wieers.com> - 0.6.1-0 |
---|
| 226 | - Updated to release 0.6.1. |
---|
| 227 | |
---|
| 228 | * Fri May 02 2003 Dag Wieers <dag@wieers.com> - 0.6.0-0 |
---|
| 229 | - Updated to release 0.6.0. |
---|
| 230 | |
---|
| 231 | * Tue Mar 25 2003 Dag Wieers <dag@wieers.com> - 0.4.0-1 |
---|
| 232 | - Added extra documents. |
---|
| 233 | |
---|
| 234 | * Tue Mar 18 2003 Dag Wieers <dag@wieers.com> - 0.4.0-0 |
---|
| 235 | - Initial package. (using DAR) |
---|