]>
Commit | Line | Data |
---|---|---|
76acba2c | 1 | # TODO: |
2 | # - Check to see if splitting plugins into several packages makes any sense | |
3 | # (probably not). | |
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 | |
7 | # not be needed. | |
8 | # - Check why the second stage of compilation ignores CXX and CXXFLAGS and | |
9 | # fix it of course :) | |
e9ae76ce | 10 | Summary: Aqsis Rendering System |
76acba2c | 11 | Summary(pl.UTF-8): System Renderujący Aqsis |
e9ae76ce | 12 | Name: aqsis |
76acba2c | 13 | Version: 1.2.0 |
14 | Release: 0.1 | |
99645680 | 15 | License: GPL v2 / LGPL v2.1 |
7b5b6081 | 16 | Group: Applications/Graphics |
c80c572a | 17 | Source0: http://dl.sourceforge.net/aqsis/%{name}-%{version}.tar.gz |
76acba2c | 18 | # Source0-md5: ae9bb1c4b22e396fd7ce84ee3e13cb86 |
19 | Patch0: aqsis-scons-paths.patch | |
e9ae76ce | 20 | URL: http://aqsis.sourceforge.net/ |
76acba2c | 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 | |
7b5b6081 | 27 | BuildRequires: libstdc++-devel |
76acba2c | 28 | BuildRequires: libtiff-devel >= 3.7.1 |
7b5b6081 | 29 | BuildRequires: libtool >= 2:1.5 |
76acba2c | 30 | BuildRequires: libxslt-progs |
31 | BuildRequires: zlib-devel >= 1.1.4 | |
e9ae76ce | 32 | Provides: renderman-engine |
33 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
34 | ||
35 | %description | |
7b5b6081 JB |
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. | |
e9ae76ce | 39 | |
f51d328d JR |
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 | |
7b5b6081 JB |
43 | RenderMan firmy Pixar. |
44 | ||
45 | %package devel | |
46 | Summary: Header files for Aqsis Rendering System | |
76acba2c | 47 | Summary(pl.UTF-8): Pliki nagłówkowe Systemu Renderującego Aqsis |
7b5b6081 JB |
48 | Group: Development/Libraries |
49 | Requires: %{name} = %{version}-%{release} | |
50 | Requires: libstdc++-devel | |
51 | Requires: libtiff-devel | |
52 | Requires: log4cpp-devel | |
53 | Requires: zlib-devel | |
54 | ||
55 | %description devel | |
56 | Header files for Aqsis Rendering System. | |
57 | ||
f51d328d JR |
58 | %description devel -l pl.UTF-8 |
59 | Pliki nagłówkowe systemu renderującego Aqsis. | |
e9ae76ce | 60 | |
61 | %prep | |
62 | %setup -q | |
76acba2c | 63 | %patch0 -p1 |
e9ae76ce | 64 | |
65 | %build | |
76acba2c | 66 | export CXX='%{__cxx}' |
67 | export CXXFLAGS='%{rpmcflags}' | |
68 | export CC='%{__cc}' | |
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! | |
72 | %{scons} \ | |
73 | install_prefix="$RPM_BUILD_ROOT%{_prefix}" \ | |
74 | sysconfdir="$RPM_BUILD_ROOT/etc/%{name}" | |
e9ae76ce | 75 | |
76 | %install | |
77 | rm -rf $RPM_BUILD_ROOT | |
76acba2c | 78 | install -d $RPM_BUILD_ROOT{/etc/%{name},%{name},%{_bindir},%{_libdir},%{_datadir}/%{name}} |
e9ae76ce | 79 | |
76acba2c | 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 | |
7b5b6081 | 83 | |
e9ae76ce | 84 | %clean |
7b5b6081 JB |
85 | rm -rf $RPM_BUILD_ROOT |
86 | ||
87 | %post -p /sbin/ldconfig | |
88 | %postun -p /sbin/ldconfig | |
e9ae76ce | 89 | |
90 | %files | |
91 | %defattr(644,root,root,755) | |
76acba2c | 92 | %doc AUTHORS ReleaseNotes README |
e9ae76ce | 93 | %attr(755,root,root) %{_bindir}/* |
76acba2c | 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 | |
7b5b6081 | 99 | %{_libdir}/%{name}/lib*.so* |
e9ae76ce | 100 | %{_datadir}/%{name} |
76acba2c | 101 | /etc/%{name} |
7b5b6081 JB |
102 | |
103 | %files devel | |
104 | %defattr(644,root,root,755) | |
76acba2c | 105 | #%attr(755,root,root) %{_libdir}/lib*.so |
106 | #%{_libdir}/lib*.la | |
e9ae76ce | 107 | %{_includedir}/%{name} |