ghex-vl.spec 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. %define ver 2.24.0
  2. %define rel 2%{?_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}/2.22/%{name}-%{ver}.tar.bz2
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: libglade2-devel
  13. BuildRequires: libgnomeprintui-devel
  14. BuildRequires: gtk2-devel >= 2.10.0
  15. BuildRequires: libgnomeui-devel >= 2.18.0
  16. Requires: libglade2
  17. Requires: libgnomeprintui
  18. Requires: gtk2 >= 2.10.0
  19. Requires: libgnomeui >= 2.18.0
  20. Requires(post): scrollkeeper
  21. Requires(post): GConf2
  22. Requires(postun): scrollkeeper
  23. Packager: ryoichi, daisuke, kazutaka
  24. %description
  25. GHex allows the user to load data from any file, view and edit
  26. it in either hex or ascii. A must for anyone playing games that
  27. use non-ascii format for saving.
  28. %description -l ja
  29. GHex は16進と ASCIIのどちらのモードでもファイルの読み込み、
  30. 表示及び編集が可能です。また 非 ASCII 形式のデータを保存する
  31. 機能も備えています。
  32. %prep
  33. %setup -q
  34. %build
  35. %configure --disable-schemas-install --disable-scrollkeeper
  36. make
  37. %install
  38. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  39. export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
  40. %makeinstall
  41. unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
  42. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  43. rm -rf $RPM_BUILD_ROOT%{_localstatedir}/scrollkeeper
  44. %clean
  45. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  46. %post
  47. scrollkeeper-update > /dev/null 2>&1 || :
  48. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  49. SCHEMAS="ghex2.schemas"
  50. for S in $SCHEMAS; do
  51. gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S > /dev/null
  52. done
  53. %postun
  54. scrollkeeper-update > /dev/null 2>&1 || :
  55. %files
  56. %defattr(-,root,root)
  57. %doc README COPYING NEWS AUTHORS ChangeLog
  58. %{_bindir}/ghex2
  59. %{_libdir}/*.so.*
  60. %{_datadir}/applications/*
  61. %{_datadir}/gnome/*
  62. %{_datadir}/gnome-2.0/*
  63. %{_datadir}/locale/*
  64. %{_datadir}/icons/*
  65. #{_datadir}/omf/*
  66. %{_sysconfdir}/gconf/schemas/*
  67. %{_includedir}/*
  68. %{_libdir}/*.a
  69. %{_libdir}/*.so
  70. %{_libdir}/pkgconfig/*.pc
  71. %changelog
  72. * Sun Oct 03 2010 Shu KONNO <owa@bg.wakwak.com> 2.24.0-2
  73. - rebuilt with rpm-4.8.1 for pkg-config
  74. * Wed May 13 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.24.0-1
  75. - new upstream release
  76. - add japanese description
  77. * Sun Oct 5 2008 Ryoichi INAGAKI <ryo1@@bc.wakwak.com> 2.22.0-1vl5
  78. - new upstream release
  79. * Thu Sep 25 2008 Shu KONNO <owa@bg.wakwak.com> 2.8.2-1vl5
  80. - applied new versioning policy, spec in utf-8
  81. * Sun Apr 29 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.2-0vl1
  82. - new upstream release
  83. * Fri Nov 12 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.1-0vl1
  84. - new upstream release
  85. * Wed Sep 11 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.0.1-0vl1
  86. - new upstream release
  87. * Sun Jun 22 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.1-0vl1
  88. - rebuild with new toolchains and Gnome2
  89. * Wed Dec 19 2001 Akira TAGOH <tagoh@gnome.gr.jp> 1.2.1-0vl1
  90. - New upstream release.
  91. - Fixed the font names for printing.
  92. * Wed Mar 28 2001 Akira TAGOH <tagoh@gnome.gr.jp> 1.2-0vl1
  93. - New upstream release.
  94. - Use rpmmacros.
  95. * Mon Mar 12 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  96. - first release for vine