xfce4-fsguard-plugin-vl.spec 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. Name: xfce4-fsguard-plugin
  2. Summary: Free space checker plugin for the Xfce4 panel
  3. Summary(ja): Xfce パネル用 空き容量チェッカプラグイン
  4. Version: 1.0.1
  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}/1.0/%{name}-%{version}.tar.bz2
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: gtk2-devel >= 2.20.0
  12. BuildRequires: libxfce4ui-devel >= 4.8.0
  13. BuildRequires: libxfce4util-devel >= 4.8.0
  14. BuildRequires: xfce4-panel-devel >= 4.8.0
  15. Vendor: Project Vine
  16. Distribution: Vine Linux
  17. Packager: Takemikaduchi
  18. %description
  19. The FSGuard panel plugin checks free space on a chosen mount point
  20. frequently and displays a message when a limit is reached. There are
  21. two limits: a warning limit where only the icon changes, and an urgent
  22. limit that advise the user with a message. The icon button can be
  23. clicked to open the chosen mount point.
  24. %prep
  25. %setup -q
  26. %build
  27. %configure --disable-static
  28. make %{?_smp_mflags}
  29. %install
  30. rm -rf $RPM_BUILD_ROOT
  31. make install DESTDIR=$RPM_BUILD_ROOT
  32. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  33. %find_lang %{name}
  34. %clean
  35. rm -rf $RPM_BUILD_ROOT
  36. %post
  37. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  38. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  39. %postun
  40. if [ $1 -eq 0 ]; then
  41. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  42. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  43. fi
  44. %files -f %{name}.lang
  45. %defattr(-,root,root)
  46. %doc AUTHORS COPYING ChangeLog NEWS README
  47. %{_libdir}/xfce4/panel/plugins/*.so
  48. %{_datadir}/icons/hicolor/*/apps/*
  49. %{_datadir}/xfce4/panel/plugins/*.desktop
  50. %changelog
  51. * Sun Dec 21 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.0.1-1
  52. - new upstream release
  53. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.0-2
  54. - rebuild with VineSeed environment
  55. * Thu Jun 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.0-1
  56. - initial build for Vine Linux