baobab/baobab.spec

99 lines
2.6 KiB
RPMSpec
Raw Normal View History

2012-03-12 14:34:00 +00:00
Name: baobab
2012-04-16 08:00:11 +00:00
Version: 3.4.1
2012-03-20 23:28:58 +00:00
Release: 1%{?dist}
2012-03-12 14:34:00 +00:00
Summary: A graphical directory tree analyzer
Group: Applications/System
License: GPLv2+ and GFDL
URL: https://live.gnome.org/GnomeUtils/Baobab
2012-03-27 08:31:39 +00:00
Source0: http://download.gnome.org/sources/baobab/3.4/%{name}-%{version}.tar.xz
2012-03-12 14:34:00 +00:00
BuildRequires: gtk3-devel
BuildRequires: libgtop2-devel
BuildRequires: intltool
BuildRequires: gnome-doc-utils
BuildRequires: desktop-file-utils
BuildRequires: itstool
2012-03-16 13:45:12 +00:00
Obsoletes: gnome-utils < 1:3.3
Obsoletes: gnome-utils-devel < 1:3.3
Obsoletes: gnome-utils-libs < 1:3.3
2012-03-12 14:34:00 +00:00
%description
Baobab is able to scan either specific directories or the whole filesystem, in
order to give the user a graphical tree representation including each
directory size or percentage in the branch. It also auto-detects in real-time
any change made to your home folder as far as any mounted/unmounted device.
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/baobab.desktop
%find_lang %{name} --with-gnome
%post
touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
%postun
if [ $1 -eq 0 ]; then
touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
glib-compile-schemas %{_datadir}/glib-2.0/schemas || :
fi
%posttrans
gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
glib-compile-schemas %{_datadir}/glib-2.0/schemas || :
%files -f %{name}.lang
%doc AUTHORS COPYING NEWS README COPYING.docs
%{_bindir}/baobab
%{_datadir}/baobab
%{_datadir}/applications/baobab.desktop
2012-03-12 14:48:29 +00:00
%{_datadir}/help/??_??/baobab
2012-03-12 14:34:00 +00:00
%{_datadir}/icons/hicolor/*/apps/baobab.png
%{_datadir}/glib-2.0/schemas/org.gnome.baobab.gschema.xml
%{_mandir}/man1/baobab.1.gz
%changelog
2012-04-16 08:00:11 +00:00
* Mon Apr 16 2012 Richard Hughes <hughsient@gmail.com> - 3.4.1-1
- Update to 3.4.1
2012-03-27 08:31:39 +00:00
* Tue Mar 27 2012 Rui Matos <rmatos@redhat.com> - 3.4.0-1
- Update to 3.4.0
2012-03-20 23:28:58 +00:00
* Wed Mar 21 2012 Kalev Lember <kalevlember@gmail.com> - 3.3.4-1
- Update to 3.3.4
2012-03-17 23:26:40 +00:00
* Sat Mar 17 2012 Matthias Clasen <mclasen@redhat.com> - 3.3.3-3
- Don't obsolete gnome-system-log
2012-03-16 13:45:12 +00:00
* Fri Mar 16 2012 Rui Matos <rmatos@redhat.com> - 3.3.3-2
- Obsolete all gnome-utils subpackages
2012-03-12 14:48:29 +00:00
* Mon Mar 12 2012 Rui Matos <rmatos@redhat.com> - 3.3.3-1
- Update to 3.3.3
2012-03-16 13:45:12 +00:00
- Just list %%{_datadir}/help/xx_YY/baobab in %%files since %%find_lang
2012-03-12 14:48:29 +00:00
doesn't find those for us
2012-03-12 14:34:00 +00:00
* Mon Mar 5 2012 Rui Matos <rmatos@redhat.com> - 3.3.2-1
- Update to 3.3.2
* Tue Dec 27 2011 Matthias Clasen <mclasen@redhat.com> - 3.3.1-1
- Initial packaging