- TODO update :)
[packages/aqsis.git] / aqsis.spec
CommitLineData
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 12Summary: Aqsis Rendering System
76acba2c 13Summary(pl.UTF-8): System Renderujący Aqsis
e9ae76ce 14Name: aqsis
76acba2c 15Version: 1.2.0
16Release: 0.1
99645680 17License: GPL v2 / LGPL v2.1
7b5b6081 18Group: Applications/Graphics
c80c572a 19Source0: http://dl.sourceforge.net/aqsis/%{name}-%{version}.tar.gz
76acba2c 20# Source0-md5: ae9bb1c4b22e396fd7ce84ee3e13cb86
21Patch0: aqsis-scons-paths.patch
e9ae76ce 22URL: http://aqsis.sourceforge.net/
76acba2c 23BuildRequires: OpenEXR-devel
24BuildRequires: bison >= 1.35
25BuildRequires: boost-devel >= 1.32.0
26BuildRequires: flex >= 2.5.4
27BuildRequires: fltk-devel >= 1.1.0
28BuildRequires: libjpeg-devel >= 6b
7b5b6081 29BuildRequires: libstdc++-devel
76acba2c 30BuildRequires: libtiff-devel >= 3.7.1
7b5b6081 31BuildRequires: libtool >= 2:1.5
76acba2c 32BuildRequires: libxslt-progs
33BuildRequires: zlib-devel >= 1.1.4
e9ae76ce 34Provides: renderman-engine
35BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36
37%description
7b5b6081
JB
38The Aqsis Rendering System consists of a set of libraries and
39applications for creating high-quality computer imagery using the
40Pixar RenderMan Interface.
e9ae76ce 41
f51d328d
JR
42%description -l pl.UTF-8
43System renderujący Aqsis składa się z zestawu bibliotek i programów do
44tworzenia wysokiej jakości obrazów komputerowych z użyciem interfejsu
7b5b6081
JB
45RenderMan firmy Pixar.
46
47%package devel
48Summary: Header files for Aqsis Rendering System
76acba2c 49Summary(pl.UTF-8): Pliki nagłówkowe Systemu Renderującego Aqsis
7b5b6081
JB
50Group: Development/Libraries
51Requires: %{name} = %{version}-%{release}
52Requires: libstdc++-devel
53Requires: libtiff-devel
54Requires: log4cpp-devel
55Requires: zlib-devel
56
57%description devel
58Header files for Aqsis Rendering System.
59
f51d328d
JR
60%description devel -l pl.UTF-8
61Pliki nagłówkowe systemu renderującego Aqsis.
e9ae76ce 62
63%prep
64%setup -q
76acba2c 65%patch0 -p1
e9ae76ce 66
67%build
76acba2c 68export CXX='%{__cxx}'
69export CXXFLAGS='%{rpmcflags}'
70export CC='%{__cc}'
71export CFLAGS='%{rpmcflags}'
72# WARNING! If you'll change the sysconfdir argument below, remember to
73# make apriopriate change in aqsis-scons-paths.patch!
74%{scons} \
75 install_prefix="$RPM_BUILD_ROOT%{_prefix}" \
76 sysconfdir="$RPM_BUILD_ROOT/etc/%{name}"
e9ae76ce 77
78%install
79rm -rf $RPM_BUILD_ROOT
76acba2c 80install -d $RPM_BUILD_ROOT{/etc/%{name},%{name},%{_bindir},%{_libdir},%{_datadir}/%{name}}
e9ae76ce 81
76acba2c 82%{scons} install_prefix="$RPM_BUILD_ROOT%{_prefix}" install
83#rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/lib*.la
84#mv $RPM_BUILD_ROOT%{_usr}/etc $RPM_BUILD_ROOT
7b5b6081 85
e9ae76ce 86%clean
7b5b6081
JB
87rm -rf $RPM_BUILD_ROOT
88
89%post -p /sbin/ldconfig
90%postun -p /sbin/ldconfig
e9ae76ce 91
92%files
93%defattr(644,root,root,755)
76acba2c 94%doc AUTHORS ReleaseNotes README
e9ae76ce 95%attr(755,root,root) %{_bindir}/*
76acba2c 96%attr(755,root,root) %{_libdir}/lib*.so*
97%dir %{_libdir}/%{name}/
98%attr(755,root,root) %{_libdir}/%{name}/*.so
99%dir %{_libdir}/%{name}/plugins/
100%attr(755,root,root) %{_libdir}/%{name}/plugins/*.so
7b5b6081 101%{_libdir}/%{name}/lib*.so*
e9ae76ce 102%{_datadir}/%{name}
76acba2c 103/etc/%{name}
7b5b6081
JB
104
105%files devel
106%defattr(644,root,root,755)
76acba2c 107#%attr(755,root,root) %{_libdir}/lib*.so
108#%{_libdir}/lib*.la
e9ae76ce 109%{_includedir}/%{name}
This page took 0.144014 seconds and 4 git commands to generate.