## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # Force out of source build %undefine __cmake_in_source_build #%%global prerelease _beta2 # TODO: # Python Module Name: alembic Version: 1.8.8 Release: %autorelease Summary: Open framework for storing and sharing scene data License: BSD-3-Clause AND BSL-1.0 URL: http://alembic.io/ Source0: https://github.com/%{name}/%{name}/archive/%{version}%{?prerelease}.tar.gz#/%{name}-%{version}%{?prerelease}.tar.gz BuildRequires: boost-devel BuildRequires: cmake >= 3.13 BuildRequires: gcc-c++ BuildRequires: hdf5-devel BuildRequires: cmake(Imath) BuildRequires: pkgconfig(zlib) %description Alembic is an open computer graphics interchange framework. Alembic distills complex, animated scenes into a non-procedural, application-independent set of baked geometric results. This 'distillation' of scenes into baked geometry is exactly analogous to the distillation of lighting and rendering scenes into rendered image data. %package libs Summary: Core Alembic libraries %description libs Alembic is an open computer graphics interchange framework. Alembic distills complex, animated scenes into a non-procedural, application-independent set of baked geometric results. This 'distillation' of scenes into baked geometry is exactly analogous to the distillation of lighting and rendering scenes into rendered image data. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} Requires: cmake%{?_isa} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %autosetup -p1 -n %{name}-%{version}%{?prerelease} sed -i -e 's/ConfigPackageLocation lib/ConfigPackageLocation %{_lib}/g' \ lib/Alembic/CMakeLists.txt iconv -f iso8859-1 -t utf-8 ACKNOWLEDGEMENTS.txt > ACKNOWLEDGEMENTS.txt.conv && \ mv -f ACKNOWLEDGEMENTS.txt.conv ACKNOWLEDGEMENTS.txt %build export CXXFLAGS="%{optflags} -Wl,--as-needed" %cmake %{?_cmake_skip_rpath} \ -DALEMBIC_LIB_INSTALL_DIR=%{_libdir} \ -DALEMBIC_SHARED_LIBS=ON \ -DCMAKE_CXX_STANDARD=17 \ -DUSE_BINARIES=ON \ -DUSE_HDF5=ON \ -DUSE_EXAMPLES=ON \ -DUSE_PYALEMBIC=OFF \ -DUSE_STATIC_BOOST=OFF \ -DUSE_STATIC_HDF5=OFF \ -DUSE_TESTS=ON %cmake_build %install %cmake_install %files %{_bindir}/abcconvert %{_bindir}/abcdiff %{_bindir}/abcecho %{_bindir}/abcechobounds %{_bindir}/abcls %{_bindir}/abcstitcher %{_bindir}/abctree %files libs %license LICENSE.txt %doc ACKNOWLEDGEMENTS.txt FEEDBACK.txt NEWS.txt README.txt %{_libdir}/libAlembic.so.* %files devel %{_includedir}/Alembic %{_libdir}/cmake/Alembic %{_libdir}/libAlembic.so %changelog ## START: Generated by rpmautospec * Sun Dec 08 2024 Luya Tshimbalanga - 1.8.8-1 - Update to 1.8.8 (#2330051) * Fri Oct 25 2024 Orion Poplawski - 1.8.7-2 - Rebuild for hdf5 1.14.5 * Mon Oct 07 2024 Luya Tshimbalanga - 1.8.7-1 - Update to 1.8.7 (rhbz#2316914) * Wed Jul 17 2024 Fedora Release Engineering - 1.8.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sun Feb 18 2024 Luya Tshimbalanga - 1.8.6-1 - Update to 1.8.6 (rhbz#2178169) * Mon Jan 22 2024 Fedora Release Engineering - 1.8.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 1.8.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Jul 19 2023 Fedora Release Engineering - 1.8.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Mar 14 2023 Luya Tshimbalanga - 1.8.5-1 - Update to 1.8.5 (#2178169) * Wed Jan 18 2023 Fedora Release Engineering - 1.8.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Wed Jul 20 2022 Fedora Release Engineering 1.8.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jan 19 2022 Fedora Release Engineering 1.8.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sun Nov 21 2021 Orion Poplawski 1.8.3-2 - Rebuild for hdf5 1.12.1 * Sun Sep 12 2021 Luya Tshimbalanga 1.8.3-1 - Update to 1.8.3 * Sat Aug 21 2021 Richard Shaw 1.8.2-6 - Rebuild for OpenEXR/Imath 3.1. * Tue Aug 10 2021 Orion Poplawski 1.8.2-5 - Rebuild for hdf5 1.10.7 * Wed Jul 21 2021 Fedora Release Engineering 1.8.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jul 21 2021 Fedora Release Engineering 1.8.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild ## END: Generated by rpmautospec