povray-vl.spec 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. %define pkg_name povray
  2. %define short_version 3.7
  3. %define pkg_version 3.7.0.7
  4. %define pkg_release 2%{?_dist_release}
  5. Summary: A widely used ray tracing package
  6. Summary(ja): 広く使用されているレイトレーシングソフトウェア
  7. Name: %{pkg_name}
  8. Version: %{pkg_version}
  9. Release: %{pkg_release}
  10. License: AGPLv3+
  11. Group: Applications/Multimedia
  12. URL: http://www.povray.org/
  13. Source0: %{name}-%{version}.tar.gz
  14. Buildroot: %{_tmppath}/%{name}-%{version}-root
  15. BuildRequires: libjpeg-turbo-devel libpng-devel libtiff-devel
  16. BuildRequires: zlib-devel
  17. BuildRequires: libboost-devel
  18. BuildRequires: libboost-date-time
  19. BuildRequires: libboost-thread
  20. BuildRequires: OpenEXR-devel
  21. Vendor: Project Vine
  22. Distribution: Vine Linux
  23. %description
  24. A widely used ray tracing package, Persistence of Vision's Ray Tracer
  25. (POV-ray) is based on David Buck's original ray tracer, DKB-Trace.
  26. POV-ray is currently developed and supported by members of CompuServe
  27. Graphics Developers' Forum. The first stage of the process is
  28. describing what you want to depict, either by using an interactive
  29. modeling system like a CAD package, or by creating a text file which
  30. uses a programming language-like syntax to describe the elements of
  31. the image. In both cases, you have to specify the objects, their
  32. shape, their location, their color, their texture and their
  33. illumination. Then you input the information to the raytracer program
  34. and wait (and wait and wait...raytracing isn't speedy) for its
  35. output (the image).
  36. %prep
  37. %setup -q
  38. %build
  39. pushd unix/
  40. ./prebuild.sh
  41. popd
  42. %configure COMPILED_BY="Project Vine" CXXFLAGS="-std=c++11"
  43. %{__make} %{?_smp_mflags}
  44. %install
  45. %{__rm} -rf ${RPM_BUILD_ROOT}
  46. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  47. %{__rm} -rf ${RPM_BUILD_ROOT}%{_docdir}/%{name}-%{short_version}
  48. %post -p %{_syssbindir}/ldconfig
  49. %postun -p %{_syssbindir}/ldconfig
  50. %clean
  51. %{__rm} -rf ${RPM_BUILD_ROOT}
  52. %files
  53. %defattr(-,root,root)
  54. %doc LICENSE README.md unix/AUTHORS unix/COPYING unix/ChangeLog unix/NEWS
  55. %doc doc/*
  56. %{_bindir}/*
  57. %{_mandir}/man?/*
  58. %{_datadir}/%{name}-%{short_version}
  59. %config(noreplace) %{_sysconfdir}/%{name}/%{short_version}/povray.*
  60. %changelog
  61. * Tue Jan 16 2018 Toshiaki Ara <ara_t@384.jp> 3.7.0.7-2
  62. - correct SPEC file name
  63. * Tue Jan 16 2018 Toshiaki Ara <ara_t@384.jp> 3.7.0.7-1
  64. - update to 3.7.0.7
  65. - delete old ChangeLog
  66. * Fri Oct 10 2008 Shu KONNO <owa@bg.wakwak.com> 3.6.1-1vl5
  67. - applied new versioning policy
  68. * Fri Dec 28 2007 Shu KONNO <owa@bg.wakwak.com> 3.6.1-0vl2
  69. - added x86_64 to ExclusiveArch
  70. * Sat Oct 15 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 3.6.1-0vl1
  71. - new upstream release
  72. * Thu Feb 07 2002 Toru Sagami <sagami@vinelinux.org> 3.1g-1vl3
  73. - a bit tweak spec
  74. - s/Buildarch/ExclusiveArch/ and enabled it for %%{ix86}
  75. - install man pages into %%{_mandir}
  76. * Sun Oct 15 2000 MACHINO, Satoshi <machino@vinelinux.org> 3.1g-1vl2
  77. - added sparc in Buildarch
  78. - fixed for brp-redhat scripts
  79. * Sun Jun 11 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  80. - 3.1g-1vl1
  81. - added a small patch for non-ix86 archtectures