thunar-volman-vl.spec 2.5 KB

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