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