gucharmap-vl.spec 7.0 KB

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