baobab-vl.spec 3.7 KB

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