8f5d73a
# TODO:
8f5d73a
# Python Module
8f5d73a
71e54fd
Name:           alembic
8f5d73a
Version:        1.7.8
8f5d73a
Release:        1%{?dist}
71e54fd
Summary:        Open framework for storing and sharing scene data
71e54fd
License:        BSD
71e54fd
URL:            http://alembic.io/
71e54fd
71e54fd
Source0:        https://github.com/%{name}/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
71e54fd
71e54fd
BuildRequires:  cmake
aabc77e
BuildRequires:	gcc-c++
71e54fd
BuildRequires:  hdf5-devel
71e54fd
BuildRequires:  OpenEXR-devel
71e54fd
BuildRequires:  zlib-devel
71e54fd
71e54fd
%description
71e54fd
Alembic is an open computer graphics interchange framework. Alembic distills
71e54fd
complex, animated scenes into a non-procedural, application-independent set of
71e54fd
baked geometric results. This 'distillation' of scenes into baked geometry is
71e54fd
exactly analogous to the distillation of lighting and rendering scenes into
71e54fd
rendered image data.
71e54fd
71e54fd
%package        libs
71e54fd
Summary:        Core Alembic libraries
71e54fd
71e54fd
%description    libs
71e54fd
Alembic is an open computer graphics interchange framework. Alembic distills
71e54fd
complex, animated scenes into a non-procedural, application-independent set of
71e54fd
baked geometric results. This 'distillation' of scenes into baked geometry is
71e54fd
exactly analogous to the distillation of lighting and rendering scenes into
71e54fd
rendered image data.
71e54fd
71e54fd
%package        devel
71e54fd
Summary:        Development files for %{name}
71e54fd
Requires:       %{name}%{?_isa} = %{version}-%{release}
71e54fd
Requires:       cmake%{?_isa}
71e54fd
71e54fd
%description    devel
71e54fd
The %{name}-devel package contains libraries and header files for developing
71e54fd
applications that use %{name}.
71e54fd
71e54fd
%prep
71e54fd
%autosetup -p1
71e54fd
8f5d73a
sed -i -e 's/ConfigPackageLocation lib/ConfigPackageLocation %{_lib}/g' \
71e54fd
    lib/Alembic/CMakeLists.txt
71e54fd
ae65b98
iconv -f iso8859-1 -t utf-8 ACKNOWLEDGEMENTS.txt > ACKNOWLEDGEMENTS.txt.conv && \
ae65b98
    mv -f ACKNOWLEDGEMENTS.txt.conv ACKNOWLEDGEMENTS.txt
ae65b98
71e54fd
mkdir build
71e54fd
71e54fd
%build
71e54fd
pushd build
ae65b98
export CXXFLAGS="%{optflags} -Wl,--as-needed"
ae65b98
%cmake %{?_cmake_skip_rpath} \
8f5d73a
    -DALEMBIC_LIB_INSTALL_DIR=%{_libdir} \
71e54fd
    -DALEMBIC_SHARED_LIBS=ON \
71e54fd
    -DUSE_BINARIES=ON \
71e54fd
    -DUSE_HDF5=ON \
71e54fd
    -DUSE_EXAMPLES=ON \
71e54fd
    -DUSE_PYALEMBIC=OFF \
71e54fd
    -DUSE_STATIC_BOOST=OFF \
71e54fd
    -DUSE_STATIC_HDF5=OFF \
71e54fd
    -DUSE_TESTS=ON \
71e54fd
    ..
71e54fd
71e54fd
%make_build
71e54fd
popd
71e54fd
71e54fd
%install
71e54fd
pushd build
71e54fd
%make_install
71e54fd
popd
71e54fd
71e54fd
%post libs -p /sbin/ldconfig
71e54fd
71e54fd
%postun libs -p /sbin/ldconfig
71e54fd
71e54fd
%files
71e54fd
%{_bindir}/abcconvert
71e54fd
%{_bindir}/abcdiff
71e54fd
%{_bindir}/abcecho
71e54fd
%{_bindir}/abcechobounds
71e54fd
%{_bindir}/abcls
71e54fd
%{_bindir}/abcstitcher
71e54fd
%{_bindir}/abctree
71e54fd
71e54fd
%files libs
71e54fd
%license LICENSE.txt
71e54fd
%doc ACKNOWLEDGEMENTS.txt FEEDBACK.txt NEWS.txt README.txt
71e54fd
%{_libdir}/libAlembic.so.*
71e54fd
71e54fd
%files devel
71e54fd
%{_includedir}/Alembic
71e54fd
%{_libdir}/cmake/Alembic
71e54fd
%{_libdir}/libAlembic.so
71e54fd
71e54fd
%changelog
8f5d73a
* Tue Jul 17 2018 Simone Caronni <negativo17@gmail.com> - 1.7.8-1
8f5d73a
- Update to 1.7.8.
8f5d73a
7f81c74
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.7-2
7f81c74
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
7f81c74
d84aa9c
* Tue Mar 27 2018 Luya Tshimbalanga <luya@fedoraproject.org> - 1.7.7-1
d84aa9c
- Update to 1.7.7
d84aa9c
b84751f
* Sat Mar 24 2018 Luya Tshimbalanga <luya@fedoraproject.org> - 1.7.6-1
b84751f
- Update to 1.7.6
b84751f
aabc77e
* Sun Mar 04 2018 Luya Tshimbalanga <luya@fedoraproject.org> - 1.7.5-3
aabc77e
- Added gcc-c++ dependency for BuildRequires
aabc77e
3bb1089
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.5-2
3bb1089
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
3bb1089
21abde1
* Mon Dec 25 2017 Luya Tshimbalanga <luya@fedoraproject.org> - 1.7.5-1
21abde1
- Update to 1.7.5.
21abde1
02528a3
* Sat Oct 28 2017 Luya Tshimbalanga <luya@fedoraproject.org> - 1.7.4-1
02528a3
- Update to 1.7.4.
02528a3
50ba1a7
* Mon Sep 11 2017 Simone Caronni <negativo17@gmail.com> - 1.7.3-1
50ba1a7
- Update to 1.7.3.
50ba1a7
6d12101
* Sun Aug 06 2017 Björn Esser <besser82@fedoraproject.org> - 1.7.2-4
6d12101
- Rebuilt for AutoReq cmake-filesystem
6d12101
c56e870
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.2-3
c56e870
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
c56e870
ade614d
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.2-2
ade614d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
ade614d
903df37
* Sun Jul 23 2017 Simone Caronni <negativo17@gmail.com> - 1.7.2-1
903df37
- Update to 1.7.2.
903df37
85800c9
* Tue May 09 2017 Simone Caronni <negativo17@gmail.com> - 1.7.1-3
85800c9
- Link to hdf5 libraries, fixes undefined references on some architectures.
85800c9
ae65b98
* Sat May 06 2017 Simone Caronni <negativo17@gmail.com> - 1.7.1-2
ae65b98
- Review fixes.
ae65b98
71e54fd
* Mon Apr 24 2017 Simone Caronni <negativo17@gmail.com> - 1.7.1-1
71e54fd
- First build.