]>
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 :) | |
2e599637 | 10 | # - Proper configuration files handling by SPEC. |
11 | # - Fix paths in configuration file. | |
e9ae76ce | 12 | Summary: Aqsis Rendering System |
76acba2c | 13 | Summary(pl.UTF-8): System Renderujący Aqsis |
e9ae76ce | 14 | Name: aqsis |
76acba2c | 15 | Version: 1.2.0 |
16 | Release: 0.1 | |
99645680 | 17 | License: GPL v2 / LGPL v2.1 |
7b5b6081 | 18 | Group: Applications/Graphics |
c80c572a | 19 | Source0: http://dl.sourceforge.net/aqsis/%{name}-%{version}.tar.gz |
76acba2c | 20 | # Source0-md5: ae9bb1c4b22e396fd7ce84ee3e13cb86 |
331600b1 | 21 | Patch0: %{name}-scons-paths.patch |
e9ae76ce | 22 | URL: http://aqsis.sourceforge.net/ |
76acba2c | 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 | |
7b5b6081 | 29 | BuildRequires: libstdc++-devel |
76acba2c | 30 | BuildRequires: libtiff-devel >= 3.7.1 |
7b5b6081 | 31 | BuildRequires: libtool >= 2:1.5 |
76acba2c | 32 | BuildRequires: libxslt-progs |
331600b1 | 33 | BuildRequires: rpmbuild(macros) >= 1.337 |
76acba2c | 34 | BuildRequires: zlib-devel >= 1.1.4 |
e9ae76ce | 35 | Provides: renderman-engine |
36 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
37 | ||
38 | %description | |
7b5b6081 JB |
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. | |
e9ae76ce | 42 | |
f51d328d JR |
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 | |
7b5b6081 JB |
46 | RenderMan firmy Pixar. |
47 | ||
48 | %package devel | |
49 | Summary: Header files for Aqsis Rendering System | |
76acba2c | 50 | Summary(pl.UTF-8): Pliki nagłówkowe Systemu Renderującego Aqsis |
7b5b6081 JB |
51 | Group: Development/Libraries |
52 | Requires: %{name} = %{version}-%{release} | |
53 | Requires: libstdc++-devel | |
54 | Requires: libtiff-devel | |
55 | Requires: log4cpp-devel | |
56 | Requires: zlib-devel | |
57 | ||
58 | %description devel | |
59 | Header files for Aqsis Rendering System. | |
60 | ||
f51d328d JR |
61 | %description devel -l pl.UTF-8 |
62 | Pliki nagłówkowe systemu renderującego Aqsis. | |
e9ae76ce | 63 | |
64 | %prep | |
65 | %setup -q | |
76acba2c | 66 | %patch0 -p1 |
e9ae76ce | 67 | |
68 | %build | |
76acba2c | 69 | export CXX='%{__cxx}' |
70 | export CXXFLAGS='%{rpmcflags}' | |
71 | export CC='%{__cc}' | |
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! | |
631c6eb1 ER |
75 | %scons \ |
76 | install_prefix=$RPM_BUILD_ROOT%{_prefix} \ | |
77 | sysconfdir=$RPM_BUILD_ROOT/etc/%{name} | |
e9ae76ce | 78 | |
79 | %install | |
80 | rm -rf $RPM_BUILD_ROOT | |
76acba2c | 81 | install -d $RPM_BUILD_ROOT{/etc/%{name},%{name},%{_bindir},%{_libdir},%{_datadir}/%{name}} |
e9ae76ce | 82 | |
631c6eb1 ER |
83 | %scons install_prefix=$RPM_BUILD_ROOT%{_prefix} \ |
84 | install | |
76acba2c | 85 | #rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/lib*.la |
86 | #mv $RPM_BUILD_ROOT%{_usr}/etc $RPM_BUILD_ROOT | |
7b5b6081 | 87 | |
e9ae76ce | 88 | %clean |
7b5b6081 JB |
89 | rm -rf $RPM_BUILD_ROOT |
90 | ||
91 | %post -p /sbin/ldconfig | |
92 | %postun -p /sbin/ldconfig | |
e9ae76ce | 93 | |
94 | %files | |
95 | %defattr(644,root,root,755) | |
76acba2c | 96 | %doc AUTHORS ReleaseNotes README |
331600b1 | 97 | /etc/%{name} |
e9ae76ce | 98 | %attr(755,root,root) %{_bindir}/* |
76acba2c | 99 | %attr(755,root,root) %{_libdir}/lib*.so* |
331600b1 | 100 | %dir %{_libdir}/%{name} |
76acba2c | 101 | %attr(755,root,root) %{_libdir}/%{name}/*.so |
331600b1 | 102 | %dir %{_libdir}/%{name}/plugins |
76acba2c | 103 | %attr(755,root,root) %{_libdir}/%{name}/plugins/*.so |
331600b1 | 104 | %attr(755,root,root) %{_libdir}/%{name}/lib*.so* |
e9ae76ce | 105 | %{_datadir}/%{name} |
7b5b6081 JB |
106 | |
107 | %files devel | |
108 | %defattr(644,root,root,755) | |
76acba2c | 109 | #%attr(755,root,root) %{_libdir}/lib*.so |
110 | #%{_libdir}/lib*.la | |
e9ae76ce | 111 | %{_includedir}/%{name} |