xfce4-mount-plugin-vl.spec 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. Name: xfce4-mount-plugin
  2. Summary: Mount/unmount plugin for the Xfce4 panel
  3. Summary(ja): Xfce パネル用 マウント/アンマウントプラグイン
  4. Version: 0.6.7
  5. Release: 1%{?_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" shipped with KDE.
  19. %description -l ja
  20. この小さなプラグインは KDE に同梱されている「kwikdisk - リムーバブルメディアユーティリティ」のような動作をします。
  21. %prep
  22. %setup -q
  23. %build
  24. %configure --disable-static
  25. make %{?_smp_mflags}
  26. %install
  27. rm -rf $RPM_BUILD_ROOT
  28. make install DESTDIR=$RPM_BUILD_ROOT
  29. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  30. %find_lang %{name}
  31. %clean
  32. rm -rf $RPM_BUILD_ROOT
  33. %post
  34. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  35. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  36. %postun
  37. if [ $1 -eq 0 ]; then
  38. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  39. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  40. fi
  41. %files -f %{name}.lang
  42. %defattr(-,root,root)
  43. %doc AUTHORS COPYING ChangeLog NEWS README
  44. %{_libdir}/xfce4/panel/plugins/libmount.so
  45. %{_datadir}/icons/hicolor/*/apps/*
  46. %{_datadir}/xfce4/panel/plugins/%{name}.desktop
  47. %changelog
  48. * Sun Dec 21 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.6.7-1
  49. - new upstream release
  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