thunar-volman-vl.spec 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. %global minorversion 0.8
  2. Name: thunar-volman
  3. Summary: Thunar extension for volume management
  4. Version: 0.8.0
  5. Release: 1%{?_dist_release}
  6. Group: User Interface/Desktops
  7. License: LGPLv2+
  8. URL: http://goodies.xfce.org/projects/thunar-plugins/thunar-volman
  9. Source0: http://archive.xfce.org/src/xfce/%{name}/%{minorversion}/%{name}-%{version}.tar.bz2
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: Thunar-devel >= 1.2.0
  12. BuildRequires: libexo-devel >= 0.8.0
  13. BuildRequires: glib2-devel >= 2.18.0
  14. BuildRequires: gtk2-devel >= 2.24.0
  15. BuildRequires: libgudev1-devel >= 145
  16. BuildRequires: libxfce4ui-devel >= 4.10.0
  17. BuildRequires: libxfce4util-devel >= 4.10.0
  18. BuildRequires: xfconf-devel >= 4.10.0
  19. %description
  20. thunar-volman is an extension for the Thunar File Manager, which enables
  21. automatic management of removable drives and media. For example, if
  22. thunar-volman is installed and configured properly, and you plug in your
  23. digitcal camera, it will automatically spawn your preferred photo application
  24. and import the new pictures from your camera.
  25. %prep
  26. %setup -q
  27. %build
  28. %configure --disable-static
  29. make %{?_smp_mflags}
  30. %install
  31. rm -rf $RPM_BUILD_ROOT
  32. make install DESTDIR=$RPM_BUILD_ROOT
  33. %find_lang %{name}
  34. %clean
  35. rm -rf $RPM_BUILD_ROOT
  36. %post
  37. /sbin/ldconfig
  38. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  39. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  40. update-desktop-database %{_datadir}/applications &> /dev/null || :
  41. %postun
  42. /sbin/ldconfig
  43. if [ $1 -eq 0 ]; then
  44. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  45. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  46. fi
  47. update-desktop-database %{_datadir}/applications &> /dev/null || :
  48. %files -f %{name}.lang
  49. %defattr(-,root,root,-)
  50. %doc AUTHORS ChangeLog NEWS README
  51. %{_bindir}/thunar-volman
  52. %{_bindir}/thunar-volman-settings
  53. %{_datadir}/applications/thunar-volman-settings.desktop
  54. %{_datadir}/icons/hicolor/*/apps/*
  55. %changelog
  56. * Thu Jun 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.8.0-1
  57. - initial build for Vine Linux