]> git.pld-linux.org Git - packages/povray.git/blob - povray.spec
- added XFree86-devel to BuildRequires,
[packages/povray.git] / povray.spec
1 Summary:        Persistence of Vision Ray Tracer
2 Summary(pl):    Persistence of Vision Ray Tracer
3 Name:           povray
4 Version:        3.1g
5 Release:        1
6 Copyright:      distrituable
7 Group:          Applications/Graphics
8 Group(pl):      Aplikacje/Grafika
9 Source0:        ftp://ftp.povray.org/pub/povray/Official/Unix/povuni_s.tgz
10 Source1:        ftp://ftp.povray.org/pub/povray/Official/Unix/povuni_d.tgz
11 Patch:          povray-makefile_and_config.patch
12 URL:            http://www.povray.org/
13 BuildRequires:  zlib-devel
14 BuildRequires:  libpng-devel
15 BuildRequires:  XFree86-devel
16 BuildRoot:      /tmp/%{name}-%{version}-root
17
18 %description
19 The Persistence of Vision(tm) Ray-Tracer creates three-dimensional,
20 photo-realistic images using a rendering technique called ray-tracing. It
21 reads in a text file containing information describing the objects and
22 lighting in a scene and generates an image of that scene from the view point
23 of a camera also described in the text file. Ray-tracing is not a fast
24 process by any means, but it produces very high quality images with
25 realistic reflections, shading, perspective and other effects.
26
27 %description -l pl
28 Persistence of Vision(tm) Ray-Tracer tworzy trójwymiarowe, fotorealistyczne
29 obrazy za pomoc± techniki renderingu zwanej ray-tracing. Program pobiera z
30 pliku tekstowego informacje opisuj±ce obiekty oraz ¶wiat³o przedstawianego
31 ¶wiata, a nastêpnie generuje rysunek z punktu widzenia kamery, która tak¿e
32 jest definiowana w w/w pliku tekstowym. Ray-tracing nie pozwala na szybkie
33 tworzenie obrazów, ale za to twórca otrzymuje wyskokiej jako¶ci bitmapy z
34 realistycznymi efektami, tj. odbicia ¶wiat³a, cienie, perspektywa i inne.
35
36 %prep
37 %setup -q -n povray31 -b 1
38
39 %patch0 -p1
40
41 %build
42 cd source/unix
43 OPT_FLAGS="$RPM_OPT_FLAGS"
44 make newunix newxwin OPT_FLAGS="$RPM_OPT_FLAGS"
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48 install -d $RPM_BUILD_ROOT{%{_bindir},/etc/skel,%{_mandir}/man1,%{_datadir}/povray31}
49
50 install -s source/unix/{povray,x-povray} $RPM_BUILD_ROOT%{_bindir}
51 install source/unix/povrayrc $RPM_BUILD_ROOT/etc/skel/.povrayrc
52
53 gzip -9nf gamma.gif.txt povray.1 povlegal.doc povuser.txt
54
55 install povray.1.gz $RPM_BUILD_ROOT%{_mandir}/man1
56
57 find . -type f -exec chmod 644 {} \;
58 cp -r allscene include scenes $RPM_BUILD_ROOT%{_datadir}/povray31
59 install *.ini *.pov $RPM_BUILD_ROOT%{_datadir}/povray31
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %files
65 %doc gamma.gif.txt.gz povuser.txt.gz gamma.gif povlegal.doc.gz
66 %attr(755,root,root) %{_bindir}/x-povray
67 %{_bindir}/povray
68 %{_datadir}/povray31
69 /etc/skel/.povrayrc
This page took 0.040664 seconds and 4 git commands to generate.