|
|
f61cae |
%global gtk3_version 3.13.2
|
|
|
f61cae |
|
|
|
531c4f |
Name: baobab
|
|
|
f61cae |
Version: 3.14.1
|
|
|
f61cae |
Release: 5%{?dist}
|
|
|
531c4f |
Summary: A graphical directory tree analyzer
|
|
|
531c4f |
|
|
|
531c4f |
Group: Applications/System
|
|
|
531c4f |
License: GPLv2+ and GFDL
|
|
|
531c4f |
URL: https://live.gnome.org/Baobab
|
|
|
f61cae |
Source0: http://download.gnome.org/sources/baobab/3.14/%{name}-%{version}.tar.xz
|
|
|
f61cae |
|
|
|
f61cae |
# https://bugzilla.redhat.com/show_bug.cgi?id=1174557
|
|
|
f61cae |
Patch0: baobab-3.14.2-Translation-updates.patch
|
|
|
f61cae |
Patch1: baobab-translations-3.14.patch
|
|
|
f61cae |
Patch2: baobab-3.14.2-Exclude-mountpoints-when-handling-cmd-args.patch
|
|
|
f61cae |
# https://bugzilla.redhat.com/show_bug.cgi?id=1233656
|
|
|
f61cae |
Patch3: baobab-3.14.2-Fix-context-menu-items-sensitivity.patch
|
|
|
f61cae |
Patch4: baobab-3.14.2-Fix-Zoom-out-item-sensitivity-for-treemap-chart.patch
|
|
|
f61cae |
# https://bugzilla.redhat.com/show_bug.cgi?id=840427
|
|
|
f61cae |
Patch5: baobab-3.17.90-Exclude-mounts-when-scanning-recent-locations.patch
|
|
|
531c4f |
|
|
|
531c4f |
BuildRequires: chrpath
|
|
|
531c4f |
BuildRequires: gobject-introspection-devel
|
|
|
f61cae |
BuildRequires: gtk3-devel >= %{gtk3_version}
|
|
|
531c4f |
BuildRequires: libgtop2-devel
|
|
|
531c4f |
BuildRequires: intltool
|
|
|
531c4f |
BuildRequires: desktop-file-utils
|
|
|
531c4f |
BuildRequires: itstool
|
|
|
531c4f |
BuildRequires: vala-tools
|
|
|
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
|
|
|
f61cae |
%patch0 -p1 -b .translation-updates
|
|
|
f61cae |
%patch1 -p1 -b .translation-updates2
|
|
|
f61cae |
%patch2 -p1 -b .exclude-mountpoints
|
|
|
f61cae |
%patch3 -p1
|
|
|
f61cae |
%patch4 -p1
|
|
|
f61cae |
%patch5 -p1 -b .exclude-mountpoints-recent
|
|
|
531c4f |
|
|
|
531c4f |
|
|
|
531c4f |
%build
|
|
|
531c4f |
%configure
|
|
|
531c4f |
make %{?_smp_mflags}
|
|
|
531c4f |
|
|
|
531c4f |
|
|
|
531c4f |
%install
|
|
|
531c4f |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
531c4f |
|
|
|
531c4f |
chrpath --delete $RPM_BUILD_ROOT%{_bindir}/baobab
|
|
|
531c4f |
|
|
|
531c4f |
%find_lang %{name} --with-gnome
|
|
|
531c4f |
|
|
|
531c4f |
|
|
|
f61cae |
%check
|
|
|
f61cae |
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.baobab.desktop
|
|
|
f61cae |
|
|
|
f61cae |
|
|
|
531c4f |
%post
|
|
|
531c4f |
for d in hicolor HighContrast ; do
|
|
|
531c4f |
touch --no-create %{_datadir}/icons/$d >&/dev/null || :
|
|
|
531c4f |
done
|
|
|
531c4f |
|
|
|
531c4f |
|
|
|
531c4f |
%postun
|
|
|
531c4f |
if [ $1 -eq 0 ]; then
|
|
|
531c4f |
glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null || :
|
|
|
531c4f |
for d in hicolor HighContrast ; do
|
|
|
531c4f |
touch --no-create %{_datadir}/icons/$d >&/dev/null || :
|
|
|
531c4f |
gtk-update-icon-cache %{_datadir}/icons/$d >&/dev/null || :
|
|
|
531c4f |
done
|
|
|
531c4f |
fi
|
|
|
531c4f |
|
|
|
531c4f |
|
|
|
531c4f |
%posttrans
|
|
|
531c4f |
glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null || :
|
|
|
531c4f |
for d in hicolor HighContrast ; do
|
|
|
531c4f |
gtk-update-icon-cache %{_datadir}/icons/$d >&/dev/null || :
|
|
|
531c4f |
done
|
|
|
531c4f |
|
|
|
531c4f |
|
|
|
531c4f |
%files -f %{name}.lang
|
|
|
531c4f |
%doc AUTHORS COPYING NEWS README 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
|
|
|
531c4f |
%{_datadir}/icons/HighContrast/*/apps/baobab.png
|
|
|
531c4f |
%{_datadir}/glib-2.0/schemas/org.gnome.baobab.gschema.xml
|
|
|
531c4f |
%{_mandir}/man1/baobab.1.gz
|
|
|
531c4f |
|
|
|
531c4f |
%changelog
|
|
|
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
|