ssystem-vl.spec 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. Summary: ssystem is an OpenGL Solar System simulator.
  2. Summary(ja): OpenGL を使用した太陽系探索シミュレータ
  3. Name: ssystem
  4. Version: 1.6
  5. Release: 2%{?_dist_release}
  6. Group: Applications/Other
  7. Source: http://www1.las.es/~amil/ssystem/ssystem-1.6.tar.gz
  8. Patch: ssystem-vine.patch
  9. Patch1: ssystem-non-ix86.patch
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: mesa-libGL-devel
  12. BuildRequires: freeglut-devel
  13. License: GPL
  14. Vendor: Project Vine
  15. Distribution: Vine Linux
  16. %description
  17. ssystem is an OpenGL Solar System simulator.
  18. Visit the Sun, the nine planets and a few major satellites
  19. (catalog based background stars are also supported) with four camera modes.
  20. %description -l ja
  21. OpenGLを使用した太陽系探索シミュレータで、太陽と9個の惑星、
  22. 及び、いくつかのメジャーな衛星を訪れることができます。
  23. また、4つのカメラモードを持っています。
  24. %prep
  25. %setup -q
  26. %patch -p1
  27. %ifnarch i386 i586 i686
  28. %patch1 -p1
  29. %endif
  30. %build
  31. %ifarch x86_64
  32. make LDFLAGS="-L/usr/X11R6/%{_lib} -L$(MESADIR)/lib -ljpeg -lglut -lGLU -lGL -lXext -lXmu -lXi -lX11 -lm"
  33. %else
  34. make
  35. %endif
  36. %install
  37. rm -rf $RPM_BUILD_ROOT
  38. mkdir -p $RPM_BUILD_ROOT%{_bindir}
  39. mkdir -p $RPM_BUILD_ROOT%{_datadir}/ssystem
  40. cp -p *.jpg $RPM_BUILD_ROOT%{_datadir}/ssystem
  41. cp -p stars.dat $RPM_BUILD_ROOT%{_datadir}/ssystem
  42. cp -p ssystem.conf $RPM_BUILD_ROOT%{_datadir}/ssystem
  43. cp -p ssystem $RPM_BUILD_ROOT%{_bindir}
  44. %clean
  45. rm -rf $RPM_BUILD_ROOT
  46. %files
  47. %doc CHANGES INSTALAR INSTALL LEEME LICENSE README README.3D TODO hires
  48. %{_bindir}/ssystem
  49. %{_datadir}/ssystem
  50. %changelog
  51. * Sun Oct 12 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6-2vl5
  52. - added BuildRequires: freeglut-devel
  53. * Sat Oct 11 2008 Shu KONNO <owa@bg.wakwak.com> 1.6-1vl5
  54. - applied new versioning policy, spec in utf-8
  55. * Fri Dec 28 2007 Shu KONNO <owa@bg.wakwak.com> 1.6-0vl4
  56. - updated LDFLAGS (if x86_64)
  57. * Wed Aug 2 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6-0vl3
  58. - rebuilt with new toolchains, used more macros
  59. - s/Copyright/License/
  60. - changed Group to Applications/Other
  61. * Mon Jun 12 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  62. - 1.6-0vl2
  63. - added a small patch for non-ix86 archtecture