]> git.pld-linux.org Git - packages/povray.git/blob - povray.spec
- release 2,
[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:        2
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 %package X11
37 Summary:        X-Windows povray executable
38 Group:          Applications/Graphics
39 Group(pl):      Aplikacje/Grafika
40 Require:        %{name} = %{version}
41
42 %prep
43 %setup -q -n povray31 -b 1
44
45 %patch0 -p1
46
47 %build
48 cd source/unix
49 make newunix newxwin OPT_FLAGS="$RPM_OPT_FLAGS"
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53 install -d $RPM_BUILD_ROOT{%{_bindir},/etc/skel,%{_mandir}/man1,%{_datadir}/povray31}
54
55 install -s source/unix/{povray,x-povray} $RPM_BUILD_ROOT%{_bindir}
56 install source/unix/povrayrc $RPM_BUILD_ROOT/etc/skel/.povrayrc
57
58 install povray.1 $RPM_BUILD_ROOT%{_mandir}/man1
59
60 cp -r allscene include scenes $RPM_BUILD_ROOT%{_datadir}/povray31
61 install *.ini *.pov $RPM_BUILD_ROOT%{_datadir}/povray31
62
63 gzip -9nf gamma.gif.txt povlegal.doc povuser.txt \
64         %{_mandir}/man1/*
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %files
70 %doc gamma.gif.txt.gz povuser.txt.gz gamma.gif povlegal.doc.gz
71 %attr(755,root,root) %{_bindir}/povray
72 %{_datadir}/povray31
73 /etc/skel/.povrayrc
74 %{_mandir}/man1/*
75
76 %files
77 %attr(755,root,root) %{_bindir}/x-povray
This page took 0.031645 seconds and 4 git commands to generate.