baobab-vl.spec 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. %define name baobab
  2. %define version 2.4.2
  3. %define release 1%{?_dist_release}
  4. Summary: A graphical disk usage analyzer
  5. Summary(ja): グラフィカルなハードディスク使用量の分析ツール
  6. Name: %{name}
  7. Version: %{version}
  8. Release: %{release}
  9. Source0: %{name}-%{version}.tar.gz
  10. Patch1: baobab-2.4.2-fix-encoding.patch
  11. Patch2: baobab-2.4.2-ja.po.patch
  12. License: GPL
  13. Group: User Interface/Desktops
  14. URL: http://www.marzocca.net/linux/baobab.html
  15. Requires: gtk2 >= 2.6.0
  16. Requires: libgtop2 >= 2.10.0, libgnomeui >= 2.0.0
  17. Requires: libgnomecanvas >= 2.10.2, gnome-vfs2 >= 2.6.0
  18. Requires: libglade2 >= 2.5.1, GConf2
  19. BuildRequires: gtk2-devel >= 2.6.0
  20. BuildRequires: libgtop2-devel >= 2.10.0, libgnomeui-devel >= 2.0.0
  21. BuildRequires: libgnomecanvas-devel >= 2.10.2, gnome-vfs2-devel >= 2.6.0
  22. BuildRequires: libglade2-devel >= 2.5.1, GConf2-devel
  23. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  24. %description
  25. A graphical tool to analyse disk usage in local and remote filesystems.
  26. Baobab is able to scan either specific directories (local or remote) or
  27. the whole filesystem, in order to give the user a graphical tree repre-
  28. sentation including each directory size or percentage in the branch.
  29. It also includes a complete file-search functionality and auto-detects
  30. in real-time any changes made to your home directory as far as any
  31. mounted/unmounted device.
  32. %description -l ja
  33. ローカル及びリモートファイルシステムの、ハードディスク使用量をグラフィ
  34. カルに分析するツールです。
  35. Baobab は、各ディレクトリのサイズと使用量をグラフィカルに表示する為に、
  36. 指定したディレクトリ(ローカルまたはリモート)やファイルシステム全体を
  37. スキャンできます。また完全なファイル検索機能や、ホームディレクトリへの
  38. 変更をリアルタイムに自動で検出する機能も含んでいます。
  39. %prep
  40. %setup -q
  41. %patch1 -p1 -b .fix-encoding
  42. %patch2 -p1 -b .updated
  43. %build
  44. %configure
  45. %__make
  46. %install
  47. %__rm -rf ${RPM_BUILD_ROOT}
  48. export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
  49. %makeinstall
  50. unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
  51. %find_lang %{name}
  52. # remove unnecessary files
  53. %__rm -rf ${RPM_BUILD_ROOT}/%{_datadir}/icons/hicolor/icon-theme.cache
  54. %clean
  55. %__rm -rf ${RPM_BUILD_ROOT}
  56. %post
  57. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  58. gconftool-2 --makefile-install-rule \
  59. %{_sysconfdir}/gconf/schemas/baobab.schemas > /dev/null
  60. %preun
  61. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  62. gconftool-2 --makefile-uninstall-rule \
  63. %{_sysconfdir}/gconf/schemas/baobab.schemas >/dev/null;
  64. %files -f %{name}.lang
  65. %defattr(-,root,root)
  66. %doc AUTHORS COPYING ChangeLog NEWS README TODO
  67. %{_bindir}/baobab
  68. %{_datadir}/applications/baobab.desktop
  69. %{_datadir}/baobab
  70. %{_datadir}/icons/hicolor/48x48/apps/baobab.png
  71. %{_sysconfdir}/gconf/schemas/baobab.schemas
  72. %{_mandir}/man1/baobab.1*
  73. %changelog
  74. * Sat Sep 06 2008 Shu KONNO <owa@bg.wakwak.com> 2.4.2-1vl5
  75. - applied new versioning policy, spec in utf-8
  76. * Fri Jan 26 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.4.2-0vl2
  77. - add patch1; workaround to fix non utf-8 character encoding.
  78. - add patch2 to update ja.po.
  79. - coorrectly handle gconf scheme at post & preun.
  80. * Sun Sep 24 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.4.2-0vl1
  81. - initial build for Vine Linux