gucharmap-vl.spec 6.4 KB

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