pclock-vl.spec 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. Summary: simple analog clock program designed to run under WindowMaker
  2. Summary(ja): Window Maker の dock 用のアナログ時計
  3. Name: pclock
  4. Version: 0.13.1
  5. Release: 2%{?_dist_release}
  6. Source: http://bnt.kourakos.com/~awk/programs/pclock-%{version}.tgz
  7. License: GPL
  8. Group: User Interface/Desktops
  9. URL: http://www.kourakos.com/~awk/programs/pclock/
  10. Vendor: Project Vine
  11. Distribution: Vine Linux
  12. Buildroot: %{_tmppath}/%{name}-%{version}-root
  13. BuildRequires: libX11-devel libXext-devel libXpm-devel
  14. %description
  15. pclock is a simple analog clock program designed to run under the
  16. WindowMaker window manager. Any 64x64 pixmap may be used as a background,
  17. including tiles.
  18. %description -l ja
  19. pclock は、WindowMaker の下で動かすよう設計された、シンプルなアナログ
  20. 時計のプログラムです。64x64 ピクセルの画像を背景に設定できます。
  21. %prep
  22. %setup -q
  23. %build
  24. make CFLAGS="$RPM_OPT_FLAGS"
  25. # LIBDIR="-L/usr/X11R6/%{_lib}"
  26. strip src/pclock
  27. %install
  28. rm -rf $RPM_BUILD_ROOT
  29. mkdir -p $RPM_BUILD_ROOT%{_bindir}
  30. cp src/pclock $RPM_BUILD_ROOT%{_bindir}
  31. mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/pclock
  32. cp XPM/* $RPM_BUILD_ROOT%{_datadir}/icons/pclock/
  33. %clean
  34. rm -rf $RPM_BUILD_ROOT
  35. %files
  36. %defattr(-,root,root)
  37. %{_bindir}/pclock
  38. %{_datadir}/icons/pclock/*
  39. %doc CHANGES COPYING CREDITS README TODO
  40. %changelog
  41. * Sun Feb 21 2010 Shu KONNO <owa@bg.wakwak.com> 0.13.1-2
  42. - rebuilt with new toolchain
  43. * Mon Nov 24 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.13.1-1vl5
  44. - applied new versioning policy
  45. - spec in UTF-8
  46. - added BuildRequires: libX11-devel libXext-devel libXpm-devel
  47. * Fri Dec 28 2007 Shu KONNO <owa@bg.wakwak.com> 0.13.1-0vl5
  48. - added LIBDIR to make
  49. - fixed year of changelog below
  50. * Wed Aug 2 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.13.1-0vl4
  51. - s/Copyright/License/
  52. - changed Group to User INterface/Desktops
  53. * Tue May 4 2004 Nobuyuki Tsuchimura <tutimura@nn.iij4u.or.jp> 0.13.1-0vl3
  54. - rebuild for VineSeed
  55. * Thu Jun 13 2002 Nobuyuki Tsuchimura <tutimura@nn.iij4u.or.jp> 0.13.1-0vl2
  56. - add %defattr(-,root,root)
  57. * Sun Mar 31 2002 Nobuyuki Tsuchimura <tutimura@nn.iij4u.or.jp> 0.13.1-0vl1
  58. - updated to 0.13.1
  59. - removed a small patch for non-ix86, instead of 'make' option
  60. * Sun Jun 11 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  61. - 0.12a-2vl1
  62. - added a small patch for non-ix86 archtecture