1 |
%define url_ver %(echo %{version}|cut -d. -f1,2) |
2 |
|
3 |
Name: baobab |
4 |
Version: 3.30.0 |
5 |
Release: %mkrel 1 |
6 |
Summary: Disk Usage Analyzer (aka Baobab) |
7 |
License: GPLv2+ |
8 |
Group: File tools |
9 |
Url: https://wiki.gnome.org/GnomeUtils/Baobab |
10 |
Source0: https://download.gnome.org/sources/%{name}/%{url_ver}/%{name}-%{version}.tar.xz |
11 |
BuildRequires: itstool |
12 |
BuildRequires: intltool |
13 |
BuildRequires: pkgconfig(gnome-doc-utils) |
14 |
BuildRequires: pkgconfig(glib-2.0) |
15 |
BuildRequires: pkgconfig(gtk+-3.0) |
16 |
BuildRequires: pkgconfig(gobject-introspection-1.0) |
17 |
BuildRequires: pkgconfig(libgtop-2.0) |
18 |
BuildRequires: vala |
19 |
BuildRequires: meson |
20 |
|
21 |
%description |
22 |
Disk Usage Analyzer is is a graphical, menu-driven application to analyze |
23 |
disk usage in any Gnome environment. Disk Usage Analyzer can easily scan |
24 |
either the whole file-system tree, or a specific user-requested directory |
25 |
branch (local or remote). |
26 |
|
27 |
It also auto-detects in real-time any changes made to your home directory |
28 |
as far as any mounted/unmounted device. Disk Usage Analyzer also provides |
29 |
a full graphical tree-map window for each selected folder. |
30 |
|
31 |
%prep |
32 |
%setup -q |
33 |
|
34 |
%build |
35 |
%meson |
36 |
%meson_build |
37 |
|
38 |
%install |
39 |
%meson_install |
40 |
|
41 |
#we don't want these |
42 |
find %{buildroot} -name '*.la' -delete |
43 |
|
44 |
%find_lang %{name} --with-gnome |
45 |
|
46 |
%check |
47 |
%meson_test |
48 |
|
49 |
%files -f %{name}.lang |
50 |
%doc README NEWS AUTHORS |
51 |
%{_bindir}/%{name} |
52 |
%{_datadir}/metainfo/org.gnome.baobab.appdata.xml |
53 |
%{_datadir}/glib-2.0/schemas/org.gnome.%{name}.gschema.xml |
54 |
%{_datadir}/applications/org.gnome.%{name}.desktop |
55 |
%{_datadir}/dbus-1/services/org.gnome.%{name}.service |
56 |
%{_datadir}/icons/*/*/apps/%{name}*.* |
57 |
%{_mandir}/man1/%{name}.1* |