gucharmap-vl.spec 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  1. Summary: A Unicode/ISO10646 character map and font viewer.
  2. Summary(ja): Unicode/ISO10646 文字コード表およびフォントビューワ
  3. Name: gucharmap
  4. Version: 2.30.2
  5. Release: 2%{?_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.30/%{name}-%{version}.tar.bz2
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: glib2-devel >= 2.16.3
  12. BuildRequires: gtk2-devel >= 2.13.6
  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
  106. %changelog
  107. * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-2
  108. - rebuild with rpm-4.8.1 for pkg-config file
  109. * Tue Jun 29 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-1
  110. - new upstream release
  111. - add BuildRequires: docbook-dtds
  112. * Sat May 22 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-1
  113. - new upstream release
  114. * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
  115. - new upstream release
  116. * Sun Mar 14 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.2-1
  117. - new upstream release
  118. * Sun Nov 1 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.1-1
  119. - new upstream release
  120. * Sat Jul 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.3.1-1
  121. - new upstream release
  122. * Thu May 28 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.2-1
  123. - new upstream release
  124. * Sat Apr 25 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.1-1
  125. - new upstream release
  126. - remove static library
  127. * Wed Oct 28 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.1-1
  128. - new upstream release
  129. * Mon Oct 13 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.24.0-1vl5
  130. - new upstream release
  131. - spec in UTF-8
  132. * Thu Apr 10 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.1-1vl5
  133. - new upstream release
  134. - added %%pre, %%preun section
  135. * Mon Jan 14 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.10.2-0vl1
  136. - new upstream release
  137. * Sun Jan 7 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.4.4-0vl2
  138. - add Vendor/Distribution tag
  139. - add BuildRequires: gnome-doc-utils, libgnomeui-devel, libgnome-devel
  140. - add Requires: {gtk2,glib2,libgnomeui,libgnome}-devel to -devel package
  141. - not run gtk-query-immodules-2.0 at %%post and %%postun
  142. - use %%{buildroot} consistently
  143. * Sat Oct 8 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.4-0vl1
  144. - new upstream release
  145. - added --disable-scrollkeeper option
  146. * Thu Mar 31 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.3-0vl1
  147. - new upstream release
  148. * Fri Nov 12 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.2-0vl1
  149. - new upstream release
  150. - added Japanese summay and description
  151. * Sun Jan 11 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.0-0vl1
  152. - build for Vine Linux
  153. - based on Dag Apt Repository, http://dag.wieers.com/apt/
  154. * Sat Nov 22 2003 Dag Wieers <dag@wieers.com> - 1.2.0-0
  155. - Updated to release 1.2.0.
  156. * Tue Sep 09 2003 Dag Wieers <dag@wieers.com> - 1.0.0-0
  157. - Updated to release 1.0.0.
  158. * Fri Aug 22 2003 Dag Wieers <dag@wieers.com> - 0.9.0-0
  159. - Updated to release 0.9.0.
  160. * Wed Jun 11 2003 Dag Wieers <dag@wieers.com> - 0.8.0-0
  161. - Updated to release 0.8.0.
  162. * Wed Jun 04 2003 Dag Wieers <dag@wieers.com> - 0.6.1.20030604-0
  163. - Updated to release 0.6.1.20030604.
  164. * Mon May 19 2003 Dag Wieers <dag@wieers.com> - 0.6.1-0
  165. - Updated to release 0.6.1.
  166. * Fri May 02 2003 Dag Wieers <dag@wieers.com> - 0.6.0-0
  167. - Updated to release 0.6.0.
  168. * Tue Mar 25 2003 Dag Wieers <dag@wieers.com> - 0.4.0-1
  169. - Added extra documents.
  170. * Tue Mar 18 2003 Dag Wieers <dag@wieers.com> - 0.4.0-0
  171. - Initial package. (using DAR)