]> git.pld-linux.org Git - packages/povray.git/blob - povray.spec
- release 3,
[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:        3
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 Patch0:         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:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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
23 point of a camera also described in the text file. Ray-tracing is not a
24 fast 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 Window povray executable
38 Group:          Applications/Graphics
39 Group(pl):      Aplikacje/Grafika
40 Requires:       %{name} = %{version}
41
42 %description X11
43 The Persistence of Vision(tm) Ray-Tracer X Window executable.
44
45 %prep
46 %setup -q -n povray31 -b 1
47
48 %patch0 -p1
49
50 %build
51 cd source/unix
52 make newunix newxwin OPT_FLAGS="$RPM_OPT_FLAGS"
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56 install -d $RPM_BUILD_ROOT{%{_bindir},/etc/skel,%{_mandir}/man1,%{_datadir}/povray31}
57
58 install -s source/unix/{povray,x-povray} $RPM_BUILD_ROOT%{_bindir}
59 install source/unix/povrayrc $RPM_BUILD_ROOT/etc/skel/.povrayrc
60
61 install povray.1 $RPM_BUILD_ROOT%{_mandir}/man1
62
63 cp -r allscene include scenes $RPM_BUILD_ROOT%{_datadir}/povray31
64 install *.ini *.pov $RPM_BUILD_ROOT%{_datadir}/povray31
65
66 gzip -9nf gamma.gif.txt povlegal.doc povuser.txt \
67         $RPM_BUILD_ROOT%{_mandir}/man1/*
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %files
73 %defattr(644,root,root,755)
74 %doc gamma.gif.txt.gz povuser.txt.gz gamma.gif povlegal.doc.gz
75 %attr(755,root,root) %{_bindir}/povray
76 %{_datadir}/povray31
77 /etc/skel/.povrayrc
78 %{_mandir}/man1/*
79
80 %files X11
81 %attr(755,root,root) %{_bindir}/x-povray
This page took 0.078002 seconds and 4 git commands to generate.