povray-vl.spec 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. %define pkgversion 3.6
  2. Summary: A widely used ray tracing package.
  3. Name: povray
  4. Version: %{pkgversion}.1
  5. Release: 1%{?_dist_release}
  6. License: Other
  7. Group: Applications/Multimedia
  8. URL: http://www.povray.org
  9. Source: http://www.povray.org/redirect/www.povray.org/ftp/pub/povray/Official/Unix/povray-%{pkgversion}.tar.bz2
  10. #ExclusiveArch: %{ix86} ppc sparc ia64
  11. ExclusiveArch: %{ix86} ppc x86_64
  12. Buildroot: %{_tmppath}/%{name}-%{version}-root
  13. %description
  14. A widely used ray tracing package, Persistence of Vision's Ray Tracer
  15. (POV-ray) is based on David Buck's original ray tracer, DKB-Trace.
  16. POV-ray is currently developed and supported by members of CompuServe
  17. Graphics Developers' Forum. The first stage of the process is
  18. describing what you want to depict, either by using an interactive
  19. modeling system like a CAD package, or by creating a text file which
  20. uses a programming language-like syntax to describe the elements of
  21. the image. In both cases, you have to specify the objects, their
  22. shape, their location, their color, their texture and their
  23. illumination. Then you input the information to the raytracer program
  24. and wait (and wait and wait...raytracing isn't speedy) for its
  25. output (the image).
  26. %prep
  27. %setup
  28. %build
  29. %configure --with-x COMPILED_BY="Vine Caves, Ltd. <info@vinecaves.com>"
  30. pushd libraries/tiff
  31. ./configure.gnu
  32. popd
  33. %{__make} %{?_smp_mflags}
  34. %install
  35. %{__rm} -rf %{buildroot}
  36. %{__make} install DESTDIR=%{buildroot}
  37. %{__rm} -rf %{buildroot}%{_docdir}/%{name}-%{pkgversion}
  38. %post
  39. /sbin/ldconfig 2>/dev/null
  40. %postun
  41. /sbin/ldconfig 2>/dev/null
  42. %clean
  43. rm -rf $RPM_BUILD_ROOT
  44. %files
  45. %defattr(-,root,root)
  46. %doc AUTHORS ChangeLog COPYING INSTALL README
  47. %doc doc/*
  48. %{_bindir}/*
  49. %{_mandir}/man?/*
  50. %{_datadir}/%{name}-%{pkgversion}
  51. %config(noreplace) %{_sysconfdir}/%{name}/%{pkgversion}/povray.*
  52. %changelog
  53. * Fri Oct 10 2008 Shu KONNO <owa@bg.wakwak.com> 3.6.1-1vl5
  54. - applied new versioning policy
  55. * Fri Dec 28 2007 Shu KONNO <owa@bg.wakwak.com> 3.6.1-0vl2
  56. - added x86_64 to ExclusiveArch
  57. * Sat Oct 15 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 3.6.1-0vl1
  58. - new upstream release
  59. * Thu Feb 07 2002 Toru Sagami <sagami@vinelinux.org> 3.1g-1vl3
  60. - a bit tweak spec
  61. - s/Buildarch/ExclusiveArch/ and enabled it for %%{ix86}
  62. - install man pages into %%{_mandir}
  63. * Sun Oct 15 2000 MACHINO, Satoshi <machino@vinelinux.org> 3.1g-1vl2
  64. - added sparc in Buildarch
  65. - fixed for brp-redhat scripts
  66. * Sun Jun 11 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  67. - 3.1g-1vl1
  68. - added a small patch for non-ix86 archtectures
  69. * Tue May 11 1999 Matt Wilson <msw@redhat.com>
  70. - fixed POVLIBDIR to point at /usr/lib/povray31
  71. * Wed Apr 28 1999 Jeff Johnson <jbj@redhat.com>
  72. - update to 3.1e.
  73. * Fri Oct 08 1998 Michael Maher <mike@redhat.com>
  74. - fixed spec file, built for 5.2 powertools.
  75. * Thu May 21 1998 Michael Maher <mike@redhat.com>
  76. - checked spec file and source, rebuilt package.
  77. * Wed Dec 3 1997 Otto Hammersmith <otto@redhat.com>
  78. - fixed symlink problem
  79. * Tue Nov 18 1997 Otto Hammersmith <otto@redhat.com>
  80. - moved buildroot to /var/tmp
  81. * Wed Apr 30 1997 Michael Fulbright <msf@redhat.com>
  82. - Updated to version 3.01 and changed to use a Buildroot