xengine-vl.spec 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. Summary: Bench mark soft for X window system
  2. Summary(ja): X のベンチマークソフト
  3. Name: xengine
  4. Version: 1.10pl1
  5. Release: 6%{?_dist_release}
  6. Group: Applications/Other
  7. Source0: xengine-j-part01.z
  8. # ftp.lab.kdd.co.jp/Usenet/fj.sources/1990/xengine/part01.z
  9. Source1: xengine-e-part01.z
  10. # ftp.lab.kdd.co.jp/Usenet/comp.sources.x/volume09/xengine/part01.z
  11. Patch1: xengine-j-patch1.z
  12. # ftp.lab.kdd.co.jp/Usenet/fj.sources/1990/xengine/patch1.z
  13. Patch2: xengine-e-patch1.z
  14. # ftp.lab.kdd.co.jp/Usenet/comp.sources.x/volume09/xengine/patch1.z
  15. Patch3: xengine-1.10pl1.patch
  16. Patch4: xengine-1.10pl1p.patch
  17. # http://www-jlc.kek.jp/~fujiik/mklinux/Packages/rawhide/SOURCES/
  18. License: distributable
  19. Buildroot: %{_tmppath}/%{name}-root
  20. BuildRequires: libX11-devel, libICE-devel, libSM-devel, libXext-devel
  21. BuildRequires: libXmu-devel, libXt-devel
  22. BuildRequires: libXaw-devel >= 1.0.5
  23. Vendor: Project Vine
  24. Distribution: Vine Linux
  25. %description
  26. xengine displays a animating reciprocating engine.
  27. Please don't ask me why. :-)
  28. %description -l ja
  29. レシプロエンジン・シミュレータです。なんの役にたつかなんて
  30. ことは気にしないでください. :-)
  31. %prep
  32. mkdir -p xengine/{xengine-j,xengine-e}
  33. cd xengine
  34. (cd xengine-j
  35. zcat %{SOURCE0} | unshar -c
  36. %patch1 -p1
  37. %patch3
  38. %patch4 -p1
  39. )
  40. (
  41. cd xengine-e
  42. zcat %{SOURCE1} | unshar -c
  43. %patch2 -p1
  44. )
  45. %build
  46. cd xengine/xengine-j
  47. xmkmf
  48. make xengine
  49. uudecode README.j.uu
  50. cat xengine.c | sed -e '17,337d' | sed -e '1,2d' > COPYRIGHT
  51. %install
  52. rm -rf %{buildroot}
  53. mkdir -p %{buildroot}%{_bindir}
  54. mkdir -p %{buildroot}/%{_mandir}/man1
  55. cd xengine/xengine-j
  56. make install DESTDIR="%{buildroot}"
  57. cd ../xengine-e
  58. install -c -m 0444 xengine.man %{buildroot}/%{_mandir}/man1
  59. %clean
  60. rm -rf %{buildroot}
  61. %files
  62. %defattr(-,root,root)
  63. %{_bindir}/xengine
  64. %{_mandir}/man1/*
  65. %doc xengine/xengine-j/README.j xengine/xengine-j/COPYRIGHT xengine/xengine-e/README
  66. %changelog
  67. * Sun Nov 09 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.10pl1-6
  68. - rebuild with libXaw.so.7 (libXaw-1.0.5)
  69. * Thu Jul 10 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.10pl1-5
  70. - rebuild with xorg-x11-7.3
  71. - new versioning policy
  72. - change install directory to %%{_bindir}
  73. * Fri Sep 29 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.10pl1-4vl4
  74. - rebuilt with new toolchains
  75. - changed Group to Applications/Other
  76. * Tue Jun 26 2001 Jun Nishii <jun@vinelinux.org> 1.10pl1-4vl3
  77. - modify spec
  78. * Sat Sep 30 2000 Jun Nishii <jun@vinelinux.org>
  79. - 1.10pl1-4vl2
  80. - added %defattr
  81. * Mon Jun 05 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  82. - 1.10pl1-4vl1
  83. - included a patch (by Mr. K.Fujii) for ppc
  84. * Wed Mar 15 2000 Jun Nishii <jun@vinelinux.org>
  85. - build for Vine Linux 2.0
  86. * Tue May 13 1999 Takashi Hashimoto <hash@jaist.ac.jp>
  87. - ported from JRPM for Vine Linux
  88. - added Japanese summary and description