%define majorver 3.6 %define minorver 1 Name: povray Version: %{majorver}.%{minorver} Release: 1 Summary: Persistence of Vision Raytracer Group: Amusements/Graphics License: Other URL: http://www.povray.org/ Source0: ftp://sunsite.cnlab-switch.ch/mirror/povray/povray/Official/Unix/povray-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) #BuildRequires: #Requires: %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 %build %configure COMPILED_BY="%{packager}" make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc /usr/share/doc/%{name}-%{majorver} %dir /etc/%{name}/%{majorver} %config(noreplace) %{_sysconfdir}/%{name}/%{majorver}/* %{_bindir}/%{name} %{_datadir}/%{name}-%{majorver} %{_mandir}/man1/povray.1.gz %changelog