]> git.pld-linux.org Git - packages/povray.git/blob - povray.spec
- adapterized.
[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:        4
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:         %{name}-makefile_and_config.patch
12 URL:            http://www.povray.org/
13 BuildRequires:  zlib-devel
14 BuildRequires:  libpng >= 1.0.8
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.
21 It reads in a text file containing information describing the objects
22 and lighting in a scene and generates an image of that scene from the
23 view point of a camera also described in the text file. Ray-tracing is
24 not a fast process by any means, but it produces very high quality
25 images with realistic reflections, shading, perspective and other
26 effects.
27
28 %description -l pl
29 Persistence of Vision(tm) Ray-Tracer tworzy trójwymiarowe,
30 fotorealistyczne obrazy za pomoc± techniki renderingu zwanej
31 ray-tracing. Program pobiera z pliku tekstowego informacje opisuj±ce
32 obiekty oraz ¶wiat³o przedstawianego ¶wiata, a nastêpnie generuje
33 rysunek z punktu widzenia kamery, która tak¿e jest definiowana w w/w
34 pliku tekstowym. Ray-tracing nie pozwala na szybkie tworzenie obrazów,
35 ale za to twórca otrzymuje wyskokiej jako¶ci bitmapy z realistycznymi
36 efektami, tj. odbicia ¶wiat³a, cienie, perspektywa i inne.
37
38 %package X11
39 Summary:        X Window povray executable
40 Group:          Applications/Graphics
41 Group(pl):      Aplikacje/Grafika
42 Requires:       %{name} = %{version}
43
44 %description X11
45 The Persistence of Vision(tm) Ray-Tracer X Window executable.
46
47 %prep
48 %setup -q -n povray31 -b 1
49
50 %patch0 -p1
51
52 %build
53 cd source/unix
54 %{__make} newunix newxwin OPT_FLAGS="$RPM_OPT_FLAGS"
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58 install -d $RPM_BUILD_ROOT{%{_bindir},/etc/skel,%{_mandir}/man1,%{_datadir}/povray31}
59
60 install -s source/unix/{povray,x-povray} $RPM_BUILD_ROOT%{_bindir}
61 install source/unix/povrayrc $RPM_BUILD_ROOT/etc/skel/.povrayrc
62
63 install povray.1 $RPM_BUILD_ROOT%{_mandir}/man1
64
65 cp -r allscene include scenes $RPM_BUILD_ROOT%{_datadir}/povray31
66 install *.ini *.pov $RPM_BUILD_ROOT%{_datadir}/povray31
67
68 gzip -9nf gamma.gif.txt povlegal.doc povuser.txt \
69         $RPM_BUILD_ROOT%{_mandir}/man1/*
70
71 %clean
72 rm -rf $RPM_BUILD_ROOT
73
74 %files
75 %defattr(644,root,root,755)
76 %doc gamma.gif.txt.gz povuser.txt.gz gamma.gif povlegal.doc.gz
77 %attr(755,root,root) %{_bindir}/povray
78 %{_datadir}/povray31
79 /etc/skel/.povrayrc
80 %{_mandir}/man1/*
81
82 %files X11
83 %defattr(644,root,root,755)
84 %attr(755,root,root) %{_bindir}/x-povray
This page took 0.035894 seconds and 4 git commands to generate.