File alembic.spec of Package alembic
#
# spec file for package alembic
#
# Copyright (c) 2019 SUSE LLC
# Copyright (c) 2019 LISA GmbH, Bingen, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define libname libAlembic1_7
Name: alembic
Version: 1.7.12
Release: 0
Summary: Computer graphics interchange framework
License: BSD-3-Clause
Group: Development/Libraries/C and C++
URL: https://www.alembic.io
Source: https://github.com/%{name}/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: cmake >= 2.8.6
BuildRequires: gcc-c++
BuildRequires: pkgconfig
BuildRequires: pkgconfig(OpenEXR)
BuildRequires: pkgconfig(zlib)
%description
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 -n %{libname}
Summary: Sparse volume data structure library
Group: System/Libraries
%description -n %{libname}
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 alembic
Group: Development/Libraries/C and C++
Requires: %{libname} = %{version}
%description devel
This package contains the C++ header files and symbolic links to the shared
libraries for %{name}. If you would like to develop programs using %{name},
you will need to install %{name}-devel.
%prep
%setup -q
%build
%cmake \
-DALEMBIC_LIB_INSTALL_DIR=%{_libdir} \
-DUSE_ARNOLD=OFF \
-DUSE_BINARIES=OFF \
-DUSE_TESTS=OFF
make %{?_smp_mflags}
%install
%cmake_install
rm -r %{buildroot}/usr/lib/cmake
%post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig
%files -n %{libname}
%license LICENSE.txt
%{_libdir}/*.so.*
%files devel
%{_includedir}/Alembic
%{_libdir}/*.so
%doc ACKNOWLEDGEMENTS.txt FEEDBACK.txt NEWS.txt README.txt
%changelog