]> git.pld-linux.org Git - packages/aqsis.git/blame - aqsis.spec
- BR: scons
[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
331600b1 21Patch0: %{name}-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
331600b1 33BuildRequires: rpmbuild(macros) >= 1.337
f5be0e3b 34BuildRequires: scons
76acba2c 35BuildRequires: zlib-devel >= 1.1.4
e9ae76ce 36Provides: renderman-engine
37BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38
39%description
7b5b6081
JB
40The Aqsis Rendering System consists of a set of libraries and
41applications for creating high-quality computer imagery using the
42Pixar RenderMan Interface.
e9ae76ce 43
f51d328d
JR
44%description -l pl.UTF-8
45System renderujący Aqsis składa się z zestawu bibliotek i programów do
46tworzenia wysokiej jakości obrazów komputerowych z użyciem interfejsu
7b5b6081
JB
47RenderMan firmy Pixar.
48
49%package devel
50Summary: Header files for Aqsis Rendering System
76acba2c 51Summary(pl.UTF-8): Pliki nagłówkowe Systemu Renderującego Aqsis
7b5b6081
JB
52Group: Development/Libraries
53Requires: %{name} = %{version}-%{release}
54Requires: libstdc++-devel
55Requires: libtiff-devel
56Requires: log4cpp-devel
57Requires: zlib-devel
58
59%description devel
60Header files for Aqsis Rendering System.
61
f51d328d
JR
62%description devel -l pl.UTF-8
63Pliki nagłówkowe systemu renderującego Aqsis.
e9ae76ce 64
65%prep
66%setup -q
76acba2c 67%patch0 -p1
e9ae76ce 68
69%build
76acba2c 70export CXX='%{__cxx}'
71export CXXFLAGS='%{rpmcflags}'
72export CC='%{__cc}'
73export CFLAGS='%{rpmcflags}'
74# WARNING! If you'll change the sysconfdir argument below, remember to
75# make apriopriate change in aqsis-scons-paths.patch!
631c6eb1
ER
76%scons \
77 install_prefix=$RPM_BUILD_ROOT%{_prefix} \
78 sysconfdir=$RPM_BUILD_ROOT/etc/%{name}
e9ae76ce 79
80%install
81rm -rf $RPM_BUILD_ROOT
76acba2c 82install -d $RPM_BUILD_ROOT{/etc/%{name},%{name},%{_bindir},%{_libdir},%{_datadir}/%{name}}
e9ae76ce 83
631c6eb1
ER
84%scons install_prefix=$RPM_BUILD_ROOT%{_prefix} \
85 install
76acba2c 86#rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/lib*.la
87#mv $RPM_BUILD_ROOT%{_usr}/etc $RPM_BUILD_ROOT
7b5b6081 88
e9ae76ce 89%clean
7b5b6081
JB
90rm -rf $RPM_BUILD_ROOT
91
92%post -p /sbin/ldconfig
93%postun -p /sbin/ldconfig
e9ae76ce 94
95%files
96%defattr(644,root,root,755)
76acba2c 97%doc AUTHORS ReleaseNotes README
331600b1 98/etc/%{name}
e9ae76ce 99%attr(755,root,root) %{_bindir}/*
76acba2c 100%attr(755,root,root) %{_libdir}/lib*.so*
331600b1 101%dir %{_libdir}/%{name}
76acba2c 102%attr(755,root,root) %{_libdir}/%{name}/*.so
331600b1 103%dir %{_libdir}/%{name}/plugins
76acba2c 104%attr(755,root,root) %{_libdir}/%{name}/plugins/*.so
331600b1 105%attr(755,root,root) %{_libdir}/%{name}/lib*.so*
e9ae76ce 106%{_datadir}/%{name}
7b5b6081
JB
107
108%files devel
109%defattr(644,root,root,755)
76acba2c 110#%attr(755,root,root) %{_libdir}/lib*.so
111#%{_libdir}/lib*.la
e9ae76ce 112%{_includedir}/%{name}
This page took 0.109689 seconds and 4 git commands to generate.