]> git.pld-linux.org Git - packages/povray.git/commitdiff
- initial release
authorwrobell <wrobell@pld-linux.org>
Sat, 9 Oct 1999 22:08:01 +0000 (22:08 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    povray.spec -> 1.1

povray.spec [new file with mode: 0644]

diff --git a/povray.spec b/povray.spec
new file mode 100644 (file)
index 0000000..73e99d7
--- /dev/null
@@ -0,0 +1,88 @@
+# $Revision: 1.1 $
+Summary:       Persistence of Vision Ray Tracer
+Summary(pl):   Persistence of Vision Ray Tracer
+Name:          povray
+Version:       3.1g
+Release:       1
+Copyright:     distrituable
+Group:         Applications/Graphics
+Group(pl):     Aplikacje/Grafika
+Source0:       povuni_s.tgz
+Source1:       povuni_d.tgz
+Patch0:        povray31-makefile_and_config.patch
+URL:           http://www.povray.org/
+BuildRequires: zlib-devel
+BuildRequires: libpng-devel
+BuildRoot:    /tmp/%{name}-%{version}-root
+
+%define                _prefix         /usr/X11R6
+%define                _infodir        /usr/share/info
+%define                _mandir         /usr/X11R6/man
+%define                _sysconfdir     /etc/X11
+
+%description
+From the user manual:
+
+The Persistence of Vision(tm) Ray-Tracer creates three-dimensional,
+photo-realistic images using a rendering technique called ray-tracing. It reads
+in a text file containing information describing the objects and lighting in a
+scene and generates an image of that scene from the view point of a camera also
+described in the text file. Ray-tracing is not a fast process by any means,
+but it produces very high quality images with realistic reflections, shading,
+perspective and other effects.
+
+%description -l pl
+Z podrêcznika u¿ytkownika:
+
+Persistence of Vision(tm) Ray-Tracer tworzy trójwymiarowe, fotorealistyczne
+obrazy za pomoc± techniki renderingu zwanej ray-tracing. Program pobiera z
+pliku tekstowego informacje opisuj±ce obiekty oraz ¶wiat³o przedstawianego
+¶wiata, a nastêpnie generuje rysunek z punktu widzenia kamery, która tak¿e jest
+definiowana w w/w pliku tekstowym. Ray-tracing nie pozwala na szybkie tworzenie
+obrazów, ale za to twórca otrzymuje wyskokiej jako¶ci bitmapy z realistycznymi
+efektami, tj. odbicia ¶wiat³a, cienie, perspektywa i inne.
+
+%prep
+%setup -q -n povray31
+pushd ..
+tar zxf %{SOURCE1}
+popd
+
+%patch0 -p1
+
+%build
+pushd source/unix
+RPM_OPT_FLAGS="$RPM_OPT_FLAGS -DCPU=`echo %{_target_cpu} | sed 's/^i\([3-9]86\)$/\1/'`"
+make newunix
+make newxwin
+popd
+
+%install
+pushd source/unix
+install -d $RPM_BUILD_ROOT/usr/bin
+install -d $RPM_BUILD_ROOT/etc/skel
+install -s -m 755 povray x-povray $RPM_BUILD_ROOT/usr/bin
+install -m 644 povrayrc $RPM_BUILD_ROOT/etc/skel/.povrayrc
+popd
+
+gzip -9nf gamma.gif.txt povray.1 povlegal.doc
+bzip2 povuser.txt
+
+install -d $RPM_BUILD_ROOT/usr/share/man/man1
+install -m 644 povray.1.gz $RPM_BUILD_ROOT/usr/share/man/man1
+
+install -d $RPM_BUILD_ROOT/usr/share/povray31
+find . -type f -exec chmod 644 {} \;
+cp -r allscene include scenes $RPM_BUILD_ROOT/usr/share/povray31
+install -m 644 *.ini $RPM_BUILD_ROOT/usr/share/povray31
+install -m 644 *.pov $RPM_BUILD_ROOT/usr/share/povray31
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%doc gamma.gif.txt.gz povuser.txt.bz2 gamma.gif povlegal.doc.gz
+/usr/bin/x-povray
+/usr/bin/povray
+/usr/share/povray31
+/etc/skel/.povrayrc
This page took 0.03615 seconds and 4 git commands to generate.