baobab-vl.spec 3.4 KB

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