osd_clock-vl.spec 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. Summary: X on-screen clock displayer
  2. Summary(ja): X のスクリーン上に時計を表示するツール
  3. Name: osd_clock
  4. Version: 0.6
  5. Release: 1%{?_dist_release}
  6. Source0: http://leftorium.net/software/%{name}-%{version}.tar.gz
  7. #Patch: osd_clock-init.patch
  8. License: GPL
  9. Group: Applications/System
  10. URL: http://leftorium.net/software.phtml
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildPrereq: libxosd-devel
  13. %description
  14. X on-screen clock displayer
  15. %description -l ja
  16. X のスクリーン上に時計を表示するツールです.
  17. %prep
  18. rm -rf %buildroot
  19. %setup -q
  20. #%patch -b .init
  21. %build
  22. make \
  23. CFLAGS="$RPM_OPT_FLAGS" \
  24. LIBDIR="%{_libdir}" \
  25. LDFLAGS="-L. -L/usr/X11R6/%{_lib} -lX11 -lXext -lpthread -lXt"
  26. %install
  27. mkdir -p %{buildroot}%{_bindir}
  28. make install PREFIX=%{buildroot}%{_prefix} MANDIR=%{buildroot}/%{_mandir}
  29. %clean
  30. rm -rf %buildroot
  31. %files
  32. %doc AUTHORS COPYING ChangeLog NEWS README
  33. %{_bindir}/osd_clock
  34. %{_mandir}/man1/osd_clock.1*
  35. %changelog
  36. * Thu Oct 09 2008 Shu KONNO <owa@bg.wakwak.com> 0.6-1vl5
  37. - applied new versioning policy, spec in utf-8
  38. * Sat Dec 29 2007 Shu KONNO <owa@bg.wakwak.com> 0.6-0vl2
  39. - added options LIBDIR, INCLUDEDIR to make
  40. * Thu Oct 20 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.6-0vl1
  41. - updated to 0.6
  42. - build against libxosd-2.2.12
  43. - added Japanese summary and description
  44. * Mon Aug 5 2002 UECHI Yasumasa <uh@u.dhis.portside.net> 0.5-0vl2
  45. - build against libxosd-1.0.0
  46. - add osd_clock-init.patch
  47. * Fri Feb 22 2002 UECHI Yasumasa <uh@u.dhis.portside.net> 0.5-0vl1
  48. - Initial release