Blame SPECS/baobab.spec

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