xfce4-mount-plugin-vl.spec 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. Name: xfce4-mount-plugin
  2. Summary: Mount/unmount plugin for the Xfce4 panel
  3. Summary(ja): Xfce パネル用 マウント/アンマウントプラグイン
  4. Version: 0.6.4
  5. Release: 2%{?_dist_release}
  6. Group: User Interface/Desktops
  7. License: GPLv2+
  8. URL: http://goodies.xfce.org/projects/panel-plugins/%{name}
  9. Source0: http://archive.xfce.org/src/panel-plugins/%{name}/0.6/%{name}-%{version}.tar.bz2
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: libxfce4util-devel >= 4.8.0
  12. BuildRequires: libxfce4ui-devel >= 4.8.0
  13. BuildRequires: xfce4-panel-devel >= 4.8.0
  14. Vendor: Project Vine
  15. Distribution: Vine Linux
  16. Packager: Takemikaduchi
  17. %description
  18. This little plugin behaves like the "kwikdisk - removable media utility"
  19. shipped with KDE.
  20. %description -l ja
  21. この小さなプラグインは KDE に同梱されている「kwikdisk - リムーバブル
  22. メディアユーティリティ」のような動作をします。
  23. %prep
  24. %setup -q
  25. %build
  26. %configure --disable-static
  27. make %{?_smp_mflags}
  28. %install
  29. rm -rf $RPM_BUILD_ROOT
  30. make install DESTDIR=$RPM_BUILD_ROOT
  31. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  32. %find_lang %{name}
  33. %clean
  34. rm -rf $RPM_BUILD_ROOT
  35. %post
  36. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  37. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  38. %postun
  39. if [ $1 -eq 0 ]; then
  40. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  41. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  42. fi
  43. %files -f %{name}.lang
  44. %defattr(-,root,root)
  45. %doc AUTHORS COPYING ChangeLog NEWS README
  46. %{_libdir}/xfce4/panel/plugins/libmount.so
  47. %{_datadir}/icons/hicolor/*/apps/*
  48. %{_datadir}/xfce4/panel/plugins/%{name}.desktop
  49. %changelog
  50. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.4-2
  51. - rebuild with VineSeed environment
  52. * Thu Jun 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.4-1
  53. - initial build for Vine Linux