baobab-vl.spec 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. %define name baobab
  2. %define version 3.10.1
  3. %define release 2%{?_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.10/%{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}/appdata/baobab.appdata.xml
  64. %{_datadir}/applications/%{name}.desktop
  65. %{_datadir}/glib-2.0/schemas/org.gnome.baobab.gschema.xml
  66. %{_datadir}/icons/hicolor/*/*/*
  67. %{_datadir}/icons/HighContrast/*/*/*
  68. %{_mandir}/man1/%{name}.1.gz
  69. %changelog
  70. * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-2
  71. - rebuild with VineSeed environment
  72. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1
  73. - new upstream release
  74. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.2-1
  75. - new upstream release
  76. * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1
  77. - new upstream release
  78. * Sun Jan 13 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.4-1
  79. - new upstream release
  80. * Fri Nov 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.3-1
  81. - new upstream release
  82. * Wed Oct 17 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.2-1
  83. - new upstream release
  84. - add BuildRequires: vala-tools
  85. * Sun Sep 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1
  86. - new upstream release
  87. - remove old patches and required packages
  88. * Sat Sep 06 2008 Shu KONNO <owa@bg.wakwak.com> 2.4.2-1vl5
  89. - applied new versioning policy, spec in utf-8
  90. * Fri Jan 26 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.4.2-0vl2
  91. - add patch1; workaround to fix non utf-8 character encoding.
  92. - add patch2 to update ja.po.
  93. - coorrectly handle gconf scheme at post & preun.
  94. * Sun Sep 24 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.4.2-0vl1
  95. - initial build for Vine Linux