%define url_ver %(echo %{version}|cut -d. -f1,2) Name: baobab Version: 3.10 Release: %mkrel 1 Summary: Disk Usage Analyzer (aka Baobab) License: GPLv2+ Group: File tools Url: http://live.gnome.org/GnomeUtils/Baobab Source0: http://download.gnome.org/sources/%{name}/%{url_ver}/%{name}-%{version}.tar.xz BuildRequires: itstool BuildRequires: intltool BuildRequires: pkgconfig(gnome-doc-utils) BuildRequires: pkgconfig(glib-2.0) >= 2.36.0 BuildRequires: pkgconfig(gtk+-3.0) >= 3.8.0 BuildRequires: pkgconfig(libgtop-2.0) BuildRequires: vala-tools >= 0.20.1.41 BuildRequires: gobject-introspection-devel Conflicts: gnome-utils < 1:3.3.1 %description Disk Usage Analyzer is is a graphical, menu-driven application to analyze disk usage in any Gnome environment. Disk Usage Analyzer can easily scan either the whole file-system tree, or a specific user-requested directory branch (local or remote). It also auto-detects in real-time any changes made to your home directory as far as any mounted/unmounted device. Disk Usage Analyzer also provides a full graphical tree-map window for each selected folder. %prep %setup -q %build %configure2_5x %make %install %makeinstall_std #fix desktop file desktop-file-install \ --dir=%{buildroot}%{_datadir}/applications \ %{buildroot}%{_datadir}/applications/%{name}.desktop #we don't want these find %{buildroot} -name '*.la' -delete %find_lang %{name} --with-gnome --with-help %files -f %{name}.lang %doc README NEWS AUTHORS ChangeLog %{_bindir}/%{name} %{_datadir}/glib-2.0/schemas/org.gnome.%{name}.gschema.xml %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/*/*/apps/%{name}.png %{_datadir}/appdata/%{name}.*.* %{_datadir}/icons/hicolor/scalable/actions/view-*-symbolic.svg %{_mandir}/man1/%{name}.1.*