gucharmap-vl.spec 7.2 KB

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