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