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