bbsload-vl.spec 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. %define version 0.2.5
  2. %define release 0vl1
  3. Name: bbsload
  4. Version: %{version}
  5. Release: %{release}
  6. Group: User Interface/Desktops
  7. Source0: http://bbtools.thelinuxcommunity.org/sources/bbsload-%{version}.tar.gz
  8. Url: http://bbtools.thelinuxcommunity.org/available.phtml#bbsload
  9. BuildRoot: %{_tmppath}/%{name}-root
  10. Prefix: /usr
  11. Copyright: GPL2
  12. Summary: bbsload - A small (in dimensions) tool to display the average load.
  13. %description
  14. This Tool displays (in gauge or label):
  15. - the average load over the last 1,5 and 10 minutes
  16. - the number of running tasks (label only)
  17. - total task (label only)
  18. - part of memory used (used memory : total memory)
  19. - part of swap used (used swap : total swap)
  20. - part of total memory used (used swap + memory : total swap + memory)
  21. - cpu load (system, idle nice and user)
  22. Support for multiple color in gauge.
  23. Support for Blackox Slit.
  24. This program is written to be used with Blackbox,
  25. but it works in any other X11-Windowmanager.
  26. %prep
  27. rm -rf ${RPM_BUILD_ROOT}
  28. %setup -q
  29. %build
  30. ./configure --prefix=${RPM_BUILD_ROOT}%{prefix}
  31. make datadir=%{prefix}/share
  32. %install
  33. mkdir -p ${RPM_BUILD_ROOT}
  34. make install
  35. %clean
  36. rm -rf ${RPM_BUILD_ROOT}
  37. %files
  38. %defattr(-,root,root)
  39. %doc AUTHORS BUGS ChangeLog COPYING INSTALL NEWS README TODO
  40. %{prefix}/share/bbtools/README.bbsload
  41. %{prefix}/share/bbtools/bbsload.bb
  42. %{prefix}/share/bbtools/bbsload.nobb
  43. %{_bindir}/bbsload
  44. %changelog
  45. * Sat Jul 28 2001 IWAI, Masaharu <iwaim@cc.mbn.or.jp>
  46. - 0.2.5-0vl1
  47. - first release for 0.2.5