2 # - Check to see if splitting plugins into several packages makes any sense
4 # - Check that everything works as expected.
5 # - Remove duplications in %files section.
6 # - Fix aqsis-scons-paths.patch so modyfing it after sysconfdir change will
8 # - Check why the second stage of compilation ignores CXX and CXXFLAGS and
10 Summary: Aqsis Rendering System
11 Summary(pl.UTF-8): System Renderujący Aqsis
15 License: GPL v2 / LGPL v2.1
16 Group: Applications/Graphics
17 Source0: http://dl.sourceforge.net/aqsis/%{name}-%{version}.tar.gz
18 # Source0-md5: ae9bb1c4b22e396fd7ce84ee3e13cb86
19 Patch0: aqsis-scons-paths.patch
20 URL: http://aqsis.sourceforge.net/
21 BuildRequires: OpenEXR-devel
22 BuildRequires: bison >= 1.35
23 BuildRequires: boost-devel >= 1.32.0
24 BuildRequires: flex >= 2.5.4
25 BuildRequires: fltk-devel >= 1.1.0
26 BuildRequires: libjpeg-devel >= 6b
27 BuildRequires: libstdc++-devel
28 BuildRequires: libtiff-devel >= 3.7.1
29 BuildRequires: libtool >= 2:1.5
30 BuildRequires: libxslt-progs
31 BuildRequires: zlib-devel >= 1.1.4
32 Provides: renderman-engine
33 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36 The Aqsis Rendering System consists of a set of libraries and
37 applications for creating high-quality computer imagery using the
38 Pixar RenderMan Interface.
40 %description -l pl.UTF-8
41 System renderujący Aqsis składa się z zestawu bibliotek i programów do
42 tworzenia wysokiej jakości obrazów komputerowych z użyciem interfejsu
43 RenderMan firmy Pixar.
46 Summary: Header files for Aqsis Rendering System
47 Summary(pl.UTF-8): Pliki nagłówkowe Systemu Renderującego Aqsis
48 Group: Development/Libraries
49 Requires: %{name} = %{version}-%{release}
50 Requires: libstdc++-devel
51 Requires: libtiff-devel
52 Requires: log4cpp-devel
56 Header files for Aqsis Rendering System.
58 %description devel -l pl.UTF-8
59 Pliki nagłówkowe systemu renderującego Aqsis.
67 export CXXFLAGS='%{rpmcflags}'
69 export CFLAGS='%{rpmcflags}'
70 # WARNING! If you'll change the sysconfdir argument below, remember to
71 # make apriopriate change in aqsis-scons-paths.patch!
73 install_prefix="$RPM_BUILD_ROOT%{_prefix}" \
74 sysconfdir="$RPM_BUILD_ROOT/etc/%{name}"
77 rm -rf $RPM_BUILD_ROOT
78 install -d $RPM_BUILD_ROOT{/etc/%{name},%{name},%{_bindir},%{_libdir},%{_datadir}/%{name}}
80 %{scons} install_prefix="$RPM_BUILD_ROOT%{_prefix}" install
81 #rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/lib*.la
82 #mv $RPM_BUILD_ROOT%{_usr}/etc $RPM_BUILD_ROOT
85 rm -rf $RPM_BUILD_ROOT
87 %post -p /sbin/ldconfig
88 %postun -p /sbin/ldconfig
91 %defattr(644,root,root,755)
92 %doc AUTHORS ReleaseNotes README
93 %attr(755,root,root) %{_bindir}/*
94 %attr(755,root,root) %{_libdir}/lib*.so*
95 %dir %{_libdir}/%{name}/
96 %attr(755,root,root) %{_libdir}/%{name}/*.so
97 %dir %{_libdir}/%{name}/plugins/
98 %attr(755,root,root) %{_libdir}/%{name}/plugins/*.so
99 %{_libdir}/%{name}/lib*.so*
104 %defattr(644,root,root,755)
105 #%attr(755,root,root) %{_libdir}/lib*.so
107 %{_includedir}/%{name}