879696
%global gtk3_version 3.19.1
879696
879696
Name:           baobab
879696
Version:        3.28.0
879696
Release:        2%{?dist}
879696
Summary:        A graphical directory tree analyzer
879696
879696
License:        GPLv2+ and GFDL
879696
URL:            https://wiki.gnome.org/Apps/Baobab
879696
Source0:        https://download.gnome.org/sources/baobab/3.28/%{name}-%{version}.tar.xz
879696
879696
Patch0:         build-Fix-setting-GNOMELOCALEDIR.patch
879696
Patch1:         build-Install-also-24x24-icons.patch
879696
Patch2:         build-Fix-gschema-translations.patch
879696
879696
BuildRequires:  pkgconfig(gtk+-3.0) >= %{gtk3_version}
879696
BuildRequires:  /usr/bin/appstream-util
879696
BuildRequires:  desktop-file-utils
879696
BuildRequires:  gettext
879696
BuildRequires:  itstool
879696
BuildRequires:  meson
879696
BuildRequires:  vala
879696
879696
Requires: gtk3%{?_isa} >= %{gtk3_version}
879696
879696
Obsoletes: gnome-utils < 1:3.3
879696
Obsoletes: gnome-utils-devel < 1:3.3
879696
Obsoletes: gnome-utils-libs < 1:3.3
879696
879696
%description
879696
Baobab is able to scan either specific directories or the whole filesystem, in
879696
order to give the user a graphical tree representation including each
879696
directory size or percentage in the branch.  It also auto-detects in real-time
879696
any change made to your home folder as far as any mounted/unmounted device.
879696
879696
%prep
879696
%setup -q
879696
%patch0 -p1 -b .build-Fix-setting-GNOMELOCALEDIR
879696
%patch1 -p1 -b .build-Install-also-24x24-icons
879696
%patch2 -p1 -b .build-Fix-gschema-translations
879696
879696
879696
%build
879696
%meson
879696
%meson_build
879696
879696
879696
%install
879696
%meson_install
879696
879696
%find_lang %{name} --with-gnome
879696
879696
879696
%check
879696
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/org.gnome.baobab.appdata.xml
879696
desktop-file-validate %{buildroot}/%{_datadir}/applications/org.gnome.baobab.desktop
879696
879696
879696
%post
879696
touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
879696
879696
879696
%postun
879696
if [ $1 -eq 0 ]; then
879696
  glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null || :
879696
  touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
879696
  gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
879696
fi
879696
879696
879696
%posttrans
879696
glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null || :
879696
gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
879696
879696
879696
%files -f %{name}.lang
879696
%doc AUTHORS NEWS README
879696
%license COPYING COPYING.docs
879696
%{_bindir}/baobab
879696
%{_datadir}/applications/org.gnome.baobab.desktop
879696
%{_datadir}/dbus-1/services/org.gnome.baobab.service
879696
%{_datadir}/icons/hicolor/*/apps/baobab.png
879696
%{_datadir}/icons/hicolor/symbolic/apps/baobab-symbolic.svg
879696
%{_datadir}/glib-2.0/schemas/org.gnome.baobab.gschema.xml
879696
%{_datadir}/metainfo/org.gnome.baobab.appdata.xml
879696
%{_mandir}/man1/baobab.1*
879696
879696
879696
%changelog
879696
* Fri Jun 22 2018 Ondrej Holy <oholy@redhat.com> - 3.28.0-2
879696
- Install also 24x24 icons
879696
- Fix gschema translations
879696
- Resolves: #1567161
879696
879696
* Mon Mar 12 2018 Kalev Lember <klember@redhat.com> - 3.28.0-1
879696
- Update to 3.28.0
879696
- Fix setting GNOMELOCALEDIR
879696
- Resolves: #1567161
879696
879696
* Thu Feb 16 2017 Ondrej Holy <oholy@redhat.com> - 3.22.1-1
879696
- Update to 3.22.1
879696
- Resolves: #1386818
879696
879696
* Fri Sep 11 2015 Ondrej Holy <oholy@redhat.com> - 3.14.1-5
879696
- Exclude mountpoints when scanning recent locations
879696
- Resolves: #840427
879696
879696
* Tue Jul 28 2015 David King <dking@redhat.com> - 3.14.1-4
879696
- Fix menu item sensitivity (#1233656)
879696
879696
* Fri May 15 2015 Ondrej Holy <oholy@redhat.com> - 3.14.1-3
879696
- Exclude mountpoints when handling commandline arguments
879696
- Resolves: #840427
879696
879696
* Fri May 15 2015 Ondrej Holy <oholy@redhat.com> - 3.14.1-2
879696
- Add translation updates from translation team
879696
- Resolves: #1174557
879696
879696
* Tue May 5 2015 Ondrej Holy <oholy@redhat.com> - 3.14.1-1
879696
- Update to 3.14.1
879696
- Remove obsolete upstream patch
879696
- Add translations updates from upstream
879696
- Resolves: #1174557
879696
879696
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 3.8.2-4
879696
- Mass rebuild 2014-01-24
879696
879696
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 3.8.2-3
879696
- Mass rebuild 2013-12-27
879696
879696
* Fri Dec 6 2013 Ondrej Holy <oholy@redhat.com> - 3.8.2-2
879696
- Translation updates (#1030317)
879696
879696
* Mon May 13 2013 Richard Hughes <rhughes@redhat.com> - 3.8.2-1
879696
- Update to 3.8.2
879696
879696
* Mon Apr 15 2013 Kalev Lember <kalevlember@gmail.com> - 3.8.1-1
879696
- Update to 3.8.1
879696
879696
* Tue Mar 26 2013 Kalev Lember <kalevlember@gmail.com> - 3.8.0-1
879696
- Update to 3.8.0
879696
879696
* Wed Mar 20 2013 Kalev Lember <kalevlember@gmail.com> - 3.7.92-1
879696
- Update to 3.7.92
879696
879696
* Wed Mar  6 2013 Matthias Clasen <mclasen@redhat.com> - 3.7.91-1
879696
- Update to 3.7.91
879696
879696
* Fri Feb 22 2013 Kalev Lember <kalevlember@gmail.com> - 3.7.90-1
879696
- Update to 3.7.90
879696
- Install HighContrast icons and update the rpm scriptlets for the icon cache
879696
879696
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.7.4-2
879696
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
879696
879696
* Wed Jan 16 2013 Richard Hughes <hughsient@gmail.com> - 3.7.4-1
879696
- Update to 3.7.4
879696
879696
* Thu Nov 15 2012 Kalev Lember <kalevlember@gmail.com> - 3.6.3-1
879696
- Update to 3.6.3
879696
- Remove an unwanted lib64 rpath
879696
879696
* Wed Nov 14 2012 Tomas Bzatek <tbzatek@redhat.com> - 3.6.2-2
879696
- Fix homepage URL
879696
879696
* Wed Oct 17 2012 Kalev Lember <kalevlember@gmail.com> - 3.6.2-1
879696
- Update to 3.6.2
879696
879696
* Tue Oct 16 2012 Kalev Lember <kalevlember@gmail.com> - 3.6.1-1
879696
- Update to 3.6.1
879696
879696
* Tue Sep 25 2012 Richard Hughes <hughsient@gmail.com> - 3.6.0-1
879696
- Update to 3.6.0
879696
879696
* Wed Sep 19 2012 Richard Hughes <hughsient@gmail.com> - 3.5.92-1
879696
- Update to 3.5.92
879696
879696
* Tue Sep 04 2012 Richard Hughes <hughsient@gmail.com> - 3.5.91-1
879696
- Update to 3.5.91
879696
879696
* Tue Aug 21 2012 Richard Hughes <hughsient@gmail.com> - 3.5.90-1
879696
- Update to 3.5.90
879696
879696
* Tue Aug 07 2012 Richard Hughes <hughsient@gmail.com> - 3.5.5-1
879696
- Update to 3.5.5
879696
879696
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.5.3-2
879696
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
879696
879696
* Mon Jun 25 2012 Richard Hughes <hughsient@gmail.com> - 3.5.3-1
879696
- Update to 3.5.3
879696
879696
* Tue Apr 24 2012 Kalev Lember <kalevlember@gmail.com> - 3.4.1-2
879696
- Silence glib-compile-schemas output
879696
879696
* Mon Apr 16 2012 Richard Hughes <hughsient@gmail.com> - 3.4.1-1
879696
- Update to 3.4.1
879696
879696
* Tue Mar 27 2012 Rui Matos <rmatos@redhat.com> - 3.4.0-1
879696
- Update to 3.4.0
879696
879696
* Wed Mar 21 2012 Kalev Lember <kalevlember@gmail.com> - 3.3.4-1
879696
- Update to 3.3.4
879696
879696
* Sat Mar 17 2012 Matthias Clasen <mclasen@redhat.com> - 3.3.3-3
879696
- Don't obsolete gnome-system-log
879696
879696
* Fri Mar 16 2012 Rui Matos <rmatos@redhat.com> - 3.3.3-2
879696
- Obsolete all gnome-utils subpackages
879696
879696
* Mon Mar 12 2012 Rui Matos <rmatos@redhat.com> - 3.3.3-1
879696
- Update to 3.3.3
879696
- Just list %%{_datadir}/help/xx_YY/baobab in %%files since %%find_lang
879696
  doesn't find those for us
879696
879696
* Mon Mar  5 2012 Rui Matos <rmatos@redhat.com> - 3.3.2-1
879696
- Update to 3.3.2
879696
879696
* Tue Dec 27 2011 Matthias Clasen <mclasen@redhat.com> - 3.3.1-1
879696
- Initial packaging