baobab-vl.spec 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. %define name baobab
  2. %define version 3.6.0
  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: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.6/%{name}-%{version}.tar.xz
  10. License: GPLv2+
  11. Group: User Interface/Desktops
  12. URL: http://www.gnome.org
  13. BuildRequires: gtk3-devel
  14. BuildRequires: itstool
  15. Requires(postun,posttrans): glib2
  16. Requires(postun,posttrans): desktop-file-utils
  17. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  18. Vendor: Project Vine
  19. Distribution: Vine Linux
  20. Packager: Takemikaduchi
  21. %description
  22. A graphical tool to analyse disk usage in local and remote filesystems.
  23. Baobab is able to scan either specific directories (local or remote) or
  24. the whole filesystem, in order to give the user a graphical tree repre-
  25. sentation including each directory size or percentage in the branch.
  26. It also includes a complete file-search functionality and auto-detects
  27. in real-time any changes made to your home directory as far as any
  28. mounted/unmounted device.
  29. %description -l ja
  30. ローカル及びリモートファイルシステムの、ハードディスク使用量をグラフィ
  31. カルに分析するツールです。
  32. Baobab は、各ディレクトリのサイズと使用量をグラフィカルに表示する為に、
  33. 指定したディレクトリ(ローカルまたはリモート)やファイルシステム全体を
  34. スキャンできます。また完全なファイル検索機能や、ホームディレクトリへの
  35. 変更をリアルタイムに自動で検出する機能も含んでいます。
  36. %prep
  37. %setup -q
  38. %build
  39. %configure
  40. make %{?_smp_mflags}
  41. %install
  42. rm -rf $RPM_BUILD_ROOT
  43. make install DESTDIR=$RPM_BUILD_ROOT
  44. %find_lang %{name} --all-name --with-gnome
  45. %clean
  46. rm -rf ${RPM_BUILD_ROOT}
  47. %post
  48. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  49. %postun
  50. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  51. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  52. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  53. update-desktop-database -q &> /dev/null ||:
  54. %posttrans
  55. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  56. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  57. update-desktop-database -q &> /dev/null ||:
  58. %files -f %{name}.lang
  59. %defattr(-,root,root,-)
  60. %{_bindir}/%{name}
  61. %{_datadir}/applications/%{name}.desktop
  62. %{_datadir}/%{name}/pixmaps/shot.png
  63. %{_datadir}/glib-2.0/schemas/org.gnome.baobab.gschema.xml
  64. %{_datadir}/icons/hicolor/*/*/*
  65. %{_mandir}/man1/%{name}.1.gz
  66. %changelog
  67. * Sun Sep 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1
  68. - new upstream release
  69. - remove old patches and required packages
  70. * Sat Sep 06 2008 Shu KONNO <owa@bg.wakwak.com> 2.4.2-1vl5
  71. - applied new versioning policy, spec in utf-8
  72. * Fri Jan 26 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.4.2-0vl2
  73. - add patch1; workaround to fix non utf-8 character encoding.
  74. - add patch2 to update ja.po.
  75. - coorrectly handle gconf scheme at post & preun.
  76. * Sun Sep 24 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.4.2-0vl1
  77. - initial build for Vine Linux