bbapm-vl.spec 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. %define version 0.0.1
  2. %define release 0vl1
  3. Name: bbapm
  4. Version: %{version}
  5. Release: %{release}
  6. Group: User Interface/Desktops
  7. Source0: http://bbtools.thelinuxcommunity.org/sources/bbapm-%{version}.tar.gz
  8. Url: http://bbtools.thelinuxcommunity.org/contrib.phtml#bbapm
  9. BuildRoot: %{_tmppath}/%{name}-root
  10. Prefix: /usr
  11. Copyright: GPL2
  12. Summary: bbapm - shows the battery status of your laptop
  13. Summary(ja): bbapm - バッテリーモニタ
  14. %description
  15. This application shows the battery status of your laptop
  16. (it is based on bbsload).
  17. This program is written to be used with Blackbox,
  18. but it works in any other X11-Windowmanager.
  19. %description -l ja
  20. bbapm は、ラップトップパソコンのバッテリー状態を表示します。
  21. ウィンドウマネージャの Blackbox と共に用いるために作られましたが、
  22. その他のウィンドウマネージャでも使うことができます。
  23. %prep
  24. rm -rf ${RPM_BUILD_ROOT}
  25. %setup -q
  26. %build
  27. ./configure --prefix=${RPM_BUILD_ROOT}%{prefix}
  28. make datadir=%{prefix}/share
  29. %install
  30. mkdir -p ${RPM_BUILD_ROOT}
  31. make install
  32. %clean
  33. rm -rf ${RPM_BUILD_ROOT}
  34. %files
  35. %defattr(-,root,root)
  36. %doc AUTHORS BUGS ChangeLog COPYING INSTALL NEWS README TODO
  37. %{prefix}/share/bbtools/README.bbapm
  38. %{prefix}/share/bbtools/bbapm.conf
  39. %{prefix}/share/bbtools/bbapm.nobb
  40. %{prefix}/share/bbtools/bbapm.style
  41. %{prefix}/share/bbtools/bbtoolsrc.in
  42. %{_bindir}/bbapm
  43. %changelog
  44. * Sat Jul 28 2001 IWAI, Masaharu <iwaim@cc.mbn.or.jp>
  45. - 0.0.1-0vl1
  46. - first release for 0.0.1