[521] | 1 | Summary: A Unicode/ISO10646 character map and font viewer. |
---|
| 2 | Summary(ja): Unicode/ISO10646 文字コード表およびフォントビューワ |
---|
| 3 | Name: gucharmap |
---|
[2219] | 4 | Version: 2.32.1 |
---|
[2041] | 5 | Release: 1%{?_dist_release} |
---|
[521] | 6 | License: GPL |
---|
| 7 | Group: Applications/System |
---|
| 8 | URL: http://gucharmap.sourceforge.net/ |
---|
| 9 | |
---|
[2041] | 10 | Source: http://ftp.gnome.org/pub/gnome/sources/gucharmap/2.32/%{name}-%{version}.tar.bz2 |
---|
[521] | 11 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 12 | |
---|
[2041] | 13 | BuildRequires: glib2-devel >= 2.26.0 |
---|
| 14 | BuildRequires: gtk2-devel >= 2.22.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} |
---|
| 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 |
---|
[2041] | 128 | %{_includedir}/gucharmap-2.0 |
---|
[521] | 129 | |
---|
| 130 | %changelog |
---|
[2219] | 131 | * Sat Nov 20 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.1-1 |
---|
| 132 | - new upstream release |
---|
| 133 | |
---|
[2041] | 134 | * Mon Oct 04 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-1 |
---|
| 135 | - new upstream release |
---|
| 136 | |
---|
[1917] | 137 | * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-2 |
---|
| 138 | - rebuild with rpm-4.8.1 for pkg-config file |
---|
| 139 | |
---|
[1260] | 140 | * Tue Jun 29 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-1 |
---|
| 141 | - new upstream release |
---|
| 142 | - add BuildRequires: docbook-dtds |
---|
| 143 | |
---|
[1058] | 144 | * Sat May 22 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-1 |
---|
[805] | 145 | - new upstream release |
---|
| 146 | |
---|
[1058] | 147 | * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1 |
---|
| 148 | - new upstream release |
---|
| 149 | |
---|
[623] | 150 | * Sun Mar 14 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.2-1 |
---|
| 151 | - new upstream release |
---|
| 152 | |
---|
[521] | 153 | * Sun Nov 1 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.1-1 |
---|
| 154 | - new upstream release |
---|
| 155 | |
---|
| 156 | * Sat Jul 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.3.1-1 |
---|
| 157 | - new upstream release |
---|
| 158 | |
---|
| 159 | * Thu May 28 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.2-1 |
---|
| 160 | - new upstream release |
---|
| 161 | |
---|
| 162 | * Sat Apr 25 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.1-1 |
---|
| 163 | - new upstream release |
---|
| 164 | - remove static library |
---|
| 165 | |
---|
| 166 | * Wed Oct 28 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.1-1 |
---|
| 167 | - new upstream release |
---|
| 168 | |
---|
| 169 | * Mon Oct 13 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.24.0-1vl5 |
---|
| 170 | - new upstream release |
---|
| 171 | - spec in UTF-8 |
---|
| 172 | |
---|
| 173 | * Thu Apr 10 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.1-1vl5 |
---|
| 174 | - new upstream release |
---|
| 175 | - added %%pre, %%preun section |
---|
| 176 | |
---|
| 177 | * Mon Jan 14 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.10.2-0vl1 |
---|
| 178 | - new upstream release |
---|
| 179 | |
---|
| 180 | * Sun Jan 7 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.4.4-0vl2 |
---|
| 181 | - add Vendor/Distribution tag |
---|
| 182 | - add BuildRequires: gnome-doc-utils, libgnomeui-devel, libgnome-devel |
---|
| 183 | - add Requires: {gtk2,glib2,libgnomeui,libgnome}-devel to -devel package |
---|
| 184 | - not run gtk-query-immodules-2.0 at %%post and %%postun |
---|
| 185 | - use %%{buildroot} consistently |
---|
| 186 | |
---|
| 187 | * Sat Oct 8 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.4-0vl1 |
---|
| 188 | - new upstream release |
---|
| 189 | - added --disable-scrollkeeper option |
---|
| 190 | |
---|
| 191 | * Thu Mar 31 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.3-0vl1 |
---|
| 192 | - new upstream release |
---|
| 193 | |
---|
| 194 | * Fri Nov 12 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.2-0vl1 |
---|
| 195 | - new upstream release |
---|
| 196 | - added Japanese summay and description |
---|
| 197 | |
---|
| 198 | * Sun Jan 11 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.0-0vl1 |
---|
| 199 | - build for Vine Linux |
---|
| 200 | - based on Dag Apt Repository, http://dag.wieers.com/apt/ |
---|
| 201 | |
---|
| 202 | * Sat Nov 22 2003 Dag Wieers <dag@wieers.com> - 1.2.0-0 |
---|
| 203 | - Updated to release 1.2.0. |
---|
| 204 | |
---|
| 205 | * Tue Sep 09 2003 Dag Wieers <dag@wieers.com> - 1.0.0-0 |
---|
| 206 | - Updated to release 1.0.0. |
---|
| 207 | |
---|
| 208 | * Fri Aug 22 2003 Dag Wieers <dag@wieers.com> - 0.9.0-0 |
---|
| 209 | - Updated to release 0.9.0. |
---|
| 210 | |
---|
| 211 | * Wed Jun 11 2003 Dag Wieers <dag@wieers.com> - 0.8.0-0 |
---|
| 212 | - Updated to release 0.8.0. |
---|
| 213 | |
---|
| 214 | * Wed Jun 04 2003 Dag Wieers <dag@wieers.com> - 0.6.1.20030604-0 |
---|
| 215 | - Updated to release 0.6.1.20030604. |
---|
| 216 | |
---|
| 217 | * Mon May 19 2003 Dag Wieers <dag@wieers.com> - 0.6.1-0 |
---|
| 218 | - Updated to release 0.6.1. |
---|
| 219 | |
---|
| 220 | * Fri May 02 2003 Dag Wieers <dag@wieers.com> - 0.6.0-0 |
---|
| 221 | - Updated to release 0.6.0. |
---|
| 222 | |
---|
| 223 | * Tue Mar 25 2003 Dag Wieers <dag@wieers.com> - 0.4.0-1 |
---|
| 224 | - Added extra documents. |
---|
| 225 | |
---|
| 226 | * Tue Mar 18 2003 Dag Wieers <dag@wieers.com> - 0.4.0-0 |
---|
| 227 | - Initial package. (using DAR) |
---|