gucharmap-vl.spec 7.1 KB

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