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 # - Proper configuration files handling by SPEC.
11 # - Fix paths in configuration file.
12 Summary: Aqsis Rendering System
13 Summary(pl.UTF-8): System Renderujący Aqsis
17 License: GPL v2 / LGPL v2.1
18 Group: Applications/Graphics
19 Source0: http://dl.sourceforge.net/aqsis/%{name}-%{version}.tar.gz
20 # Source0-md5: ae9bb1c4b22e396fd7ce84ee3e13cb86
21 Patch0: %{name}-scons-paths.patch
22 URL: http://aqsis.sourceforge.net/
23 BuildRequires: OpenEXR-devel
24 BuildRequires: bison >= 1.35
25 BuildRequires: boost-devel >= 1.32.0
26 BuildRequires: flex >= 2.5.4
27 BuildRequires: fltk-devel >= 1.1.0
28 BuildRequires: libjpeg-devel >= 6b
29 BuildRequires: libstdc++-devel
30 BuildRequires: libtiff-devel >= 3.7.1
31 BuildRequires: libtool >= 2:1.5
32 BuildRequires: libxslt-progs
33 BuildRequires: rpmbuild(macros) >= 1.337
34 BuildRequires: zlib-devel >= 1.1.4
35 Provides: renderman-engine
36 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
39 The Aqsis Rendering System consists of a set of libraries and
40 applications for creating high-quality computer imagery using the
41 Pixar RenderMan Interface.
43 %description -l pl.UTF-8
44 System renderujący Aqsis składa się z zestawu bibliotek i programów do
45 tworzenia wysokiej jakości obrazów komputerowych z użyciem interfejsu
46 RenderMan firmy Pixar.
49 Summary: Header files for Aqsis Rendering System
50 Summary(pl.UTF-8): Pliki nagłówkowe Systemu Renderującego Aqsis
51 Group: Development/Libraries
52 Requires: %{name} = %{version}-%{release}
53 Requires: libstdc++-devel
54 Requires: libtiff-devel
55 Requires: log4cpp-devel
59 Header files for Aqsis Rendering System.
61 %description devel -l pl.UTF-8
62 Pliki nagłówkowe systemu renderującego Aqsis.
70 export CXXFLAGS='%{rpmcflags}'
72 export CFLAGS='%{rpmcflags}'
73 # WARNING! If you'll change the sysconfdir argument below, remember to
74 # make apriopriate change in aqsis-scons-paths.patch!
76 install_prefix=$RPM_BUILD_ROOT%{_prefix} \
77 sysconfdir=$RPM_BUILD_ROOT/etc/%{name}
80 rm -rf $RPM_BUILD_ROOT
81 install -d $RPM_BUILD_ROOT{/etc/%{name},%{name},%{_bindir},%{_libdir},%{_datadir}/%{name}}
83 %scons install_prefix=$RPM_BUILD_ROOT%{_prefix} \
85 #rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/lib*.la
86 #mv $RPM_BUILD_ROOT%{_usr}/etc $RPM_BUILD_ROOT
89 rm -rf $RPM_BUILD_ROOT
91 %post -p /sbin/ldconfig
92 %postun -p /sbin/ldconfig
95 %defattr(644,root,root,755)
96 %doc AUTHORS ReleaseNotes README
98 %attr(755,root,root) %{_bindir}/*
99 %attr(755,root,root) %{_libdir}/lib*.so*
100 %dir %{_libdir}/%{name}
101 %attr(755,root,root) %{_libdir}/%{name}/*.so
102 %dir %{_libdir}/%{name}/plugins
103 %attr(755,root,root) %{_libdir}/%{name}/plugins/*.so
104 %attr(755,root,root) %{_libdir}/%{name}/lib*.so*
108 %defattr(644,root,root,755)
109 #%attr(755,root,root) %{_libdir}/lib*.so
111 %{_includedir}/%{name}