2 # - Check that everything works as expected.
3 # - Remove duplications in %files section.
4 Summary: Aqsis Rendering System
5 Summary(pl.UTF-8): System Renderujący Aqsis
9 License: GPL v2 / LGPL v2.1
10 Group: Applications/Graphics
11 Source0: http://dl.sourceforge.net/aqsis/%{name}-%{version}.tar.gz
12 # Source0-md5: ae9bb1c4b22e396fd7ce84ee3e13cb86
13 Patch0: %{name}-scons-paths.patch
14 URL: http://aqsis.sourceforge.net/
15 BuildRequires: OpenEXR-devel
16 BuildRequires: bison >= 1.35
17 BuildRequires: boost-devel >= 1.32.0
18 BuildRequires: flex >= 2.5.4
19 BuildRequires: fltk-devel >= 1.1.0
20 BuildRequires: libjpeg-devel >= 6b
21 BuildRequires: libstdc++-devel
22 BuildRequires: libtiff-devel >= 3.7.1
23 BuildRequires: libtool >= 2:1.5
24 BuildRequires: libxslt-progs
25 BuildRequires: rpmbuild(macros) >= 1.337
27 BuildRequires: zlib-devel >= 1.1.4
28 Provides: renderman-engine
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32 The Aqsis Rendering System consists of a set of libraries and
33 applications for creating high-quality computer imagery using the
34 Pixar RenderMan Interface.
36 %description -l pl.UTF-8
37 System Renderujący Aqsis składa się z zestawu bibliotek i programów
38 do tworzenia wysokiej jakości obrazów komputerowych z użyciem
39 interfejsu RenderMan firmy Pixar.
42 Summary: Header files for Aqsis Rendering System
43 Summary(pl.UTF-8): Pliki nagłówkowe Systemu Renderującego Aqsis
44 Group: Development/Libraries
45 Requires: %{name} = %{version}-%{release}
46 Requires: libstdc++-devel
47 Requires: libtiff-devel
48 Requires: log4cpp-devel
52 Header files for Aqsis Rendering System.
54 %description devel -l pl.UTF-8
55 Pliki nagłówkowe Systemu Renderującego Aqsis.
62 # We cannot build the targets here, because 'scons install' fires the entire
63 # compilation from the start.
66 rm -rf $RPM_BUILD_ROOT
67 install -d $RPM_BUILD_ROOT{/etc/%{name},%{name},%{_bindir},%{_libdir},%{_datadir}/%{name}}
69 # @LIBDIR@, @SHAREDIR@ and @CONFDIR@ comes from the aqsis-scons-paths patch
70 sed -e 's:@LIBDIR@:%{_libdir}:g' -i SConstruct
71 sed -e 's:@SHAREDIR@:%{_datadir}/%{name}:g' \
72 -e 's:@CONFDIR@:/etc/%{name}:g' \
73 -i platform/default/SConscript
76 export CXXFLAGS='%{rpmcflags}'
78 export CFLAGS='%{rpmcflags}'
80 install_prefix=$RPM_BUILD_ROOT%{_prefix} \
81 sysconfdir=$RPM_BUILD_ROOT/etc/%{name} \
83 sed -e "s:$RPM_BUILD_ROOT::g" -i $RPM_BUILD_ROOT/etc/%{name}/aqsisrc
86 rm -rf $RPM_BUILD_ROOT
88 %post -p /sbin/ldconfig
89 %postun -p /sbin/ldconfig
92 %defattr(644,root,root,755)
93 %doc AUTHORS ReleaseNotes README
95 %config(noreplace) %verify(not md5 mtime size) /etc/%{name}/*
96 %attr(755,root,root) %{_bindir}/*
97 %attr(755,root,root) %{_libdir}/lib*.so*
98 %dir %{_libdir}/%{name}
99 %attr(755,root,root) %{_libdir}/%{name}/*.so
100 %dir %{_libdir}/%{name}/plugins
101 %attr(755,root,root) %{_libdir}/%{name}/plugins/*.so
102 %attr(755,root,root) %{_libdir}/%{name}/lib*.so*
106 %defattr(644,root,root,755)
107 %{_includedir}/%{name}