]> git.pld-linux.org Git - packages/aqsis.git/blame - aqsis.spec
- Up to 1.2.0, NFY
[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 :)
e9ae76ce 10Summary: Aqsis Rendering System
76acba2c 11Summary(pl.UTF-8): System Renderujący Aqsis
e9ae76ce 12Name: aqsis
76acba2c 13Version: 1.2.0
14Release: 0.1
99645680 15License: GPL v2 / LGPL v2.1
7b5b6081 16Group: Applications/Graphics
c80c572a 17Source0: http://dl.sourceforge.net/aqsis/%{name}-%{version}.tar.gz
76acba2c 18# Source0-md5: ae9bb1c4b22e396fd7ce84ee3e13cb86
19Patch0: aqsis-scons-paths.patch
e9ae76ce 20URL: http://aqsis.sourceforge.net/
76acba2c 21BuildRequires: OpenEXR-devel
22BuildRequires: bison >= 1.35
23BuildRequires: boost-devel >= 1.32.0
24BuildRequires: flex >= 2.5.4
25BuildRequires: fltk-devel >= 1.1.0
26BuildRequires: libjpeg-devel >= 6b
7b5b6081 27BuildRequires: libstdc++-devel
76acba2c 28BuildRequires: libtiff-devel >= 3.7.1
7b5b6081 29BuildRequires: libtool >= 2:1.5
76acba2c 30BuildRequires: libxslt-progs
31BuildRequires: zlib-devel >= 1.1.4
e9ae76ce 32Provides: renderman-engine
33BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
35%description
7b5b6081
JB
36The Aqsis Rendering System consists of a set of libraries and
37applications for creating high-quality computer imagery using the
38Pixar RenderMan Interface.
e9ae76ce 39
f51d328d
JR
40%description -l pl.UTF-8
41System renderujący Aqsis składa się z zestawu bibliotek i programów do
42tworzenia wysokiej jakości obrazów komputerowych z użyciem interfejsu
7b5b6081
JB
43RenderMan firmy Pixar.
44
45%package devel
46Summary: Header files for Aqsis Rendering System
76acba2c 47Summary(pl.UTF-8): Pliki nagłówkowe Systemu Renderującego Aqsis
7b5b6081
JB
48Group: Development/Libraries
49Requires: %{name} = %{version}-%{release}
50Requires: libstdc++-devel
51Requires: libtiff-devel
52Requires: log4cpp-devel
53Requires: zlib-devel
54
55%description devel
56Header files for Aqsis Rendering System.
57
f51d328d
JR
58%description devel -l pl.UTF-8
59Pliki nagłówkowe systemu renderującego Aqsis.
e9ae76ce 60
61%prep
62%setup -q
76acba2c 63%patch0 -p1
e9ae76ce 64
65%build
76acba2c 66export CXX='%{__cxx}'
67export CXXFLAGS='%{rpmcflags}'
68export CC='%{__cc}'
69export 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
77rm -rf $RPM_BUILD_ROOT
76acba2c 78install -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
85rm -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}
This page took 0.071693 seconds and 4 git commands to generate.