diff --git a/.gitignore b/.gitignore index e69de29..fa5c39f 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,26 @@ +/alembic-1.7.1.tar.gz +/alembic-1.7.2.tar.gz +/alembic-1.7.3.tar.gz +/alembic-1.7.4.tar.gz +/alembic-1.7.5.tar.gz +/alembic-1.7.6.tar.gz +/alembic-1.7.7.tar.gz +/alembic-1.7.8.tar.gz +/alembic-1.7.11.tar.gz +/alembic-1.7.12.tar.gz +/alembic-1.7.11-0002-Find-IlmBase-by-setting-a-proper-ILMBASE_ROOT-value.patch +/alembic-1.7.13.tar.gz +/alembic-1.7.15.tar.gz +/alembic-1.7.16.tar.gz +/alembic-1.8.0_beta2.tar.gz +/alembic-1.8.0.tar.gz +/alembic-1.8.1.tar.gz +/alembic-1.8.2.tar.gz +/alembic-1.8.3.tar.gz +/alembic-1.8.4.tar.gz +/alembic-1.8.5.tar.gz +/alembic-1.8.6.tar.gz +/alembic-1.8.7.tar.gz +/alembic-1.8.8.tar.gz +/alembic-1.8.9.tar.gz +/alembic-1.8.10.tar.gz diff --git a/alembic.spec b/alembic.spec new file mode 100644 index 0000000..4f9b621 --- /dev/null +++ b/alembic.spec @@ -0,0 +1,97 @@ +# Force out of source build +%undefine __cmake_in_source_build +#%%global prerelease _beta2 +# TODO: +# Python Module + +Name: alembic +Version: 1.8.10 +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}-libs%{?_isa} = %{version}-%{release} +Requires: cmake%{?_isa} +Requires: imath-devel%{?_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 +%autochangelog diff --git a/changelog b/changelog new file mode 100644 index 0000000..a1518a4 --- /dev/null +++ b/changelog @@ -0,0 +1,23 @@ +* 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 diff --git a/sources b/sources index e69de29..c42304e 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +SHA512 (alembic-1.8.10.tar.gz) = 0be292e9d75560891d38129eb2672c55475b29b33f265dd51396dfa7b530c92ac6dfdb05a4432ad1b6919e2c151068560eb04efb8d9b0c2a14f77ab489d3542c