]> git.pld-linux.org Git - packages/Radiance.git/blame - Radiance.spec
0928bf0d2ae47ef6c4fe46656ff6074f SOURCES/rad3r1p8.tar.Z
[packages/Radiance.git] / Radiance.spec
CommitLineData
69246c08 1Summary: Radiance 3D Photo-Realistic Renderer.
2Summary(pl): 3D fotorealistyczny program do renderowania scen.
3Name: Radiance
4%define filename rad
5Version: 3r1p8
6Release: 1
7Group: Applications/Graphics
8Group(pl): Aplikacje/Grafika
9License: distributable
10Source0: http://radsite.lbl.gov/radiance/pub/%{filename}%{version}.tar.Z
11Patch0: %{name}-PLD.patch
12URL: http://radsite.lbl.gov/radiance/HOME.html
13BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15%description
16Advenced 3D Photo-Realistic Renderer.
17
18%description -l pl
19Zaawansowany program do 3D modelowania scen.
20
21%prep
22%setup -q -n ray
23%patch0 -p1
24
25%build
26
27%install
28rm -rf $RPM_BUILD_ROOT
29
30install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/ray,%{_mandir}/man{1,3,5}}
31(cd lib; tar cf - * )|(cd $RPM_BUILD_ROOT%{_libdir}/ray ; tar xf -)
32cd src
33KAT=`pwd`
34for i in common meta cv gen ot rt px util cal/{ev,calc,rcalc,util};
35do
36 cd $i
37 make \
38 "OPT=%{?debug:-O -g}%{!?debug:$RPM_OPT_FLAGS}" \
39 "DESTDIR=$RPM_BUILD_ROOT" \
40"MACH=-DBSD -Dlinux -DSPEED=40 -DDCL_ATOF -DBIGMEM -L%{_prefix}/X11R6/lib" \
41 "ARCH=IBMPC" \
42 "COMPAT=malloc.o erf.o getpagesize.o" \
43 "INSTDIR=%{_bindir}" \
44 "LIBDIR=%{_libdir}/ray" \
45 "CC=gcc" \
46 -f Rmakefile install
47 cd $KAT
48done
49cd ..
50for i in 1 3 5; do
51 install doc/man/man$i/*.$i $RPM_BUILD_ROOT%{_mandir}/man$i/;
52done;
53install doc/*.1 $RPM_BUILD_ROOT%{_mandir}/man1/
54gzip -9nf doc/ps/* doc/notes/* doc/digest/*
55
56%clean
57rm -rf $RPM_BUILD_ROOT
58
59%files
60%defattr(644,root,root,755)
61%attr(755,root,root) %{_bindir}/*
62%{_libdir}/ray/
63%{_mandir}/man?/*
64%doc doc/ps doc/notes/* doc/digest README
This page took 0.270153 seconds and 4 git commands to generate.