ghex-vl.spec 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. %define ver 3.8.1
  2. %define rel 1%{?_dist_release}
  3. Summary: Binary file editor for GNOME
  4. Summary(ja): GNOME用バイナリ・ファイル・エディタ
  5. Name: ghex
  6. Version: %{ver}
  7. Release: %{rel}
  8. License: GPL
  9. Group: Applications/Editors
  10. Source: ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/3.8/%{name}-%{ver}.tar.xz
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: gtk3-devel
  13. BuildRequires: gnome-doc-utils
  14. BuildRequires: yelp-tools
  15. Packager: ryoichi, daisuke, kazutaka, Takemikaduchi
  16. %description
  17. GHex allows the user to load data from any file, view and edit
  18. it in either hex or ascii. A must for anyone playing games that
  19. use non-ascii format for saving.
  20. %description -l ja
  21. GHex は16進と ASCIIのどちらのモードでもファイルの読み込み、
  22. 表示及び編集が可能です。また 非 ASCII 形式のデータを保存する
  23. 機能も備えています。
  24. %package devel
  25. Summary: Development files for %{name}
  26. Group: Development/Libraries
  27. Requires: %{name} = %{version}-%{release}
  28. %description devel
  29. The %{name}-devel package contains libraries and header files for
  30. developing applications that use %{name}.
  31. %prep
  32. %setup -q
  33. %build
  34. %configure --disable-static --disable-scrollkeeper
  35. make
  36. %install
  37. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  38. make install DESTDIR=$RPM_BUILD_ROOT
  39. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  40. %find_lang %{name}-3.0 --with-gnome
  41. %clean
  42. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  43. %post
  44. /sbin/ldconfig
  45. touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
  46. %postun
  47. /sbin/ldconfig
  48. if [ $1 -eq 0 ] ; then
  49. glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
  50. touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
  51. gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
  52. fi
  53. %posttrans
  54. glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
  55. gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
  56. %files -f %{name}-3.0.lang
  57. %defattr(-,root,root)
  58. %doc README COPYING NEWS AUTHORS
  59. %{_bindir}/ghex
  60. %{_libdir}/libgtkhex-3.so.*
  61. %{_datadir}/GConf/gsettings/ghex.convert
  62. %{_datadir}/applications/ghex.desktop
  63. %{_datadir}/glib-2.0/schemas/org.gnome.GHex.gschema.xml
  64. %{_datadir}/icons/hicolor/*/apps/*
  65. %{_datadir}/icons/HighContrast/*/apps/*
  66. %{_datadir}/help/*/%{name}
  67. %files devel
  68. %{_includedir}/gtkhex-3
  69. %{_libdir}/libgtkhex-3.so
  70. %{_libdir}/pkgconfig/gtkhex-3.pc
  71. %changelog
  72. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1
  73. - new upstream release
  74. * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.0-1
  75. - new upstream release
  76. - add BuildRequires: yelp-tools
  77. * Wed Oct 17 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.1-1
  78. - new upstream release
  79. * Sat Oct 13 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1
  80. - new upstream release
  81. * Sun May 20 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.1-1
  82. - new upstream release
  83. * Sat Apr 28 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.0-1
  84. - new upstream release
  85. - change BuildRequires: gtk3-devel instead of gtk2-devel
  86. * Sun Oct 03 2010 Shu KONNO <owa@bg.wakwak.com> 2.24.0-2
  87. - rebuilt with rpm-4.8.1 for pkg-config
  88. * Wed May 13 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.24.0-1
  89. - new upstream release
  90. - add japanese description
  91. * Sun Oct 5 2008 Ryoichi INAGAKI <ryo1@@bc.wakwak.com> 2.22.0-1vl5
  92. - new upstream release
  93. * Thu Sep 25 2008 Shu KONNO <owa@bg.wakwak.com> 2.8.2-1vl5
  94. - applied new versioning policy, spec in utf-8
  95. * Sun Apr 29 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.2-0vl1
  96. - new upstream release
  97. * Fri Nov 12 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.1-0vl1
  98. - new upstream release
  99. * Thu Sep 11 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.0.1-0vl1
  100. - new upstream release
  101. * Sun Jun 22 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.1-0vl1
  102. - rebuild with new toolchains and Gnome2
  103. * Wed Dec 19 2001 Akira TAGOH <tagoh@gnome.gr.jp> 1.2.1-0vl1
  104. - New upstream release.
  105. - Fixed the font names for printing.
  106. * Wed Mar 28 2001 Akira TAGOH <tagoh@gnome.gr.jp> 1.2-0vl1
  107. - New upstream release.
  108. - Use rpmmacros.
  109. * Sun Mar 12 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  110. - first release for vine