thunar-volman-vl.spec 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. %global minorversion 0.8
  2. Name: thunar-volman
  3. Summary: Thunar extension for volume management
  4. Version: 0.8.0
  5. Release: 2%{?_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. Vendor: Project Vine
  20. Distribution: Vine Linux
  21. %description
  22. thunar-volman is an extension for the Thunar File Manager, which enables
  23. automatic management of removable drives and media. For example, if
  24. thunar-volman is installed and configured properly, and you plug in your
  25. digitcal camera, it will automatically spawn your preferred photo application
  26. and import the new pictures from your camera.
  27. %prep
  28. %setup -q
  29. %build
  30. %configure --disable-static
  31. make %{?_smp_mflags}
  32. %install
  33. rm -rf $RPM_BUILD_ROOT
  34. make install DESTDIR=$RPM_BUILD_ROOT
  35. %find_lang %{name}
  36. %clean
  37. rm -rf $RPM_BUILD_ROOT
  38. %post
  39. /sbin/ldconfig
  40. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  41. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  42. update-desktop-database %{_datadir}/applications &> /dev/null || :
  43. %postun
  44. /sbin/ldconfig
  45. if [ $1 -eq 0 ]; then
  46. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  47. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  48. fi
  49. update-desktop-database %{_datadir}/applications &> /dev/null || :
  50. %files -f %{name}.lang
  51. %defattr(-,root,root,-)
  52. %doc AUTHORS ChangeLog NEWS README
  53. %{_bindir}/thunar-volman
  54. %{_bindir}/thunar-volman-settings
  55. %{_datadir}/applications/thunar-volman-settings.desktop
  56. %{_datadir}/icons/hicolor/*/apps/*
  57. %changelog
  58. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.8.0-2
  59. - rebuild with VineSeed environment
  60. * Thu Jun 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.8.0-1
  61. - initial build for Vine Linux