From 2e8e7229fb519a39fb404744f99e82f5554cc114 Mon Sep 17 00:00:00 2001 From: Christoph Wickert Date: Dec 10 2007 23:27:55 +0000 Subject: - Update to 0.2.0 and Thunar 0.9.0 --- diff --git a/.cvsignore b/.cvsignore index d1a85d9..7421d4b 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -thunar-volman-0.1.2.tar.bz2 +thunar-volman-0.2.0.tar.bz2 diff --git a/sources b/sources index 9dde29d..cce1a4e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -910de35c398f70b66b38803bdfdd26f1 thunar-volman-0.1.2.tar.bz2 +e4587967fe3b3858d93735fee3edb2fc thunar-volman-0.2.0.tar.bz2 diff --git a/thunar-volman.spec b/thunar-volman.spec index 0d2cea4..e3083dd 100644 --- a/thunar-volman.spec +++ b/thunar-volman.spec @@ -1,8 +1,8 @@ -%define thunarver 0.8.0 +%define thunarver 0.9.0 Name: thunar-volman -Version: 0.1.2 -Release: 2%{?dist} +Version: 0.2.0 +Release: 1%{?dist} Summary: Automatic management of removable drives and media for the Thunar file manager Group: User Interface/Desktops @@ -15,6 +15,8 @@ BuildRequires: Thunar-devel >= 0.5.1 BuildRequires: hal-devel >= 0.5.0 BuildRequires: dbus-glib-devel >= 0.34 BuildRequires: gettext +BuildRequires: perl(XML::Parser) +BuildRequires: desktop-file-utils Requires: Thunar >= %{thunarver} %description @@ -24,6 +26,7 @@ thunar-volman is installed and configured properly, and you plug in your digital camera, it will automatically launch your preferred photo application and import the new pictures from the camera into your photo collection. + %prep %setup -q @@ -37,6 +40,13 @@ make %{?_smp_mflags} rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT %find_lang %{name} +desktop-file-install --vendor fedora \ + --dir ${RPM_BUILD_ROOT}%{_datadir}/applications \ + --remove-category=DesktopSettings \ + --add-category=HardwareSettings \ + --add-only-show-in=XFCE \ + --delete-original \ + ${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}-settings.desktop %post @@ -58,9 +68,14 @@ rm -rf $RPM_BUILD_ROOT %{_bindir}/thunar-volman %{_datadir}/icons/hicolor/48x48/apps/tvm-*.png %{_datadir}/icons/hicolor/scalable/apps/tvm-*.svg +%{_libexecdir}/thunar-volman-settings +%{_datadir}/applications/fedora-thunar-volman-settings.desktop %changelog +* Mon Dec 03 2007 Christoph Wickert - 0.2.0-1 +- Update to 0.2.0 and Thunar 0.9.0 + * Tue Aug 21 2007 Christoph Wickert - 0.1.2-2 - Rebuild for BuildID feature