1 |
wally |
159574 |
%define url_ver %(echo %{version}|cut -d. -f1,2) |
2 |
|
|
|
3 |
|
|
Name: baobab |
4 |
ovitters |
212008 |
Version: 3.3.2 |
5 |
wally |
159574 |
Release: %mkrel 1 |
6 |
|
|
Summary: Disk Usage Analyzer (aka Baobab) |
7 |
|
|
License: GPLv2+ |
8 |
|
|
Group: File tools |
9 |
|
|
Url: http://live.gnome.org/GnomeUtils/Baobab |
10 |
|
|
Source0: http://download.gnome.org/sources/%{name}/%{url_ver}/%{name}-%{version}.tar.xz |
11 |
ovitters |
212028 |
BuildRequires: itstool |
12 |
ovitters |
212035 |
BuildRequires: intltool |
13 |
wally |
159574 |
BuildRequires: pkgconfig(gnome-doc-utils) |
14 |
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.30.0 |
15 |
|
|
BuildRequires: pkgconfig(gtk+-3.0) >= 3.0.0 |
16 |
|
|
BuildRequires: pkgconfig(libgtop-2.0) |
17 |
|
|
Conflicts: gnome-utils < 1:3.3.1 |
18 |
|
|
|
19 |
|
|
%description |
20 |
|
|
Disk Usage Analyzer is is a graphical, menu-driven application to analyze |
21 |
|
|
disk usage in any Gnome environment. Disk Usage Analyzer can easily scan |
22 |
|
|
either the whole file-system tree, or a specific user-requested directory |
23 |
|
|
branch (local or remote). |
24 |
|
|
|
25 |
|
|
It also auto-detects in real-time any changes made to your home directory |
26 |
|
|
as far as any mounted/unmounted device. Disk Usage Analyzer also provides |
27 |
|
|
a full graphical tree-map window for each selected folder. |
28 |
|
|
|
29 |
|
|
%prep |
30 |
|
|
%setup -q |
31 |
|
|
|
32 |
|
|
%build |
33 |
|
|
%configure2_5x |
34 |
|
|
%make |
35 |
|
|
|
36 |
|
|
%install |
37 |
|
|
rm -rf %{buildroot} |
38 |
|
|
%makeinstall_std |
39 |
|
|
|
40 |
|
|
%find_lang %{name} --with-gnome |
41 |
|
|
|
42 |
|
|
for omf in %{buildroot}%{_datadir}/omf/*/*-??*.omf;do |
43 |
|
|
echo "%lang($(basename $omf|sed -e s/.*-// -e s/.omf//)) $(echo $omf|sed -e s!%{buildroot}!!)" >> %{name}.lang |
44 |
|
|
done |
45 |
|
|
|
46 |
|
|
%files -f %{name}.lang |
47 |
|
|
%doc README NEWS AUTHORS TODO ChangeLog |
48 |
|
|
%{_bindir}/baobab |
49 |
|
|
%{_datadir}/baobab/ |
50 |
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.baobab.gschema.xml |
51 |
|
|
%{_datadir}/applications/baobab.desktop |
52 |
|
|
%{_datadir}/icons/hicolor/*/apps/baobab.png |
53 |
|
|
%{_mandir}/man1/baobab.1.* |
54 |
|
|
%dir %{_datadir}/omf/baobab/ |
55 |
|
|
%{_datadir}/omf/baobab/baobab-C.omf |
56 |
|
|
|