ghex-vl.spec 3.7 KB

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