ghex-vl.spec 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. %define ver 3.10.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.10/%{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}/appdata/ghex.appdata.xml
  63. %{_datadir}/applications/ghex.desktop
  64. %{_datadir}/glib-2.0/schemas/org.gnome.GHex.gschema.xml
  65. %{_datadir}/icons/hicolor/*/apps/*
  66. %{_datadir}/icons/HighContrast/*/apps/*
  67. %{_datadir}/help/*/%{name}
  68. %files devel
  69. %{_includedir}/gtkhex-3
  70. %{_libdir}/libgtkhex-3.so
  71. %{_libdir}/pkgconfig/gtkhex-3.pc
  72. %changelog
  73. * Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1
  74. - new upstream release
  75. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1
  76. - new upstream release
  77. * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.0-1
  78. - new upstream release
  79. - add BuildRequires: yelp-tools
  80. * Wed Oct 17 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.1-1
  81. - new upstream release
  82. * Sat Oct 13 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1
  83. - new upstream release
  84. * Sun May 20 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.1-1
  85. - new upstream release
  86. * Sat Apr 28 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.0-1
  87. - new upstream release
  88. - change BuildRequires: gtk3-devel instead of gtk2-devel
  89. * Sun Oct 03 2010 Shu KONNO <owa@bg.wakwak.com> 2.24.0-2
  90. - rebuilt with rpm-4.8.1 for pkg-config
  91. * Wed May 13 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.24.0-1
  92. - new upstream release
  93. - add japanese description
  94. * Sun Oct 5 2008 Ryoichi INAGAKI <ryo1@@bc.wakwak.com> 2.22.0-1vl5
  95. - new upstream release
  96. * Thu Sep 25 2008 Shu KONNO <owa@bg.wakwak.com> 2.8.2-1vl5
  97. - applied new versioning policy, spec in utf-8
  98. * Sun Apr 29 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.2-0vl1
  99. - new upstream release
  100. * Fri Nov 12 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.1-0vl1
  101. - new upstream release
  102. * Thu Sep 11 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.0.1-0vl1
  103. - new upstream release
  104. * Sun Jun 22 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.1-0vl1
  105. - rebuild with new toolchains and Gnome2
  106. * Wed Dec 19 2001 Akira TAGOH <tagoh@gnome.gr.jp> 1.2.1-0vl1
  107. - New upstream release.
  108. - Fixed the font names for printing.
  109. * Wed Mar 28 2001 Akira TAGOH <tagoh@gnome.gr.jp> 1.2-0vl1
  110. - New upstream release.
  111. - Use rpmmacros.
  112. * Sun Mar 12 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  113. - first release for vine