File povray.spec of Package povray

Name: povray
Summary: Persistence of Vision Raytracer (POV-Ray)
# file is marked 3.6, but is actually 3.6.1
%define version 3.6.1
%define release 3
Version: %{version}
Release: %{release}%{?dist}
License: POV-Ray (http://www.povray.org/distribution-license.html)
URL: http://www.povray.org
Source: povray-3.6.tar.bz2
Patch0: povray-wweiser-patchset-6.diff
Patch1: povray-prt-tf-fixes.diff
Group: Applications/Multimedia
BuildRoot: %{_tmppath}/%{name}-%{version}-root

BuildRequires: gcc-c++ libpng-devel libtiff-devel xorg-x11-devel libjpeg-devel

%description
The Persistence of Vision Raytracer is a high-quality, totally
free tool for creating stunning three-dimensional graphics. It
is available in official versions for Windows, Mac OS/Mac OS X
and i86 Linux. The source code is available for those wanting 
to do their own ports. 

%prep
%setup -q
%patch0 -p1
%patch1 -p1

%build
aclocal
autoconf
automake -a -c
%configure COMPILED_BY="Tim Fenn <fenn@stanford.edu>"
make

%install
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT

make \
    DESTDIR=$RPM_BUILD_ROOT install

%clean
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%{_bindir}/*
%{_docdir}/*
%{_mandir}/*
%{_datadir}/%{name}-3.6/*
%{_sysconfdir}/%{name}/3.6

%changelog
* Tue Oct 16 2007 <john.pye@anu.edu.au - 3.6.1
- updating to Fedora 7, hopefully
* Sun Nov  5 2006 <fenn@stanford.edu> - 3.6.1-3
- update spec file
* Thu Nov  4 2004 <fenn@stanford.edu> 3.6.1-0
- RPM based off subpop.net FC1 3.50c package
- inc. Wolfgang Wieser's patchset (http://www.cip.physik.uni-muenchen.de/~wwieser/render/povray/patches/)
openSUSE Build Service is sponsored by