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