xfce4-fsguard-plugin-vl.spec 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. Name: xfce4-fsguard-plugin
  2. Summary: Free space checker plugin for the Xfce4 panel
  3. Summary(ja): Xfce パネル用 空き容量チェッカプラグイン
  4. Version: 1.0.0
  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}/1.0/%{name}-%{version}.tar.bz2
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: libxfce4util-devel >= 4.4.0
  12. BuildRequires: libxfce4ui-devel >= 4.4.0
  13. BuildRequires: libxfcegui4-devel >= 4.4.0
  14. BuildRequires: xfce4-panel-devel >= 4.4.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. %{_libexecdir}/xfce4/panel-plugins/xfce4-fsguard-plugin
  48. %{_datadir}/icons/hicolor/*/apps/*
  49. %{_datadir}/xfce4/panel-plugins/fsguard.desktop
  50. %changelog
  51. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.0-2
  52. - rebuild with VineSeed environment
  53. * Thu Jun 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.0-1
  54. - initial build for Vine Linux