[521] | 1 | %define name baobab |
---|
[7938] | 2 | %define version 3.10.1 |
---|
[521] | 3 | %define release 1%{?_dist_release} |
---|
| 4 | |
---|
| 5 | Summary: A graphical disk usage analyzer |
---|
| 6 | Summary(ja): グラフィカルなハードディスク使用量の分析ツール |
---|
| 7 | Name: %{name} |
---|
| 8 | Version: %{version} |
---|
| 9 | Release: %{release} |
---|
[7938] | 10 | Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.10/%{name}-%{version}.tar.xz |
---|
[6890] | 11 | License: GPLv2+ |
---|
[521] | 12 | Group: User Interface/Desktops |
---|
[6890] | 13 | URL: http://www.gnome.org |
---|
[521] | 14 | |
---|
[6890] | 15 | BuildRequires: gtk3-devel |
---|
| 16 | BuildRequires: itstool |
---|
[6951] | 17 | BuildRequires: vala-tools |
---|
[6890] | 18 | |
---|
| 19 | Requires(postun,posttrans): glib2 |
---|
| 20 | Requires(postun,posttrans): desktop-file-utils |
---|
| 21 | |
---|
[521] | 22 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 23 | |
---|
[6890] | 24 | Vendor: Project Vine |
---|
| 25 | Distribution: Vine Linux |
---|
| 26 | Packager: Takemikaduchi |
---|
[521] | 27 | |
---|
| 28 | %description |
---|
| 29 | A graphical tool to analyse disk usage in local and remote filesystems. |
---|
| 30 | |
---|
| 31 | Baobab is able to scan either specific directories (local or remote) or |
---|
| 32 | the whole filesystem, in order to give the user a graphical tree repre- |
---|
| 33 | sentation including each directory size or percentage in the branch. |
---|
| 34 | It also includes a complete file-search functionality and auto-detects |
---|
| 35 | in real-time any changes made to your home directory as far as any |
---|
| 36 | mounted/unmounted device. |
---|
| 37 | |
---|
| 38 | %description -l ja |
---|
| 39 | ローカル及びリモートファイルシステムの、ハードディスク使用量をグラフィ |
---|
| 40 | カルに分析するツールです。 |
---|
| 41 | |
---|
| 42 | Baobab は、各ディレクトリのサイズと使用量をグラフィカルに表示する為に、 |
---|
| 43 | 指定したディレクトリ(ローカルまたはリモート)やファイルシステム全体を |
---|
| 44 | スキャンできます。また完全なファイル検索機能や、ホームディレクトリへの |
---|
| 45 | 変更をリアルタイムに自動で検出する機能も含んでいます。 |
---|
| 46 | |
---|
| 47 | |
---|
| 48 | %prep |
---|
| 49 | |
---|
| 50 | %setup -q |
---|
| 51 | |
---|
| 52 | %build |
---|
| 53 | %configure |
---|
[6890] | 54 | make %{?_smp_mflags} |
---|
[521] | 55 | |
---|
| 56 | |
---|
| 57 | %install |
---|
[6890] | 58 | rm -rf $RPM_BUILD_ROOT |
---|
[521] | 59 | |
---|
[6890] | 60 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
[521] | 61 | |
---|
[6951] | 62 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
| 63 | |
---|
[6890] | 64 | %find_lang %{name} --all-name --with-gnome |
---|
[521] | 65 | |
---|
| 66 | |
---|
| 67 | %clean |
---|
[6890] | 68 | rm -rf ${RPM_BUILD_ROOT} |
---|
[521] | 69 | |
---|
| 70 | |
---|
| 71 | %post |
---|
[6890] | 72 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
[521] | 73 | |
---|
[6890] | 74 | %postun |
---|
| 75 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 76 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 77 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
| 78 | update-desktop-database -q &> /dev/null ||: |
---|
[521] | 79 | |
---|
[6890] | 80 | %posttrans |
---|
| 81 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
| 82 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 83 | update-desktop-database -q &> /dev/null ||: |
---|
[521] | 84 | |
---|
| 85 | |
---|
| 86 | %files -f %{name}.lang |
---|
[6890] | 87 | %defattr(-,root,root,-) |
---|
| 88 | %{_bindir}/%{name} |
---|
[7938] | 89 | %{_datadir}/appdata/baobab.appdata.xml |
---|
[6890] | 90 | %{_datadir}/applications/%{name}.desktop |
---|
| 91 | %{_datadir}/glib-2.0/schemas/org.gnome.baobab.gschema.xml |
---|
| 92 | %{_datadir}/icons/hicolor/*/*/* |
---|
[7633] | 93 | %{_datadir}/icons/HighContrast/*/*/* |
---|
[6890] | 94 | %{_mandir}/man1/%{name}.1.gz |
---|
[521] | 95 | |
---|
| 96 | %changelog |
---|
[7938] | 97 | * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1 |
---|
| 98 | - new upstream release |
---|
| 99 | |
---|
[7681] | 100 | * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.2-1 |
---|
| 101 | - new upstream release |
---|
| 102 | |
---|
[7633] | 103 | * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1 |
---|
| 104 | - new upstream release |
---|
| 105 | |
---|
[7327] | 106 | * Sun Jan 13 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.4-1 |
---|
| 107 | - new upstream release |
---|
| 108 | |
---|
[7283] | 109 | * Fri Nov 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.3-1 |
---|
| 110 | - new upstream release |
---|
| 111 | |
---|
[6951] | 112 | * Wed Oct 17 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.2-1 |
---|
| 113 | - new upstream release |
---|
| 114 | - add BuildRequires: vala-tools |
---|
| 115 | |
---|
[6890] | 116 | * Sun Sep 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1 |
---|
| 117 | - new upstream release |
---|
| 118 | - remove old patches and required packages |
---|
| 119 | |
---|
[521] | 120 | * Sat Sep 06 2008 Shu KONNO <owa@bg.wakwak.com> 2.4.2-1vl5 |
---|
| 121 | - applied new versioning policy, spec in utf-8 |
---|
| 122 | |
---|
| 123 | * Fri Jan 26 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.4.2-0vl2 |
---|
| 124 | - add patch1; workaround to fix non utf-8 character encoding. |
---|
| 125 | - add patch2 to update ja.po. |
---|
| 126 | - coorrectly handle gconf scheme at post & preun. |
---|
| 127 | |
---|
| 128 | * Sun Sep 24 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.4.2-0vl1 |
---|
| 129 | - initial build for Vine Linux |
---|