Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > fdf6c3dd52739b9665b895fb5bc1c6ad > files > 4

povray-3.6.1-7mdv2009.0.src.rpm

%define PKGRELEASE 3.6

Summary:	The Persistence of Vision Raytracer
Name:		povray
Version:	3.6.1
Release:	%mkrel 7
Group:		Sciences/Computer science
License:	GPL
URL:		http://www.povray.org
Source:		%{name}-%{version}.tar.bz2
Source1:	%{name}.bash-completion.bz2
Patch0:		povray-3.6.1-config-0.2.0.diff.bz2
BuildRoot:	%{_tmppath}/%{name}-buildroot
BuildRequires:	zlib1-devel
BuildRequires:	libpng-devel
BuildRequires:	X11-devel
BuildRequires:	libjpeg-devel
BuildRequires:	libtiff-devel

%description
The Persistence of Vision Ray tracer creates three-dimensional,
photo-realistic images using a rendering technique called ray tracing.
It reads in a text file containing information describing the objects and
lighting in a scene and generates an image of that scene from the view
point of a camera also described in the text file. Ray tracing is not
a fast process by any means, (the generation of a complex image can
take several hours) but it produces very high quality images
with realistic reflections, shading, perspective, and other effects.

%prep
%setup -q 
%patch0 -p1
bzcat %{SOURCE1} > %{name}.bash-completion

%build
%configure2_5x --with-x COMPILED_BY="Mandriva_Linux" --disable-optimiz
%make 

%install
rm -rf %{buildroot}
%makeinstall_std

install -d -m 755 %{buildroot}%{_sysconfdir}/bash_completion.d
install -m 644 %{name}.bash-completion %{buildroot}%{_sysconfdir}/bash_completion.d/%{name}

%clean
rm -rf %{buildroot}

%files 
%defattr(-,root,root)
%config(noreplace) %{_sysconfdir}/bash_completion.d/%{name}
%config(noreplace) %{_sysconfdir}/%{name}/%PKGRELEASE/povray.conf
%config(noreplace) %{_sysconfdir}/%{name}/%PKGRELEASE/povray.ini
%doc doc/* 
%doc %{_mandir}/man1/povray.*
%{_bindir}/povray
%{_defaultdocdir}/%{name}-%PKGRELEASE
%{_datadir}/%{name}-%PKGRELEASE


%changelog
* Fri Aug 01 2008 Thierry Vignaud <tvignaud@mandriva.com> 3.6.1-7mdv2009.0
+ Revision: 259251
- rebuild

* Thu Jul 24 2008 Thierry Vignaud <tvignaud@mandriva.com> 3.6.1-6mdv2009.0
+ Revision: 247180
- rebuild

* Tue Mar 25 2008 Erwan Velu <erwan@mandriva.org> 3.6.1-4mdv2008.1
+ Revision: 189853
- Fixing bug #31019

* Wed Jan 02 2008 Olivier Blin <oblin@mandriva.com> 3.6.1-3mdv2008.1
+ Revision: 140735
- restore BuildRoot

  + Thierry Vignaud <tvignaud@mandriva.com>
    - kill re-definition of %%buildroot on Pixel's request
    - fix man pages

* Mon Jun 18 2007 Tomasz Pawel Gajc <tpg@mandriva.org> 3.6.1-3mdv2008.0
+ Revision: 40676
- fix mixture of tabs and spaces
- use macros
- remove obsoletes
- spec file clean


* Fri Feb 09 2007 Erwan Velu <erwan@mandriva.org> 3.6.1-2mdv2007.0
+ Revision: 118487
- Rebuild
- Import povray

* Wed Sep 14 2005 Erwan Velu <erwan@seanodes.com> 3.6.1-1mdk
- 3.6.1

* Sat Sep 10 2005 Olivier Blin <oblin@mandriva.com> 3.1g-20mdk
- fix typo in summary
- Patch19, Patch20: gcc4 fixes

* Thu Mar 24 2005 Erwan Velu <erwan@seanodes.com> 3.1g-19mdk
- Fixing x86_64 build
- Fixing Buildrequires