# force out-of-tree build for spec compatibility with older releases %undefine __cmake_in_source_build Name: aqsis Version: 1.8.2 Release: 59%{?dist} Summary: Open source 3D rendering solution adhering to the RenderMan standard # Automatically converted from old format: GPLv2+ and LGPLv2+ - review is highly recommended. License: GPL-2.0-or-later AND LicenseRef-Callaway-LGPLv2+ URL: http://www.aqsis.org Source0: http://downloads.sourceforge.net/aqsis/aqsis-%{version}.tar.gz # fix build against ilmbase-2.x, kudos to arch linux Patch1: imfinputfile-forward-declaration.diff # Work-around boost-1.59 having dropped # dropped boost/serialization/pfto.hpp # and BOOST_MAKE_PFTO_WRAPPER Patch2: aqsis-1.8.2-boost-1.59.patch # Fix code to be C++11 compatible # https://sourceforge.net/p/aqsis/bugs/433/ Patch3: aqsis-1.8.2-gcc6.patch Patch4: aqsis-1.8.2-shared_ptr.patch Patch5: aqsis-gcc11.patch BuildRequires: desktop-file-utils BuildRequires: bison >= 1.35.0 BuildRequires: boost-devel >= 1.34.0 BuildRequires: cmake >= 2.6.3 BuildRequires: doxygen BuildRequires: flex >= 2.5.4 BuildRequires: fltk-devel >= 1.1.0, fltk-fluid BuildRequires: libjpeg-devel >= 6 BuildRequires: libtiff-devel >= 3.7.1 BuildRequires: libpng-devel BuildRequires: libxslt BuildRequires: qt4-devel >= 4.6.2 #BuildRequires: tinyxml-devel # As of OpenEXR 3 upstream has significantly reorganized the libraries # including splitting out imath as a standalone library (which this project may # or may not need). Please see # https://github.com/AcademySoftwareFoundation/Imath/blob/master/docs/PortingGuide2-3.md # for porting details and encourage upstream to support it. For now a 2.x # compat package is provided. # FTR, it looks like imath-devel will be required... %if 0%{?fedora} > 34 BuildRequires: cmake(OpenEXR) < 3 #BuildRequires: cmake(Imath) %else BuildRequires: OpenEXR-devel %endif BuildRequires: python3-sphinx BuildRequires: zlib-devel >= 1.1.4 Requires: qt4%{?_isa} >= %{_qt4_version} Requires: aqsis-core = %{version}-%{release} Requires: aqsis-data = %{version}-%{release} %description Aqsis is a cross-platform photo-realistic 3D rendering solution, adhering to the RenderMan interface standard defined by Pixar Animation Studios. This package contains graphical utilities and desktop integration. %package core Requires: %{name}-libs = %{version}-%{release} Summary: Command-line tools for Aqsis Renderer %description core Aqsis is a cross-platform photo-realistic 3D rendering solution, adhering to the RenderMan interface standard defined by Pixar Animation Studios. This package contains a command-line renderer, a shader compiler for shaders written using the RenderMan shading language, a texture pre-processor for optimizing textures and a RIB processor. %package libs Summary: Library files for Aqsis Renderer %description libs Aqsis is a cross-platform photo-realistic 3D rendering solution, adhering to the RenderMan interface standard defined by Pixar Animation Studios. This package contains the shared libraries for Aqsis Renderer. %package data Requires: %{name} = %{version}-%{release} Summary: Example content for Aqsis Renderer BuildArch: noarch %description data Aqsis is a cross-platform photo-realistic 3D rendering solution, adhering to the RenderMan interface standard defined by Pixar Animation Studios. This package contains example content, including additional scenes, procedurals and shaders. %package devel Requires: %{name} = %{version}-%{release} Requires: aqsis-core = %{version}-%{release} Requires: aqsis-libs = %{version}-%{release} Requires: aqsis-data = %{version}-%{release} Summary: Development files for Aqsis Renderer %description devel Aqsis is a cross-platform photo-realistic 3D rendering solution, adhering to the RenderMan interface standard defined by Pixar Animation Studios. This package contains various developer libraries to enable integration with third-party applications. %prep %setup -q %patch -P1 -p1 -b imfinputfile-forward-declaration %patch -P2 -p1 %patch -P3 -p1 %patch -P4 -p1 %patch -P5 -p1 %build ## Do not Enable pdiff=yes Because it will conflict with Printdiff : ## /usr/bin/pdiff from package a2ps %cmake \ -DSYSCONFDIR:STRING=%{_sysconfdir}/%{name} \ -DAQSIS_MAIN_CONFIG_NAME=aqsisrc-%{_lib} \ -DLIBDIR=%{_lib} \ -DPLUGINDIR=%{_lib}/%{name} \ -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \ -DCMAKE_SKIP_RPATH:BOOL=ON \ -DAQSIS_USE_RPATH:BOOL=OFF \ -DAQSIS_BOOST_FILESYSTEM_LIBRARY_NAME=boost_filesystem-mt \ -DAQSIS_BOOST_REGEX_LIBRARY_NAME=boost_regex-mt \ -DAQSIS_BOOST_THREAD_LIBRARY_NAME=boost_thread-mt \ -DAQSIS_BOOST_WAVE_LIBRARY_NAME=boost_wave-mt \ -DAQSIS_ENABLE_THREADING:BOOL=ON \ -DCMAKE_CXX_FLAGS="$CXXFLAGS -DBOOST_FILESYSTEM_VERSION=3 -DBOOST_TIMER_ENABLE_DEPRECATED -pthread" \ -DAQSIS_USE_EXTERNAL_TINYXML:BOOL=OFF %cmake_build %install %cmake_install # Move aqsisrc mv $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/aqsisrc \ $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/aqsisrc-%{_lib} desktop-file-install --vendor "" --delete-original \ --dir $RPM_BUILD_ROOT%{_datadir}/applications \ $RPM_BUILD_ROOT%{_datadir}/applications/aqsis.desktop desktop-file-install --vendor "" --delete-original \ --dir $RPM_BUILD_ROOT%{_datadir}/applications \ $RPM_BUILD_ROOT%{_datadir}/applications/aqsl.desktop desktop-file-install --vendor "" --delete-original \ --dir $RPM_BUILD_ROOT%{_datadir}/applications \ $RPM_BUILD_ROOT%{_datadir}/applications/aqsltell.desktop desktop-file-install --vendor "" --delete-original \ --dir $RPM_BUILD_ROOT%{_datadir}/applications \ $RPM_BUILD_ROOT%{_datadir}/applications/eqsl.desktop desktop-file-install --vendor "" --delete-original \ --dir $RPM_BUILD_ROOT%{_datadir}/applications \ $RPM_BUILD_ROOT%{_datadir}/applications/piqsl.desktop %ldconfig_scriptlets libs %files %doc AUTHORS README %license COPYING %{_bindir}/eqsl %{_bindir}/piqsl %{_bindir}/ptview # Do not use the name pdiff for PerceptualDiff # It is used by PrintDiff in a2ps #{_bindir}/pdiff %{_datadir}/applications/aqsis.desktop %{_datadir}/applications/aqsl.desktop %{_datadir}/applications/aqsltell.desktop %{_datadir}/applications/eqsl.desktop %{_datadir}/applications/piqsl.desktop %{_datadir}/pixmaps/aqsis.png %{_datadir}/icons/hicolor/192x192/mimetypes/aqsis-doc.png %{_datadir}/mime/packages/aqsis.xml %files core %{_bindir}/aqsis %{_bindir}/aqsl %{_bindir}/aqsltell %{_bindir}/miqser %{_bindir}/teqser %files libs %dir %{_sysconfdir}/%{name} ## Do not use noreplace with aqsis release ## This may definitly change in future releases. %config %{_sysconfdir}/%{name}/aqsisrc-%{_lib} %{_libdir}/%{name}/ # Licensed under GPLv2+ %{_libdir}/libaqsis_*.so.* # Licensed under LGPLv2+ #{_libdir}/libaqsis_ri2rib.so.* %files devel %{_includedir}/%{name}/ # Licensed under GPLv2+ %{_libdir}/libaqsis_*.so # Licensed under LGPLv2+ #{_libdir}/libaqsis_ri2rib.so %files data %dir %{_datadir}/%{name} %{_datadir}/%{name}/examples/ %{_datadir}/%{name}/plugins/ %{_datadir}/%{name}/scripts/ %{_datadir}/%{name}/shaders/ %changelog * Wed Aug 28 2024 Miroslav Suchý - 1.8.2-59 - convert license to SPDX * Wed Jul 17 2024 Fedora Release Engineering - 1.8.2-58 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 1.8.2-57 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 1.8.2-56 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Jan 17 2024 Jonathan Wakely - 1.8.2-55 - Rebuilt for Boost 1.83 * Wed Dec 06 2023 Patrick Palka - 1.8.2-54 * Fix build with boost-1.83.0 * Wed Jul 19 2023 Fedora Release Engineering - 1.8.2-53 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sat Feb 25 2023 Mamoru TASAKA - 1.8.2-52 - Rebuild for openexr2 2.5.8 * Mon Feb 20 2023 Jonathan Wakely - 1.8.2-51 - Rebuilt for Boost 1.81 * Wed Jan 18 2023 Fedora Release Engineering - 1.8.2-50 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Wed Jul 20 2022 Fedora Release Engineering - 1.8.2-49 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed May 04 2022 Thomas Rodgers - 1.8.2-48 - Rebuilt for Boost 1.78 * Wed Jan 19 2022 Fedora Release Engineering - 1.8.2-47 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Aug 06 2021 Jonathan Wakely - 1.8.2-46 - Rebuilt for Boost 1.76 * Sat Jul 31 2021 Richard Shaw - 1.8.2-45 - Move to openexr2 compat package. * Wed Jul 21 2021 Fedora Release Engineering - 1.8.2-44 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 1.8.2-43 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Fri Jan 22 2021 Jonathan Wakely - 1.8.2-42 - Rebuilt for Boost 1.75 * Fri Jan 01 2021 Richard Shaw - 1.8.2-41 - Rebuild for OpenEXR 2.5.3. * Tue Aug 18 2020 Jeff Law - 1.8.2-40 - Fix C++17 problems * Sat Aug 01 2020 Fedora Release Engineering - 1.8.2-39 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 1.8.2-38 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 30 2020 Nicolas Chauvet - 1.8.2-37 - Fix FTBFS * Tue Jan 28 2020 Fedora Release Engineering - 1.8.2-36 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Jul 24 2019 Fedora Release Engineering - 1.8.2-35 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Wed Apr 10 2019 Richard Shaw - 1.8.2-34 - Rebuild for OpenEXR 2.3.0. * Sun Apr 07 2019 Ralf Corsépius - 1.8.2-33 - Append -pthread to CXXFLAGS (F30FTBS RHBZ#1674655). - Build with python3-sphinx. - Spec cosmetics. * Thu Jan 31 2019 Fedora Release Engineering - 1.8.2-32 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Thu Jul 12 2018 Fedora Release Engineering - 1.8.2-31 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 1.8.2-30 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Sun Jan 07 2018 Igor Gnatenko - 1.8.2-29 - Remove obsolete scriptlets * Wed Aug 02 2017 Fedora Release Engineering - 1.8.2-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 1.8.2-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Mon Jul 03 2017 Jonathan Wakely - 1.8.2-26 - Rebuilt for Boost 1.64 * Fri Feb 10 2017 Fedora Release Engineering - 1.8.2-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Fri Jan 27 2017 Jonathan Wakely - 1.8.2-24 - Rebuilt for Boost 1.63 * Mon May 16 2016 Jonathan Wakely - 1.8.2-23 - Fix FTBFS with GCC 6 (#1307323) * Wed Feb 03 2016 Fedora Release Engineering - 1.8.2-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jan 14 2016 Jonathan Wakely - 1.8.2-22 - Rebuilt for Boost 1.60 * Sun Sep 27 2015 Ralf Corsépius - 1.8.2-21 - Rebuild for boost 1.59 (Add aqsis-1.8.2-boost-1.59.patch). - Add %%license. - Modernize spec. * Wed Jul 29 2015 Fedora Release Engineering - 1.8.2-20 - Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159 * Wed Jul 22 2015 David Tardon - 1.8.2-19 - rebuild for Boost 1.58 * Wed Jun 17 2015 Fedora Release Engineering - 1.8.2-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat May 02 2015 Kalev Lember - 1.8.2-17 - Rebuilt for GCC 5 C++11 ABI change * Thu Feb 19 2015 Rex Dieter 1.8.2-16 - rebuild (fltk) * Sat Feb 07 2015 Ralf Corsépius - 1.8.2-15 - Rebuild for boost 1.57.0 (Previous attempt had failed). - Fix bogus %%changelog dates. * Mon Jan 26 2015 Petr Machata - 1.8.2-14 - Rebuild for boost 1.57.0 * Wed Nov 26 2014 Rex Dieter 1.8.2-13 - rebuild (openexr) * Fri Aug 15 2014 Fedora Release Engineering - 1.8.2-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Tue Jul 08 2014 Rex Dieter 1.8.2-11 - optimize/update scriptlets * Sat Jun 07 2014 Fedora Release Engineering - 1.8.2-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Fri May 23 2014 Petr Machata - 1.8.2-9 - Rebuild for boost 1.55.0 * Wed Nov 27 2013 Rex Dieter - 1.8.2-8 - rebuild (openexr) * Sat Sep 14 2013 Bruno Wolff III - 1.8.2-7 - Rebuild for ilmbase related soname bumps * Sat Aug 03 2013 Fedora Release Engineering - 1.8.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Sat Jul 27 2013 pmachata@redhat.com - 1.8.2-5 - Rebuild for boost 1.54.0 * Sun Mar 10 2013 Rex Dieter - 1.8.2-4 - rebuild (OpenEXR) * Sun Feb 10 2013 Denis Arnaud - 1.8.2-3 - Rebuild for Boost-1.53.0 * Sat Feb 09 2013 Denis Arnaud - 1.8.2-2 - Rebuild for Boost-1.53.0 * Thu Oct 11 2012 Nicolas Chauvet - 1.8.2-1 - Update to 1.8.2 * Sun Aug 12 2012 Kevin Fenzi - 1.8.1-3 - Rebuild for new boost, update boost filesystem to 3 * Wed Jul 18 2012 Fedora Release Engineering - 1.8.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Tue Apr 03 2012 Nicolas Chauvet - 1.8.1-1 - Update to 1.8.1 * Tue Mar 06 2012 Nicolas Chauvet - 1.8.0-1 - Update to 1.8.0 * Tue Feb 28 2012 Fedora Release Engineering - 1.6.0-15 - Rebuilt for c++ ABI breakage * Thu Jan 12 2012 Fedora Release Engineering - 1.6.0-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Sun Nov 20 2011 Nicolas Chauvet - 1.6.0-13 - Rebuilt for boost 1.48 * Sat Jul 23 2011 Nicolas Chauvet - 1.6.0-12 - Rebuild for boost * Fri May 27 2011 Nicolas Chauvet - 1.6.0-11 - Rebuild for new fltk * Sat Apr 09 2011 Nicolas Chauvet - 1.6.0-9 - rebuilt * Tue Mar 29 2011 Nicolas Chauvet - 1.6.0-8 - Update to current bugfix - Disable tinyxml * Mon Feb 07 2011 Fedora Release Engineering - 1.6.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Fri Feb 4 2011 Petr Machata - 1.6.0-6 - Rebuild for boost - Request v2 of boost::filesystem. The new boost defaults to v3 - Include on a couple places * Thu Jul 29 2010 Bill Nottingham - 1.6.0-5 - Rebuild for boost * Sat Jan 16 2010 Nicolas Chauvet - 1.6.0-4 - Rebuild for boost * Mon Oct 19 2009 kwizart < kwizart at gmail.com > - 1.6.0-3 - Minor updates to SPEC file by Leon Tony Atkinson - * Sat Oct 17 2009 kwizart < kwizart at gmail.com > - 1.6.0-1 - Update to 1.6.0 * Fri Jul 24 2009 Fedora Release Engineering - 1.4.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Tue May 12 2009 kwizart < kwizart at gmail.com > - 1.4.2-5 - Rebuild for boost on F-12 * Mon Feb 23 2009 Fedora Release Engineering - 1.4.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Thu Feb 12 2009 kwizart < kwizart at gmail.com > - 1.4.2-3 - Fix and Rebuild for gcc44 * Tue Feb 3 2009 kwizart < kwizart at gmail.com > - 1.4.2-2 - Backport piqsl problem with libtiff - Fix unappropriate use of xdg-tools #481352 * Tue Jan 27 2009 kwizart < kwizart at gmail.com > - 1.4.2-1 - Update to 1.4.2 * Fri Dec 19 2008 kwizart < kwizart at gmail.com > - 1.4.1-6 - Improve -core summary - #477134 * Thu Dec 18 2008 kwizart < kwizart at gmail.com > - 1.4.1-5 - Rebuild for boost * Tue Oct 28 2008 kwizart < kwizart at gmail.com > - 1.4.1-4 - Add Requires(post/preun): xdg-utils * Wed Oct 8 2008 kwizart < kwizart at gmail.com > - 1.4.1-3 - backport gcc43 fix for bake.cpp * Wed Oct 8 2008 kwizart < kwizart at gmail.com > - 1.4.1-2 - backport patch for intsize problem * Mon Sep 29 2008 kwizart < kwizart at gmail.com > - 1.4.1-1 - Update to 1.4.1 * Fri Jul 25 2008 kwizart < kwizart at gmail.com > - 1.4.0-1 - Update to 1.4.0 * Mon Jan 7 2008 kwizart < kwizart at gmail.com > - 1.2.0-7 - Fix gcc43 * Mon Oct 15 2007 kwizart < kwizart at gmail.com > - 1.2.0-6 - Rebuild * Tue Aug 14 2007 kwizart < kwizart at gmail.com > - 1.2.0-5 - Update the license field to GPLv2 * Sun Mar 4 2007 kwizart < kwizart at gmail.com > - 1.2.0-4 - Fix ownership for /etc/aqsis directory * Sun Mar 4 2007 kwizart < kwizart at gmail.com > - 1.2.0-3 - Make comments * Fri Mar 2 2007 kwizart < kwizart at gmail.com > - 1.2.0-2 - Disable pdiff (PerceptualDiff) to prevent conflicts with a2ps (PrintDiff) * Wed Feb 28 2007 kwizart < kwizart at gmail.com > - 1.2.0-1 - Update to final 1.2.0 - fix some libdir - change aqsis config file to sysconfdir/aqsis - Enable x86_64 build - Enable third-party pdiff utility * Fri Jan 19 2007 Tobias Sauerwein 1.2.0-0.8.svn738 - Updated to the latest SVN * Thu Jan 18 2007 Tobias Sauerwein 1.2.0-0.7.alpha2 - added modifications by kwizart < kwizart at gmail.com > - fix x86_64 build (experimental) - fix wrong-end of line encoding in debug - fix script-without-shebang in debug * Thu Jan 18 2007 Tobias Sauerwein 1.2.0-0.2.alpha2 - Excluded x86_64 for now * Mon Jan 15 2007 Tobias Sauerwein 1.2.0-0.1.alpha2 - Moved mpanalyse.py to shared * Sat Jan 13 2007 Tobias Sauerwein 1.2.0-0.4.alpha1 - Shared libs mod * Sat Dec 23 2006 Tobias Sauerwein 1.2.0-0.3.alpha1 - More tuning to meet Fedora-Extras requirements * Thu Dec 21 2006 Tobias Sauerwein 1.2.0-0.2.alpha1 - Some cleanup for a Fedora-only spec * Thu Dec 14 2006 Tobias Sauerwein 1.2.0-0.1.alpha1 - More clean-up/optimisation.. * Mon Dec 11 2006 Leon Tony Atkinson 1.1.0-3 - Added Fedora (Core 5 tested) and OpenSUSE (10.2 tested) support to SPEC file. - Cleaned-up/optimised SPEC file. * Sat Dec 09 2006 Leon Tony Atkinson 1.1.0-2 - Added Mandriva (2006 tested) support to SPEC file. * Wed Nov 22 2006 Tobias Sauerwein 1.1.0-1 - Initial RPM/SPEC.