[baobab/f17] New packaging for gnome-utils split
rtcm
rtcm at fedoraproject.org
Mon Mar 12 15:33:49 UTC 2012
commit 5cfd92bedd4190021fd4eb98edc1f86788cdf2b5
Author: Rui Matos <rmatos at redhat.com>
Date: Mon Mar 12 15:34:00 2012 +0100
New packaging for gnome-utils split
.gitignore | 1 +
baobab.spec | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
dead.package | 1 -
sources | 1 +
4 files changed, 78 insertions(+), 1 deletions(-)
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..431a8be
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/baobab-3.3.2.tar.xz
diff --git a/baobab.spec b/baobab.spec
new file mode 100644
index 0000000..5a8cab9
--- /dev/null
+++ b/baobab.spec
@@ -0,0 +1,76 @@
+Name: baobab
+Version: 3.3.2
+Release: 1%{?dist}
+Summary: A graphical directory tree analyzer
+
+Group: Applications/System
+License: GPLv2+ and GFDL
+URL: https://live.gnome.org/GnomeUtils/Baobab
+Source0: http://download.gnome.org/sources/baobab/3.3/%{name}-%{version}.tar.xz
+
+BuildRequires: gtk3-devel
+BuildRequires: libgtop2-devel
+BuildRequires: intltool
+BuildRequires: gnome-doc-utils
+BuildRequires: desktop-file-utils
+BuildRequires: itstool
+
+Obsoletes: gnome-utils < 1:3.3.2-1
+
+%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
+%{_datadir}/help/*/baobab
+%{_datadir}/icons/hicolor/*/apps/baobab.png
+%{_datadir}/glib-2.0/schemas/org.gnome.baobab.gschema.xml
+%{_mandir}/man1/baobab.1.gz
+
+
+%changelog
+* Mon Mar 5 2012 Rui Matos <rmatos at redhat.com> - 3.3.2-1
+- Update to 3.3.2
+
+* Tue Dec 27 2011 Matthias Clasen <mclasen at redhat.com> - 3.3.1-1
+- Initial packaging
diff --git a/sources b/sources
new file mode 100644
index 0000000..aaa2891
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+635e05a1c06daf5acf64ff763d7647bb baobab-3.3.2.tar.xz
More information about the scm-commits
mailing list